mirror of
https://github.com/libretro/smsplus-gx.git
synced 2024-11-27 02:50:35 +00:00
This is apparently how it should be done.
See : https://github.com/libretro/smsplus-gx/issues/25 ... for mroe details. Thanks negativeExponent
This commit is contained in:
parent
3309b17337
commit
b9a8289264
12
source/sms.c
12
source/sms.c
@ -487,10 +487,14 @@ void mapper_16k_w(uint16_t address, uint8_t data)
|
||||
|
||||
/* page index increment (SEGA mapper) */
|
||||
|
||||
/* THIS SHOULD BE FIXED PROPERLY */
|
||||
/* TODO : For whatever reason, disabling this makes Shining Force Gaiden English trad work properly.
|
||||
* This same bug happens on Mednafen and the older SMS Plus GX too. (up until they introduced the code just below)
|
||||
* */
|
||||
/*
|
||||
About the "gaiden_hack" bit :
|
||||
I initially thought that it was a hack.
|
||||
But it turns out the translation hack actually expects this :
|
||||
https://github.com/libretro/smsplus-gx/issues/25
|
||||
|
||||
TODO : Probably reimplement this ?
|
||||
*/
|
||||
if (slot.fcr[0] & 0x03 && gaiden_hack != 1)
|
||||
{
|
||||
page = (page + ((4 - (slot.fcr[0] & 0x03)) << 3)) % slot.pages;
|
||||
|
Loading…
Reference in New Issue
Block a user