Commit Graph

677 Commits

Author SHA1 Message Date
bparker06
4ebd68fcaf Merge pull request #73 from meepingsnesroms/master
Prepare for using gbc mode with gb games, fix register inaccuracy
2017-02-14 20:38:40 -05:00
meepingsnesroms
c442cd3c79 Prevent forcing gbc when loading a gb game if bootloader is not present
This fixes the broken palette when that happens.
2017-02-14 10:12:01 -08:00
meepingsnesroms
8a530fca03 Fixed neon green palette when booting gb in gbc mode with bootloader
The initial values where not being set so the original bg palette was
just random data.
2017-02-14 09:35:22 -08:00
meepingsnesroms
de8a992914 Fix color correction change in gbc mode, old savestates broken again...
Not that it matters since the last format was never official anyway.
2017-02-13 19:44:03 -08:00
meepingsnesroms
13c89a1524 Refresh palettes as a gb would when running in gbc gb mode 2017-02-13 13:38:26 -08:00
meepingsnesroms
fbd33ea9f1 Always boot as gbc if in gba mode 2017-02-13 09:56:39 -08:00
meepingsnesroms
3acba93a4a Fix bootloader getter in dualmode 2017-02-12 22:05:12 -08:00
meepingsnesroms
a63fdf2d2a Fix definitions and make mode switch more accurate 2017-02-12 21:56:17 -08:00
meepingsnesroms
a9d5dfb16f Prevent gb register use in gbc mode, fix buffer overflow 2017-02-12 21:38:00 -08:00
meepingsnesroms
40d448fca4 Remove unused oamdump 2017-02-12 18:46:37 -08:00
meepingsnesroms
522cdc13a1 Put back auto mode, prevent palette corruption in gbc games, etc...
Use official gbc gb mode switch value (instead of arbitrary 0x85 I used
before)
2017-02-12 18:41:51 -08:00
meepingsnesroms
c98f7b1472 Fixed save state bug, ready to merge, old savestates are NOT compatible
Using bootloader mode may still have bugs but not any I can find with
normal testing.
The savestate format had to be changed to hold the gb to gbc palette so
old savestates are broken.
Old cart saves are fine and can still be used.

Standard logic applys:
Booting gbc games in gb mode, compatibility error screen.
Booting gb games in gbc mode requires the gbc bootloader to be present.
Gbc/gb mode and gb savestates are not interchangeable.
Nonbootloader modes work same as before accept old savestates are
broken.

