Skip to content

Commit 15b3048

Browse files
committed
[core] Updated KallistiOS and minor fixes for settings.
1 parent 0cf2bc8 commit 15b3048

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

sdk/doc/KallistiOS.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5f6cc322256b3c503b462f0a99b221ee304e5482
1+
680d18622376666ad9251929f7a6f450e7724607

src/settings.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ void ResetSettings() {
116116

117117
for (int i = 0; i < 8; ++i) {
118118
if (!(vmu = maple_enum_type(i, MAPLE_FUNC_MEMCARD))) {
119-
continue;
119+
break;
120120
}
121121
snprintf(save_name, sizeof(save_name),
122122
"/vmu/%c%c/%s", vmu->port + 'A', vmu->unit + '0', DS_SAVE_FN);
@@ -138,7 +138,7 @@ static int LoadSettingsVMU() {
138138

139139
for (int i = 0; i < 8; ++i) {
140140
if (!(vmu = maple_enum_type(i, MAPLE_FUNC_MEMCARD))) {
141-
continue;
141+
break;
142142
}
143143

144144
snprintf(save_name, sizeof(save_name), "/vmu/%c%c/%s",
@@ -242,7 +242,7 @@ static int SaveSettingsVMU() {
242242

243243
for (int i = 0; i < 8; i++) {
244244
if (!(vmu = maple_enum_type(i, MAPLE_FUNC_MEMCARD))) {
245-
continue;
245+
break;
246246
}
247247

248248
snprintf(save_name, sizeof(save_name),

0 commit comments

Comments
 (0)