87 Commits

Author SHA1 Message Date
Francisco Javier Trujillo Mata
1eeb3dcf30 Adapt PS2 port to new SDK with newlib support (CDVDFS support is missing) 2020-05-20 20:13:19 +02:00
twinaphex
89c7d1a835 Update libretro-common 2020-05-14 09:27:58 +02:00
Vladimir Serbinenko
cab004f08a cpu_features_get_time_usec: Use sceKernelGetSystemTimeWide on PSP and Vita 2020-05-13 11:20:40 +02:00
Vladimir Serbinenko
31d9fedf47 cpu_features_get_time_usec: Use monotonic_clock on djgpp 2020-05-12 22:55:15 +02:00
Vladimir Serbinenko
306fed32f6 Fix djgpp clock 2020-05-12 03:09:38 +02:00
Charlène Wendling
0e4857c8f6 Remove OpenBSD/macppc specific quirk
OpenBSD/macppc moved to clang and __mftb() is not available anymore,
leading to undefined references errors. It's fixed with #10383 already.
2020-04-26 14:13:59 +02:00
Vladimir Serbinenko
c957e07399 Fix psl1ght compilation
pkg.py is not necessatily in path
mftb works better than posix on psl1ght
2020-04-09 15:53:38 +02:00
Greg V
f9ae48c3f6 features_cpu: synchronize ifdefs for CLOCK_MONOTONIC
The ifdef in cpu_features_get_time_usec was more portable
than the one in cpu_features_get_perf_counter.

Make them the same to avoid 'undefined reference to __mftb'
on FreeBSD/powerpc64.
2020-04-02 15:09:49 +03:00
Vladimir Serbinenko
2fb7ba22e5 PSL1GHT port
Working:

* packaging
* running cores
* switching cores
* gamepad including axis
* rgui
* audio
* video

Not working:

* OSD
* menus other than rgui
* shaders
* Graphical acceleration
* Proper signing
* ODE build
* rumble
* keyboard
* mouse

Not tested:

* A lot
2020-03-30 05:39:22 +02:00
Alcaro
472fe9a991
Avoid overflow when calculating multiplying performance counter 2020-02-28 18:07:00 +01:00
twinaphex
cd9ca691ca (libretro-common) Update copyright 2020-01-31 15:43:42 +01:00
twinaphex
a034909ae9 Cleanups 2020-01-30 16:35:59 +01:00
twinaphex
eb4e365820 (libretro-common) Cleanups 2020-01-27 17:00:18 +01:00
Charlène
3038e9e1ce OpenBSD/powerpc: fix "undefined reference to __mftb" 2019-11-12 22:24:35 +01:00
Twinaphex
d09362ed6f (OSX) Silence warnings for OSX 2019-09-18 10:04:21 +02:00
twinaphex
922680851a (features_cpu) noticed that the buffer wasn't actually being used,
so it can go
2019-09-18 08:37:35 +02:00
Huw Pascoe
fed06044c4 silence warnings 2019-04-12 17:32:11 +01:00
Twinaphex
052137b027 (OSX) Silence warnings 2019-04-03 13:31:45 +02:00
Francisco Javier Trujillo Mata
adf2743464 Implement CDFS and custom file descriptor support 2019-03-15 20:19:14 +01:00
Brad Parker
1c9ac4e825 osx: add cpu model name 2019-02-23 17:29:08 -05:00
Brad Parker
1d0a9262ae osx buildfix 2019-02-23 16:57:11 -05:00
Brad Parker
e22148fed4 show cpu model name in log, implemented for x86/64 on windows/linux so far 2019-02-23 16:50:42 -05:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
natinusala
52479ad09f libnx: implement perf counters 2019-01-11 17:45:06 +01:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
Francisco Javier Trujillo Mata
d5a8c30dfe PS2 Timing Improvement 2019-01-05 18:47:39 +01:00
twinaphex
9c5c0aea58 Start replacing WinRT ifdefs so that Windows Phone 8 can be detected
too
2019-01-02 13:30:58 +01:00
krzys-h
2c4d2418d6 (UWP) Fix ARM builds 2019-01-01 16:21:47 +01:00
twinaphex
6b35e8d4f6 (UWP) Implement cpu_features_get_core_amount 2018-12-30 22:13:55 +01:00
Francisco Javier Trujillo Mata
99b77a2c9c Copied from core compat string methods 2018-11-09 22:40:51 +01:00
Francisco Javier Trujillo Mata
17d30f9dd5 Use SDL timer for counters and sleep the thread 2018-11-09 22:40:51 +01:00
Francisco Javier Trujillo Mata
0880bd00b0 PS2 is compiling with null drivers 2018-11-09 22:40:50 +01:00
Nathan Strong
0900f08696 Wii U: Fix menu lag when built with DevKitPro r32
== DETAILS

