Refinements to the last commit
This commit is contained in:
parent
e434b625ea
commit
7929573dc1
@ -1019,8 +1019,8 @@ void run_gui(bool is_running)
|
|||||||
else {
|
else {
|
||||||
SDL_SetWindowFullscreen(window, 0);
|
SDL_SetWindowFullscreen(window, 0);
|
||||||
}
|
}
|
||||||
|
update_viewport();
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
if (event.key.keysym.scancode == SDL_SCANCODE_O) {
|
if (event.key.keysym.scancode == SDL_SCANCODE_O) {
|
||||||
if (event.key.keysym.mod & MODIFIER) {
|
if (event.key.keysym.mod & MODIFIER) {
|
||||||
char *filename = do_open_rom_dialog();
|
char *filename = do_open_rom_dialog();
|
||||||
|
@ -274,6 +274,7 @@ static void handle_events(GB_gameboy_t *gb)
|
|||||||
else {
|
else {
|
||||||
SDL_SetWindowFullscreen(window, 0);
|
SDL_SetWindowFullscreen(window, 0);
|
||||||
}
|
}
|
||||||
|
update_viewport();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user