Lior Halphon
2a034d4ebe
Merge pull request #444 from realnc/fix-audio-perf
...
Libretro: Batch upload audio to frontend after video upload
2022-04-15 00:57:12 +03:00
Lior Halphon
019f262531
Fix RetroAchievements support ( Closes #448 )
2022-04-10 11:24:42 +03:00
Nikos Chantziaras
9e8f918b27
Libretro: Batch upload audio to frontend after video upload
...
Uploading audio at the end of retro_run() with
retro_audio_sample_batch_t instead of using retro_audio_sample_t to
submit samples as they are generated has peformance benefits when using
low audio latency settings. Frontends that implement audio sync and DRC
(like RetroArch) will block for a long time when submitting audio. This
can cause video frame presentation to be delayed too long. Low audio
latency settings make it worse, as DRC and audio sync is performed more
often, creating a bottleneck.
Simply accumulating all generated audio samples and uploading them at
the end with retro_audio_sample_batch_t improves things condiderably.
2022-04-02 08:51:39 +03:00
Lior Halphon
a7f7530eed
Preparation for future AGB-0 and B support
2022-01-30 18:11:35 +02:00
Lior Halphon
f237b1e9b9
CGB-0 support
2021-11-04 00:35:44 +02:00
Lior Halphon
c7e8d7fa13
Minor cleanup
2021-07-29 23:19:13 +03:00
Lior Halphon
6138833b28
Style fixes
2021-07-29 23:03:36 +03:00
Ryunam
e1453f1961
[Libretro] Upgrade Core Options to v1.3
2021-06-26 23:40:22 +02:00
Lior Halphon
94add1d172
Add "Harsh Reality" color correction mode
2021-06-25 19:57:56 +03:00
Lior Halphon
3ed18a76da
Added optional OSD (Cocoa)
2021-05-30 20:55:04 +03:00
Rob Loach
6a995bfe10
libretro: Sync updates from libretro
2021-02-28 09:45:18 -05:00
Lior Halphon
34b0404ffa
Add RTC setting to libretro
2021-02-26 01:07:46 +02:00
Lior Halphon
bdd27ce50d
IR support in the libretro port
2020-11-21 15:36:21 +02:00
SimpleTease
696bebc673
libretro: joypad bitmasks
2020-10-10 17:14:53 +00:00
SimpleTease
cd526d960e
libretro: changing model requires manual game restart
2020-10-10 04:00:30 +00:00
Lior Halphon
4a51f5c956
Cherry-picking libretro memory map bugfix ( Closes #227 , #205 ). Fixing libretro build with modern macOS SDKs.
2020-06-09 20:09:50 +03:00
Lior Halphon
0200596391
Fix #256
2020-05-10 22:05:47 +03:00
Lior Halphon
620ee3cf51
Make the libretro frontend not crash on rumble-less frontends
2020-05-07 23:43:49 +03:00
Lior Halphon
e5302a9b1e
Set sane libretro defaults, add border settings ( Closes #203 ), general libretro cleanup
2020-05-01 23:42:08 +03:00
Lior Halphon
5a56c3b882
Style fixes
2020-05-01 16:03:26 +03:00
Lior Halphon
ea18ba9335
Add rumble settings to libretro
2020-05-01 15:50:22 +03:00
Lior Halphon
05cf3656b8
Fix libretro
2020-04-29 16:58:38 +03:00
Lior Halphon
5a14eb93c6
Merge branch 'master' into JoyKit
...
# Conflicts:
# Cocoa/Document.m
# Cocoa/GBView.h
# Cocoa/GBView.m
# Cocoa/joypad.m
# Cocoa/main.m
# Core/display.c
# Core/gb.h
# Core/save_state.c
2020-04-29 15:52:03 +03:00
Lior Halphon
0cf168f32b
Fixing inconsistent style
2020-04-24 20:37:57 +03:00
Lior Halphon
e94e7cc501
Add another color correction mode
2020-03-25 20:33:13 +02:00
Lior Halphon
0737655753
Merge branch 'master' into JoyKit
2020-01-03 23:42:25 +02:00
retro-wertz
436dc0b67a
Fix GBC memory map and add IO port range for cheevos
2019-11-21 22:53:11 -05:00
Lior Halphon
0ece21bca7
Replace the SDL-derived controller support with my own JoyKit framework. Adds rumble support, LED support, better manual and automatic configurations, analog speed controls.
2019-10-19 19:26:04 +03:00
f21red
0a7a0ca5fe
libretro: sgb border option
2019-10-05 20:51:59 -05:00
f21red
c50ea6a63f
libretro: sgb color correction
2019-10-06 01:35:44 +00:00
Raphaël Zumer
1a263a3acc
Fix GBC memory map and add IO port range for cheevos
2019-07-19 16:55:59 -04:00
Lior Halphon
597dc72e46
Fix audio issues with some RetroArch audio drivers. Fixes #189
2019-07-18 00:13:41 +03:00
Lior Halphon
50a6a3e35c
Fix libretro SGB1 FPS, fix un/serialization memory corruptions in libretro
2019-06-19 23:49:43 +03:00
Lior Halphon
e268efefef
Redesign and reimplement the audio API, let the frontends handle more stuff. Probably affects #161
2019-06-15 23:22:27 +03:00
funbars
4a54985441
fix libretro log interface
2019-05-10 15:50:16 -05:00
Raphaël Zumer
f8244c8119
Update libretro GBC memory map
2019-04-15 16:39:14 -04:00
Raphaël Zumer
b3939e8fdc
Add static GBC RAM banks to libretro memory map
2019-04-06 16:58:49 -04:00
trinemark
d4e8a886c5
Fix libretro achievements
...
https://github.com/LIJI32/SameBoy/issues/48
https://github.com/LIJI32/SameBoy/issues/157
2019-04-05 22:35:52 -05:00
Lior Halphon
936afedb4b
Merge commit '57b0fe7fed8e8218d7c890cd40dea4fa93f121a5'
2019-03-15 14:36:31 +02:00
Lior Halphon
c342663200
Emulate serial bit shifting, update the serial API to use bits instead of bytes, update printer emulation and libretro to use the new API
2019-03-15 14:36:10 +02:00
radius
57b0fe7fed
fix input
2019-03-12 19:54:26 -05:00
radius
68a72037fa
add 4p support too
2019-01-17 20:33:20 -05:00
radius
10547a6d74
hookup up 2 player SGB
2019-01-17 19:44:58 -05:00
radius
e2d9a353a0
remove single_dual mode, code cleanup
2019-01-14 23:11:42 -05:00
radius
c266e4045b
try to hookup sgb2
2019-01-14 23:11:42 -05:00
radius
ca8426ea60
update libretro core
2019-01-14 23:11:42 -05:00
radius
792b45d5dd
don't reinit on audio filter change or color correction
2018-11-05 18:59:44 -05:00
Lior Halphon
96e9ea2d1e
Fix libretro RTC support. Fixes #41
2018-11-03 13:18:08 +02:00
Lior Halphon
9ffeef88d5
Trying to fix libretro achievements ( #48 )
2018-10-27 17:19:53 +03:00
radius
d6879c4f8a
libretro: allow changing model at runtime again, also do not reset both gameboys on model change in dual mode
2018-06-16 11:06:00 -05:00