Refinements to the last commit

This commit is contained in:
Lior Halphon 2020-01-01 00:17:54 +02:00
parent e434b625ea
commit 7929573dc1
2 changed files with 2 additions and 1 deletions

View File

@ -1019,8 +1019,8 @@ void run_gui(bool is_running)
else {
SDL_SetWindowFullscreen(window, 0);
}
update_viewport();
}
break;
if (event.key.keysym.scancode == SDL_SCANCODE_O) {
if (event.key.keysym.mod & MODIFIER) {
char *filename = do_open_rom_dialog();

View File

@ -274,6 +274,7 @@ static void handle_events(GB_gameboy_t *gb)
else {
SDL_SetWindowFullscreen(window, 0);
}
update_viewport();
}
break;