Commit Graph

180 Commits

Author SHA1 Message Date
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
twinaphex
9fa6a2fe92 Add MSVC2017 target - doesn't work yet 2019-01-14 23:11:42 -05:00
Lior Halphon
c74b39e712 The CPU core of the Game Boy is (most likely) called SM83 2019-01-12 00:42:16 +02: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
Lior Halphon
45c73e0175 Replaced the is_cgb bool with a more future compatible model enum. Removed the GB_init_cgb API and replaced it with an extended GB_init and GB_switch_model_and_reset APIs that now receive a model parameter. Increased the struct version. 2018-06-16 13:59:33 +03:00
webgeek1234
ebe0aa0c76 Refactor android jni makefiles (#17) 2018-04-10 21:42:04 -05:00
Lior Halphon
96063fb0da Fixed Windows build, added Unicode support in Windows. 2018-03-28 21:59:27 +03:00
Lior Halphon
2a5407cf70 Fix libretro build on master 2018-03-22 20:22:09 +02:00
radius
f050457976 fix error in savestate code 2018-03-22 00:20:51 -05:00
radius
337617afbb change sameboy emulated model selection to apply on restart (because otherwise it may crash due the change on savestate size with rewind enabled) 2018-03-22 00:00:03 -05:00
radius
007765daa6 refine variables, add comments 2018-03-19 18:25:20 -05:00
radius
b1ea7c5f06 handle saving for GB2 in single cart mode 2018-03-19 18:25:20 -05:00
radius
3b5b400909 implement RTC saves in dual mode, capitalization nitpicking in core opts 2018-03-19 18:25:20 -05:00
Lior Halphon
058913f8a2
Fixed libretro-Android build 2018-02-20 19:57:33 +02:00
Lior Halphon
220ba9ff38 Restored auto model selection in libretro. Fixed incorrect aspect ratio in libretro (Closes #30). 2018-02-10 15:41:00 +02:00
Lior Halphon
81f808e184 Refinements for the Wii U port 2018-02-10 15:02:22 +02:00
Lior Halphon
00c67f8842 Merge commit '217e9787bd640cbd1b8250e31c0064331ddc302f' 2018-02-10 14:49:57 +02:00
radius
cc296a3114 fix savefile names 2018-02-05 19:07:18 -05:00
radius
8dd94505a8 save ram handling for dual mode 2018-02-05 19:07:08 -05:00
radius
792087276e cleanup logs 2018-02-05 19:07:08 -05:00
radius
ff8a20ef04 disable this for now 2018-02-05 19:07:08 -05:00
radius
d3a67f9e19 make link cable a runtime option 2018-02-05 19:07:08 -05:00
radius
567936a21d cut code duplication a bit 2018-02-05 19:07:08 -05:00
radius
0b96df1428 readd single game link cable 2018-02-05 19:07:08 -05:00
radius
f98b71a257 rename core options 2018-02-05 19:07:07 -05:00
radius
a5b182f0fa standarize core options 2018-02-05 19:07:07 -05:00
radius
b74095a2cd set emulated devices automatically 2018-02-05 19:07:01 -05:00
radius
b169d86bf8 subsystem support 2018-02-05 19:07:01 -05:00
Tatsuya79
7459b9610c Reduce input lag by 1 frame 2018-02-05 19:06:56 -05:00
radius
a8741674ce better savestate code 2018-02-05 19:06:56 -05:00
radius
50fd7f1140 use set geometry instead 2018-02-05 19:06:56 -05:00
radius
120edb6f8c rebase from master 2018-02-05 19:06:56 -05:00
Brad Parker
ef143261e5 implement left-right screen layout option, add ASAN to Makefile 2018-02-05 19:06:55 -05:00
radius
5e04600ab1 add descriptors to P2 2018-02-05 19:06:55 -05:00
radius
408bf5baab add audio output selection 2018-02-05 19:06:55 -05:00
radius
945ee0bdb3 rename the array so it doesn't conflict with the function signature 2018-02-05 19:06:55 -05:00
radius
88dfb9a159 fix emulated model for slot 2 2018-02-05 19:06:55 -05:00
radius
457b3b3f06 change viewport size 2018-02-05 19:06:55 -05:00
radius
8b506e84fd fix changing mode between link enabled and disabled 2018-02-05 19:06:54 -05:00
radius
7ee063da28 single mode works 2018-02-05 19:06:54 -05:00
radius
f7d129bd24 separate core options for single and linked mode 2018-02-05 19:06:47 -05:00
radius
52634b8023 add layout core option 2018-02-05 19:06:42 -05:00
radius
b573fbcdc4 reduce code duplication 2018-02-05 19:06:41 -05:00
radius
49a8cd0bb5 hook up savestates for GB#2 2018-02-05 19:06:23 -05:00
radius
91816c30b5 fix gameboy synchronization thanks to @LIJI32 2018-02-05 19:06:23 -05:00
radius
45e0a75491 savefile hack for slot 2, both load from the same SRM file but gb2 doesn't save 2018-02-05 19:06:23 -05:00
radius
3b858fb6af initial link cable implementation 2018-02-05 19:06:23 -05:00
radius
ff4168b8f6 fix warning 2018-02-05 19:04:51 -05:00
radius
db0269cd3f clean whitespace 2018-02-05 18:39:25 -05:00
radius
dd7704e572 set sample rate to 44100 on WIIU 2018-02-05 18:31:31 -05:00
radius
a939fed872 cleanup whitespaces 2018-02-05 18:17:55 -05:00
radius
9a09f92032 update Android.mk 2018-02-05 18:13:36 -05:00
radius
a04646ab5b update Android.mk 2018-02-05 18:13:36 -05:00
radius
e1bd85caa6 add WiiU target 2018-02-05 18:13:35 -05:00
radius
3bd1c122c3 try to fix jni build 2018-02-05 18:13:35 -05:00
kwyxz
ede16f1d3b Allow build on Haiku target 2018-02-05 18:13:35 -05:00
Tatsuya79
9c23fe2563 Reduce input lag by 1 frame 2018-02-05 18:13:35 -05:00
radius
39c352c89b add address sanitizer support 2018-02-05 18:13:35 -05:00
radius
5660b762c0 add prebuilt roms again 2018-02-05 18:13:34 -05:00
radius
e97624ba7d fix warning 2018-02-05 18:13:34 -05:00
radius
d047897462 use the prebuilt roms 2018-02-05 18:13:34 -05:00
Lior Halphon
f3c07f1f99 Fixed a silly bug that prevented libretro automatic model selection from functioning correctly. 2018-01-31 23:58:17 +02:00
Lior Halphon
bc55531204 Added automatic model selection for the libretro port. 2018-01-27 21:46:13 +02:00
Lior Halphon
2bda598ac6 Merge commit 'ab49034205261e8e50708d097ec22151f153a801' 2018-01-27 02:16:55 +02:00
radius
b047c7a9e1 readd bootroms 2018-01-26 19:01:20 -05:00
radius
6d868c8f7c update to master 2018-01-26 18:51:39 -05:00
Lubosz Sarnecki
59fe551f26 Makefile: Add Switch target. 2018-01-22 16:58:06 +01:00
Lior Halphon
af143b0420 Added model selection to libretro, including GBA. Closes #23. 2018-01-20 00:06:33 +02:00
Lior Halphon
130c7c28c2 Re-do the way the libretro port does audio. Audio is now sent to libretro at 384KHz, which is then resampled to whatever rate the user configured. 2018-01-15 22:23:20 +02:00
radius
82e2df7a2a keep using prebuild roms for libretro 2018-01-07 20:02:36 -05:00
radius
bebb94738c Merge remote-tracking branch 'upstream/master' 2018-01-07 19:54:22 -05:00
Twinaphex
afbd62c665
Merge pull request #5 from retro-wertz/pitch
Fix pitch issue
2018-01-04 11:38:20 +01:00
Twinaphex
968399a409
Merge pull request #6 from retro-wertz/libretro_api
Access system and video ram using Librero API
2018-01-04 11:38:11 +01:00
retrowertz
acac96310b Fix target location when compiling 2018-01-04 16:46:57 +08:00
retrowertz
c578b36dfb Access system and video ram using Librero API 2018-01-04 16:43:31 +08:00
retrowertz
c0cf5646da Fix pitch issue
This issue affects when running in vulkan driver
2018-01-04 16:24:37 +08:00
Nadia Pedersen
e4fbece88f
libretro: Fix video being broken with Vulkan
This corrects the pitch parameter for the video refresh callback to be the actual pitch instead of 0.

Setting it to 0 seems to work fine for OpenGL, but it causes the graphics to be broken with Vulkan, at least with an AMD card on Linux.
2018-01-02 07:41:02 +01:00
hunterk
1272405f16 update to upstream v0.10 2017-12-30 14:33:52 -06:00
Lior Halphon
fc15b5c9f9 Remove hardcoded version from libretro.c, use version from the Makefile 2017-12-29 13:26:11 +02:00
Lior Halphon
0891de668b Merge commit '1d96a10acb661e07775de954338f4bb3724705a3' into libretro_core
# Conflicts:
#	libretro/libretro.c
2017-12-29 13:18:52 +02:00
Twinaphex
1d96a10acb
Merge pull request #2 from orbea/cxxflags
libretro: Change CXXFLAGS to CFLAGS.
2017-12-22 08:02:36 +01:00
orbea
536e47c567 libretro: Add GIT_VERSION 2017-12-21 21:16:55 -08:00
orbea
2184fd0902 libretro: Change CXXFLAGS to CFLAGS.
This core does not use CXXFLAGS...
2017-12-21 21:03:41 -08:00
radius
212947d83c really strong rumble 2017-10-17 23:42:55 +03:00
radius
f1bcddf421 hookup reset and unload 2017-10-17 23:42:55 +03:00
radius
32e4d705c6 check_variables later 2017-10-17 23:42:55 +03:00
leiradel
a8dbae00c2 Added cheevos support 2017-10-17 23:42:54 +03:00
radius
85971e9158 hookup color filter & highpass filter 2017-10-17 23:42:54 +03:00