Updates to the newlib library bundled with DevKitPro have caused
incorrect behavior in `cpu_features_get_time_usec()`. Specifically,
it defines `_POSIX_MONTONIC_CLOCK` which results in calling newlib's
time functions which are.. buggy, at least on Wii U.

By moving the WIIU case higher up, we end up calling the actual
Wii U time library routines, and get nice snappy animations as a
result.

== TESTING
I tested this locally on my wiiu and confirmed resolved menu sluggishness.
2018-09-23 17:26:45 -07:00
twinaphex
517b1b9089 Add HAVE_LIBNX ifdefs to switch_input.c/switch_joypad.c, and
features_cpu.c
2018-09-12 19:54:51 +02:00
twinaphex
768ebbfdb5 Merge commit 'ce9ce1d35387ef8144e53bf071396fa075bfb6c5' as 'libretro-common' 2018-05-12 17:56:34 +02:00
twinaphex
0548349991 Remove libretro-common 2018-05-12 17:56:14 +02:00
twinaphex
46f7742afc Some early WinRT commits 2018-05-09 16:13:29 +02:00
twinaphex
be7eb4de1c Update libretro-common 2018-04-16 08:57:17 +02:00
misson20000
22c95b31ea NSW: cpu_features_get_time_usec: put SWITCH block before POSIX_MONOTONIC_CLOCK block 2018-03-05 20:23:49 -08:00
twinaphex
175672dedc Fix ifdef 2018-02-17 20:02:18 +01:00
twinaphex
064ea5368e (Xbox 1) Add SSE/MMX 2018-02-17 19:59:26 +01:00
twinaphex
ba0986ae20 Enable this for newer versions of MSVC 2018-01-24 10:02:07 +01:00
aliaspider
c5de5d9433 (msvc) support msvc's Predefined Macros in features_cpu.c
- add missing defines to makefile.msvc.
2018-01-23 19:35:39 +01:00
meepingsnesroms
7ac985e9be Add all xmb menu options to rgui and glui, 3ds warning fix, move start directory to top of load content 2018-01-01 10:38:16 -08:00
Twinaphex
6c08ceacb9
Merge pull request #5995 from meepingsnesroms/master
Fix new 3ds xl not being detected, others
2017-12-30 05:25:46 +01:00
meepingsnesroms
d18ee7eaed Fix new 3ds xl not being detected, others
Also fixes whitespace in makefile and platform_ctr.c and compiles with debug libctru when DEBUG=1
2017-12-29 19:30:54 -08:00
Twinaphex
ba8b5749ac
Merge pull request #5985 from meepingsnesroms/master
Basic networking for 3DS, bug fixes
2017-12-29 06:56:45 +01:00
meepingsnesroms
7dbaa45172 Basic networking, bug fixes
Fix CPU count bug, make 3ds compile with networking
2017-12-28 21:49:21 -08:00
misson20000
6d2a7b1f26 Nintendo Switch (libtransistor) port 2017-12-29 00:10:01 +01:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00