Fixed issue #95 The DisableSD2IECCommands option makes the Pi1541 hang

This commit is contained in:
Stephen White 2018-10-17 15:39:55 +11:00
parent 7535e98434
commit 8b8097525b
1 changed files with 3 additions and 6 deletions

View File

@ -1117,12 +1117,9 @@ void emulator()
{ {
while (emulating == IEC_COMMANDS) while (emulating == IEC_COMMANDS)
{ {
if (keyboard->CheckChanged()) fileBrowser->Update();
{ if (fileBrowser->SelectionsMade())
fileBrowser->Update(); emulating = BeginEmulating(fileBrowser, fileBrowser->LastSelectionName());
if (fileBrowser->SelectionsMade())
emulating = BeginEmulating(fileBrowser, fileBrowser->LastSelectionName());
}
usDelay(1); usDelay(1);
} }
} }