mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-10 23:15:08 +01:00
Fix error when dumping GBA ROM for a second time
This commit is contained in:
parent
029538463a
commit
58e8cc1a3b
@ -56,7 +56,8 @@ void gbaMenu() {
|
|||||||
// wait for user choice to come back from the question box menu
|
// wait for user choice to come back from the question box menu
|
||||||
cartSize = romOptionsGBASize[GBARomMenu];
|
cartSize = romOptionsGBASize[GBARomMenu];
|
||||||
}
|
}
|
||||||
cartSize *= 0x100000;
|
if (cartSize < 128) // Don't multiply cartSize on second dump
|
||||||
|
cartSize *= 0x100000;
|
||||||
display_Clear();
|
display_Clear();
|
||||||
// Change working dir to root
|
// Change working dir to root
|
||||||
sd.chdir("/");
|
sd.chdir("/");
|
||||||
|
Loading…
Reference in New Issue
Block a user