From f50251855b8341627a9d981c28122a1a862dad53 Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Mon, 25 Sep 2023 18:17:41 -0600 Subject: [PATCH] Fix RAM disk setting not changing --- romsel_dsimenutheme/arm9/source/perGameSettings.cpp | 12 ++++-------- romsel_r4theme/arm9/source/perGameSettings.cpp | 12 ++++-------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/romsel_dsimenutheme/arm9/source/perGameSettings.cpp b/romsel_dsimenutheme/arm9/source/perGameSettings.cpp index 4eb5eb8b04..d72a7e5536 100644 --- a/romsel_dsimenutheme/arm9/source/perGameSettings.cpp +++ b/romsel_dsimenutheme/arm9/source/perGameSettings.cpp @@ -1045,10 +1045,8 @@ void perGameSettings (std::string filename) { break; case 1: if (isHomebrew[CURPOS]) { - if (!perGameSettings_directBoot) { - perGameSettings_ramDiskNo--; - if (perGameSettings_ramDiskNo < -1) perGameSettings_ramDiskNo = 9; - } + perGameSettings_ramDiskNo--; + if (perGameSettings_ramDiskNo < -1) perGameSettings_ramDiskNo = 9; } else { perGameSettings_saveNo--; if (perGameSettings_saveNo < 0) perGameSettings_saveNo = 9; @@ -1126,10 +1124,8 @@ void perGameSettings (std::string filename) { break; case 1: if (isHomebrew[CURPOS]) { - if (!perGameSettings_directBoot) { - perGameSettings_ramDiskNo++; - if (perGameSettings_ramDiskNo > 9) perGameSettings_ramDiskNo = -1; - } + perGameSettings_ramDiskNo++; + if (perGameSettings_ramDiskNo > 9) perGameSettings_ramDiskNo = -1; } else { perGameSettings_saveNo++; if (perGameSettings_saveNo > 9) perGameSettings_saveNo = 0; diff --git a/romsel_r4theme/arm9/source/perGameSettings.cpp b/romsel_r4theme/arm9/source/perGameSettings.cpp index 752331e71b..318d9d5cb5 100644 --- a/romsel_r4theme/arm9/source/perGameSettings.cpp +++ b/romsel_r4theme/arm9/source/perGameSettings.cpp @@ -948,10 +948,8 @@ void perGameSettings (std::string filename) { break; case 1: if (isHomebrew) { - if (!perGameSettings_directBoot) { - perGameSettings_ramDiskNo--; - if (perGameSettings_ramDiskNo < -1) perGameSettings_ramDiskNo = 9; - } + perGameSettings_ramDiskNo--; + if (perGameSettings_ramDiskNo < -1) perGameSettings_ramDiskNo = 9; } else { perGameSettings_saveNo--; if (perGameSettings_saveNo < 0) perGameSettings_saveNo = 9; @@ -1028,10 +1026,8 @@ void perGameSettings (std::string filename) { break; case 1: if (isHomebrew) { - if (!perGameSettings_directBoot) { - perGameSettings_ramDiskNo++; - if (perGameSettings_ramDiskNo > 9) perGameSettings_ramDiskNo = -1; - } + perGameSettings_ramDiskNo++; + if (perGameSettings_ramDiskNo > 9) perGameSettings_ramDiskNo = -1; } else { perGameSettings_saveNo++; if (perGameSettings_saveNo > 9) perGameSettings_saveNo = 0;