frontend: overlay improvements
[pcsx_rearmed.git] / frontend / main.c
index 29df6d9..f5da18b 100644 (file)
@@ -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:
                {