X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fmain.c;h=068fe501f639ebaafaf5291206d4b1461f2dd978;hp=f97610a6b37dcec070942ead2b7c677c94a580ec;hb=e64dc4c54e96643522dc4b8c205d143c7d9b2f1d;hpb=69f0df9cbaed6620a190ac289958c5bf7c079d92 diff --git a/frontend/main.c b/frontend/main.c index f97610a6..068fe501 100644 --- a/frontend/main.c +++ b/frontend/main.c @@ -36,9 +36,6 @@ enum sched_action emu_action, emu_action_old; char hud_msg[64]; int hud_new_msg; -// from softgpu plugin -extern int UseFrameSkip; - static void make_path(char *buf, size_t size, const char *dir, const char *fname) { if (fname) @@ -157,9 +154,9 @@ void do_emu_action(void) state_slot = 9; goto do_state_slot; case SACTION_TOGGLE_FSKIP: - UseFrameSkip ^= 1; + pl_rearmed_cbs.frameskip ^= 1; snprintf(hud_msg, sizeof(hud_msg), "FRAMESKIP %s", - UseFrameSkip ? "ON" : "OFF"); + pl_rearmed_cbs.frameskip ? "ON" : "OFF"); break; case SACTION_SCREENSHOT: {