mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-04-03 02:37:55 +02:00
md, fix ssf2 mapping setup when loading a savestate
This commit is contained in:
Submodule cpu/cyclone updated: 94a9d9a888...1f03ed6a49
@@ -71,9 +71,12 @@ static void carthw_ssf2_mem_setup(void)
|
||||
|
||||
static void carthw_ssf2_statef(void)
|
||||
{
|
||||
int i;
|
||||
for (i = 1; i < 8; i++)
|
||||
carthw_ssf2_write8(0xa130f0 | (i << 1), carthw_ssf2_banks[i]);
|
||||
int i, reg;
|
||||
for (i = 1; i < 8; i++) {
|
||||
reg = carthw_ssf2_banks[i];
|
||||
carthw_ssf2_banks[i] = i;
|
||||
carthw_ssf2_write8(0xa130f1 | (i << 1), reg);
|
||||
}
|
||||
}
|
||||
|
||||
static void carthw_ssf2_unload(void)
|
||||
|
||||
Submodule pico/cd/libchdr updated: ff3175ddb0...929a8d6523
Submodule pico/sound/emu2413 updated: 9f25348936...4062e93e93
Submodule platform/common/dr_libs updated: b20f7512a6...9497270f58
Submodule platform/common/minimp3 updated: ef9e212fa2...afb604c06b
Submodule platform/libpicofe updated: aa471f7f59...e87e15f170
Reference in New Issue
Block a user