File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed
decompile/WorkInProgress/src/MEMCARD Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -146,17 +146,16 @@ int FUN_8003ddac(void)
146146 return readResult ;
147147 }
148148
149- // if failed, restart attempting icon
150- if (sdata -> memcard_remainingAttempts > 0 )
151- {
152- sdata -> memcard_remainingAttempts -- ;
153- extra = MC_EXTRA_READ_ICON ;
149+ if (sdata -> memcard_remainingAttempts < 1 )
150+ {
151+ extra = MC_EXTRA_CLOSE ;
154152 break ;
155- }
153+ }
156154
157- extra = MC_EXTRA_CLOSE ;
155+ sdata -> memcard_remainingAttempts -- ;
156+ extra = MC_EXTRA_READ_ICON ;
158157 break ;
159-
158+
160159 case 4 :
161160 case 6 :
162161
@@ -180,14 +179,14 @@ int FUN_8003ddac(void)
180179 }
181180 else
182181 {
183- if (sdata -> memcard_remainingAttempts > 0 )
182+ if (sdata -> memcard_remainingAttempts < 1 )
184183 {
185- sdata -> memcard_remainingAttempts -- ;
186- extra = MC_EXTRA_READ_FILE ;
184+ extra = MC_EXTRA_CLOSE ;
187185 break ;
188186 }
189-
190- extra = MC_EXTRA_CLOSE ;
187+
188+ sdata -> memcard_remainingAttempts -- ;
189+ extra = MC_EXTRA_READ_FILE ;
191190 break ;
192191 }
193192
You can’t perform that action at this time.
0 commit comments