Please test, thats the only way bootloader mode can get any better.
2017-02-12 15:33:49 -08:00
meepingsnesroms
d10737533d Fix possible undefined behavior if writing to gbc palette from gb mode
GB roms in GBC mode works, but loading savestates in this mode will
corrupt the palettes.
2017-02-12 13:31:03 -08:00
meepingsnesroms
7f72e1af81 HUGE update
GB on GBC support.
No more Auto,GB,GBA you choose your console and attempt to run any rom
you want.(With any bootloader you want)
GB in GBC mode with bootloader supports auto and manual palettes.
Cleaned up a few typos.
2017-02-11 18:57:34 -08:00
meepingsnesroms
156214591f Prepare for using gbc mode with gb games, fix register inaccuracy 2017-02-10 20:47:17 -08:00
meepingsnesroms
14c1eac28f Force gbc bootloader in gbc mode, fix some init values 2017-02-10 19:02:53 -08:00
Brad Parker
8abaa1e86a Don't need unbuffered flag, it's set automatically for us and can't be specified. Fixes BIOS loading on Windows. 2017-02-10 13:13:32 -05:00
bparker06
085a910b14 Merge pull request #70 from meepingsnesroms/patch-1
Fix android not compiling after libretro common was added
2017-02-10 11:45:36 -05:00
meepingsnesroms
208ae478db Fix android not compiling after libretro common was added 2017-02-10 08:35:43 -08:00
Brad Parker
67fa4070bd add DOS platform definition 2017-02-09 23:31:06 -05:00
Brad Parker
d86d3ad4e6 add sanitizer option to libretro makefile 2017-02-09 21:07:34 -05:00
Brad Parker
fddcf2a166 style cleanup, use libretro-common string and file I/O functions 2017-02-09 21:06:44 -05:00
bparker06
8ec4084a59 Merge pull request #67 from meepingsnesroms/master
Support using official bootloader with startup logo
2017-02-09 21:06:11 -05:00
meepingsnesroms
58db6d5d1e Clean up variables in bootloader loader 2017-02-07 21:54:03 -08:00
meepingsnesroms
0a311013cc Added void* userdata and fixed whitespace 2017-02-07 16:48:27 -08:00
meepingsnesroms
37fa68d042 Use only C++ headers, make bootloader savestate more readable 2017-02-07 13:12:43 -08:00
meepingsnesroms
c4451b98eb Fix style requests 2017-02-05 18:07:45 -08:00
meepingsnesroms
9667d9b8e2 No globals 2017-02-04 11:40:08 -08:00
meepingsnesroms
f95f674c78 Add core option 2017-02-03 19:32:14 -08:00
meepingsnesroms
ef27eee230 Fully object oriented, can run as many gameboys as needed now
File io is also fixed
2017-02-03 17:26:18 -08:00
meepingsnesroms
301f4bd42f Switch to std::string only 2017-02-03 11:36:19 -08:00
meepingsnesroms
e4abf1dbcc Bootloader and gba mode work together,fixed string = null bug 2017-02-03 11:23:58 -08:00
Alcaro
b1af7340b3 Add this dual mode 2017-02-03 19:35:57 +01:00
Alcaro
4ab3bfd95a Cleanups 2017-02-03 19:26:59 +01:00
meepingsnesroms
f0bdfa0ce0 Core and frontend are no longer linked, header name fixed 2017-02-03 08:37:51 -08:00
meepingsnesroms
72e5be687a Fix memset,printf 2017-02-02 18:19:45 -08:00
meepingsnesroms
24c4a4ef98 Fix missing header 2017-02-02 18:09:44 -08:00
meepingsnesroms
70412e5197 Fixed savestate issues, should be compatible with outdated savestates 2017-02-02 17:44:06 -08:00
meepingsnesroms
4cc01e9c29 Disable bootloader when gba mode is chosen 2017-02-02 15:54:41 -08:00
meepingsnesroms
8d56edb75c Fix windows,open as binary 2017-02-02 15:39:54 -08:00
meepingsnesroms
06d7b9c487 Update libretro.cpp 2017-02-02 15:34:46 -08:00
meepingsnesroms
47ab2b9ce4 BL support 3 2017-02-02 15:14:14 -08:00
meepingsnesroms
eb00a00caf BL support 2 2017-02-02 15:13:45 -08:00
meepingsnesroms
f081e97eaf Support using official bootloader with startup logo 2017-02-02 15:12:39 -08:00
Alcaro
baa4d83761 Merge pull request #66 from orbea/revert-65-error
Revert "return false if info is NULL inside retro_load_game"
2017-01-25 00:53:57 +01:00
orbea
865311d3a4 Revert "return false if info is NULL inside retro_load_game" 2017-01-24 15:49:32 -08:00
Twinaphex
f9592de718 Merge pull request #65 from orbea/error
return false if info is NULL inside retro_load_game
2017-01-25 00:19:55 +01:00
orbea
2106af8e25 return false if info is NULL inside retro_load_game 2017-01-24 14:15:22 -08:00
aliaspider
d9d1d79b63 (ngc/Wii/WiiU) buildfix for devkitpro r29. 2017-01-23 18:50:43 +01:00
Twinaphex
6d976512b3 Merge pull request #64 from sergiobenrocha2/master
Fix RTC in Restart.
2017-01-08 23:14:00 +01:00