Fixed bug where modified images were being written back to the wrong foler.
This commit is contained in:
parent
d0d497d2ce
commit
c2300db00a
1 changed files with 6 additions and 6 deletions
12
src/main.cpp
12
src/main.cpp
|
@ -546,12 +546,6 @@ void emulator()
|
|||
fileBrowser->ClearScreen();
|
||||
IEC_Bus::Reset();
|
||||
|
||||
// Clearing the caddy now
|
||||
// - will write back all changed/dirty/written to disk images now
|
||||
// - TDOO: need to display the image names as they write back
|
||||
// - pass in a call back function?
|
||||
diskCaddy.Empty();
|
||||
|
||||
fileBrowserSelectedName = 0;
|
||||
fileBrowser->ClearSelections();
|
||||
|
||||
|
@ -819,6 +813,12 @@ void emulator()
|
|||
bool reset = IEC_Bus::IsReset();
|
||||
if (reset)
|
||||
{
|
||||
// Clearing the caddy now
|
||||
// - will write back all changed/dirty/written to disk images now
|
||||
// - TDOO: need to display the image names as they write back
|
||||
// - pass in a call back function?
|
||||
diskCaddy.Empty();
|
||||
|
||||
IEC_Bus::WaitUntilReset();
|
||||
//DEBUG_LOG("6502 resetting\r\n");
|
||||
if (onResetChangeToStartingFolder || selectedViaIECCommands)
|
||||
|
|
Loading…
Reference in a new issue