Vladimir Serbinenko
c11a798467
Series of djgpp fixes ( #13705 )
...
* features_cpu: Fix clock for djgpp
* frontend_dos_set_fork: Fix wrong id names
* dos_input: Fix missing indexing
* dos_joypad: Fix wrong id name
* Fix menu drawing
Menu is already prescaled to VGA_WIDTH x VGA_HEIGHT in vga_menu_frame. We need
to always use those dimensions
* Change dos compilation from griffin to common
* Set vga menu size to 320x200
* Add DOS compilation in gitlab-ci.yml
2022-03-05 15:53:18 +01:00
David CARLIER
6f898e611c
cpu detection detection vfp unit for Darwin.
2021-04-24 22:58:14 +01:00
David CARLIER
2932a835fc
Mac intel and arm64 timer change proposal.
2021-04-20 21:38:01 +01:00
twinaphex
46a37b9bd9
Silence some warnings
2021-04-16 17:55:19 +02:00
David CARLIER
7cbee3dc8f
run fast mode disable for 64 bits invalid instructions.
2021-04-16 08:33:01 +01:00
twinaphex
9c0f272591
Buildfix for PPC Mac
2020-12-29 06:50:52 +01:00
twinaphex
c03e6c6c38
Put this behind Powerpc/powerpc64 ifdefs
2020-12-29 06:22:06 +01:00
twinaphex
71efd8ae6e
Add powerpc64 defines
2020-12-28 15:45:53 +01:00
twinaphex
b1af12efc9
Add more PSL1GHT ifdefs
2020-12-27 18:56:00 +01:00
twinaphex
870707dbe8
Remove obsolete __CELLOS_LV2__ references - use PSL1GHT instead
2020-12-19 15:32:26 +01:00
Justin Weiss
9ae2514009
[3DS] Update to libctru 2.0
...
Set USE_CTRULIB_2=1 to build with libctru 2.0. When unset, this code
is compatible with the older toolchain.
Some 2.0 changes addressed rare problems in earlier versions:
- Save / restore stack pointer for init / exit
Otherwise, it could be outside of the range we deallocate.
- Run aptMainLoop in the audio driver to react correctly to sleep events
Other changes for 2.0:
- Remove ninjhax1 -- requires outdated APIs that have been removed
- Switch from __sync_arbiter to syncArbitrateAddress
- Use implicit gxCmdBuf
- Use gpuPresentBuffer for double buffering
2020-08-26 19:08:12 -07:00
twinaphex
4f931f2729
Use UINT32_C / UINT64_C throughout the codebase
2020-07-29 04:48:11 +02:00
twinaphex
a00ab53ef6
Put fprintfs and printfs behind ifndef NDEBUG
2020-06-17 11:22:31 +02:00
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