aboutsummaryrefslogtreecommitdiff
path: root/frontend/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/main.c')
-rw-r--r--frontend/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/frontend/main.c b/frontend/main.c
index 29df6d9..f5da18b 100644
--- a/frontend/main.c
+++ b/frontend/main.c
@@ -263,6 +263,10 @@ do_state_slot:
break;
case SACTION_TOGGLE_FULLSCREEN:
g_fullscreen = !g_fullscreen;
+ if (GPU_open != NULL && GPU_close != NULL) {
+ GPU_close();
+ GPU_open(&gpuDisp, "PCSX", NULL);
+ }
break;
case SACTION_SCREENSHOT:
{