Skip to content

Commit

Permalink
Force HLE bios for stupid invaders. Don't autosave state if networking
Browse files Browse the repository at this point in the history
Force HLE bios for stupid invaders
Issue #354

Don't autosave state if GPPO or naomi networking is on
  • Loading branch information
flyinghead committed Nov 29, 2023
1 parent d6593b9 commit 035ea0b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion core/emulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,12 @@ static void loadSpecialSettings()
NOTICE_LOG(BOOT, "Forcing real BIOS");
config::UseReios.override(false);
}
else if (prod_id == "T17708N" // Stupid Invaders (US)
|| prod_id == "T17711D") // Stupid Invaders (EU)
{
NOTICE_LOG(BOOT, "Forcing HLE BIOS");
config::UseReios.override(true);
}
if (prod_id == "T-9707N" // San Francisco Rush 2049 (US)
|| prod_id == "MK-51146" // Sega Smash Pack - Volume 1
|| prod_id == "T-9702D-50" // Hydro Thunder (PAL)
Expand Down Expand Up @@ -732,7 +738,8 @@ void Emulator::unloadGame()
} catch (...) { }
if (state == Loaded || state == Error)
{
if (state == Loaded && config::AutoSaveState && !settings.content.path.empty() && !settings.naomi.multiboard)
if (state == Loaded && config::AutoSaveState && !settings.content.path.empty()
&& !settings.naomi.multiboard && !config::GGPOEnable && !NaomiNetworkSupported())
dc_savestate(config::SavestateSlot);
try {
dc_reset(true);
Expand Down

0 comments on commit 035ea0b

Please sign in to comment.