Commit Graph

210 Commits

Author SHA1 Message Date
slash0042 faeb1d2e18 Add libnx port 2020-10-10 01:02:22 +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 8f6047fdca Prevent -Wall from overriding -Wno flags 2020-04-28 21:53:37 +03:00
Lior Halphon bb5c9f7fc6 Fix libretro build 2020-04-25 15:12:10 +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 9651f2bb6b Merge branch 'master' of https://github.com/LIJI32/SameBoy 2019-07-18 00:13:54 +03:00
Lior Halphon 597dc72e46 Fix audio issues with some RetroArch audio drivers. Fixes #189 2019-07-18 00:13:41 +03:00
Lior Halphon 23ca397206
Remove unused flag 2019-07-17 00:52:01 +03:00
Aaron Kling 72be66414d libretro: jni: Switch stl to c++ in preparation for ndk r20 2019-06-26 22:05:42 -05: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
Lior Halphon 66b814a226 Don’t use libc’s random/rand 2019-06-14 16:49:41 +03:00
funbars 4a54985441
fix libretro log interface 2019-05-10 15:50:16 -05:00
Lior Halphon 1433c59778
Merge pull request #167 from rzumer/gbc_memory_map
Update libretro GBC memory map
2019-05-10 14:16:21 +03:00
funbars b6e92dc8a7
libretro windows compiler (random) 2019-05-07 12:36:04 -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
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