mirror of https://github.com/mgba-emu/mgba.git
GBA e-Reader: Disable strict mode when scanning cards
This commit is contained in:
parent
e5ee438a1d
commit
00246cda74
1
CHANGES
1
CHANGES
|
@ -51,6 +51,7 @@ Misc:
|
|||
- GBA Audio: Remove broken XQ audio pending rewrite
|
||||
- GBA BIOS: Move SoftReset implementation to assembly
|
||||
- GBA e-Reader: Use geometric mean instead of arithmetic mean when detecting parameters
|
||||
- GBA e-Reader: Disable strict mode when scanning cards
|
||||
- GBA Memory: Improve VRAM access stall cycle estimation
|
||||
- GBA SIO: Rewrite lockstep driver for improved stability
|
||||
- GBA Video: Add special circlular window handling in OpenGL renderer
|
||||
|
|
|
@ -1500,7 +1500,7 @@ bool EReaderScanCard(struct EReaderScan* scan) {
|
|||
for (i = 0; i < blocks; ++i) {
|
||||
EReaderScanDetectBlockThreshold(scan, i);
|
||||
unsigned errors = 36 * 36;
|
||||
while (!EReaderScanScanBlock(scan, i, true)) {
|
||||
while (!EReaderScanScanBlock(scan, i, false)) {
|
||||
if (errors < EReaderBlockListGetPointer(&scan->blocks, i)->errors) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue