frontend: pcnt: use gettimeofday
[pcsx_rearmed.git] / frontend / main.c
index 4aa8968..f5da18b 100644 (file)
@@ -261,6 +261,13 @@ do_state_slot:
                else
                        g_opts |= OPT_SHOWFPS;
                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:
                {
                        char buf[MAXPATHLEN];