Commit Graph

139 Commits

Author SHA1 Message Date
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
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
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 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
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 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
Tatsuya79 9c23fe2563 Reduce input lag by 1 frame 2018-02-05 18:13:35 -05:00
radius e97624ba7d fix warning 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 6d868c8f7c update to master 2018-01-26 18:51:39 -05: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
Twinaphex afbd62c665
Merge pull request #5 from retro-wertz/pitch
Fix pitch issue
2018-01-04 11:38:20 +01: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
orbea 536e47c567 libretro: Add GIT_VERSION 2017-12-21 21:16:55 -08:00
radius 55412d7093 don't apply color correction for DMG 2017-10-15 22:08:13 -05:00
radius f724cbbacd really strong rumble 2017-10-15 18:46:37 -05:00
radius 9f8d871c9c hookup reset and unload 2017-10-15 18:08:31 -05:00
radius d57d4dbe24 check_variables later 2017-10-15 15:48:56 -05:00
leiradel d8e460ca47 Added cheevos support 2017-10-15 12:47:33 -05:00
radius a42fed5d53 hookup color filter & highpass filter 2017-10-15 12:47:33 -05:00
Lior Halphon bbd3b7e550 Got rid of -ICore 2017-10-13 00:02:02 +03:00
Lior Halphon 40e4f93637 Replaced libretro specific code with a generic API 2017-10-12 22:06:01 +03:00
Lior Halphon dcadfc37f4 Changed the way HAVE_DEBUGGER works and renamed it (so it’s on by default) to DISABLE_DEBUGGER. Fixes build break. 2017-10-12 19:05:27 +03:00
radius 6f40885f73 this seems to improve audio a lot but I still hear some small crackles 2017-10-10 20:29:46 -05:00
radius 18b376ac5f Updates:
-fix input descriptors
-implement savestates
-implement sram interface
2017-10-09 14:21:32 -05:00
twinaphex 5e3a24573e Bump up version 2017-10-09 11:36:54 -05:00
twinaphex 091df682cd Silence warning 2017-10-09 11:36:54 -05:00
twinaphex 09f4edda57 Comment out debugger code - add HAVE_DEBUGGER ifdef 2017-10-09 11:36:53 -05:00
twinaphex fedea2cad7 Don't hook up regular audio_cb 2017-10-09 11:36:24 -05:00
radius 7d2dbe2988 no need for turbo mode in libretro 2017-10-09 11:36:24 -05:00
radius 765a072c73 this fixes fast forwarding but probably has to change to a proper fix 2017-10-09 11:36:24 -05:00
radius 3dffa3a0ca fix gbc 2017-10-09 11:36:23 -05:00
radius 65e6e5f30b use GB_run_frame 2017-10-09 11:36:23 -05:00
twinaphex d433cdf260 Add baked-in generated BIOS files 2017-10-09 11:36:23 -05:00
Not6 3f86d898a3 some others input 2017-10-09 11:36:23 -05:00
Not6 009a66d723 basic libretro port 2017-10-09 11:36:23 -05:00