Fix my previous pull request (#827)

Some users complained that some games weren't working anymore after my submission. The reason is that I always set save type to "none" when the game wasn't detected in the db. This reverts some of the old behavior, don't touch the save type and controller pak settings when these settings are unknown because of missing db.
This commit is contained in:
Rikard Bengtsson
2023-09-24 07:42:07 +02:00
committed by GitHub
parent dc7fa8253f
commit 257e81ed32

View File

@@ -309,11 +309,6 @@ static bool detect_rom_settings_from_first_chunk(char region_code, uint64_t crc)
user_io_status_set("[80:79]", (uint32_t)system_type);
user_io_status_set("[68:65]", (uint32_t)cic);
user_io_status_set("[71]", (uint32_t)0); // Controller pak
user_io_status_set("[72]", (uint32_t)0); // Rumble pak
user_io_status_set("[73]", (uint32_t)0); // Transfer pak
user_io_status_set("[74]", (uint32_t)0); // RTC
user_io_status_set("[77:75]", (uint32_t)MemoryType::NONE);
return true;
}