From 257e81ed32e23547cdc95d0529e6b2fd4fcb555d Mon Sep 17 00:00:00 2001 From: Rikard Bengtsson <36540711+yxkalle@users.noreply.github.com> Date: Sun, 24 Sep 2023 07:42:07 +0200 Subject: [PATCH] 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. --- support/n64/n64.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/support/n64/n64.cpp b/support/n64/n64.cpp index 8ef4d97..fb59738 100644 --- a/support/n64/n64.cpp +++ b/support/n64/n64.cpp @@ -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; }