aboutsummaryrefslogtreecommitdiff
path: root/frontend/main.c
diff options
context:
space:
mode:
authornotaz2011-06-18 01:23:27 +0300
committernotaz2011-07-08 00:15:06 +0300
commite64dc4c54e96643522dc4b8c205d143c7d9b2f1d (patch)
treee62be926fd4fa3e096d4ac8e7c2b475f57e86954 /frontend/main.c
parent69f0df9cbaed6620a190ac289958c5bf7c079d92 (diff)
downloadpcsx_rearmed-e64dc4c54e96643522dc4b8c205d143c7d9b2f1d.tar.gz
pcsx_rearmed-e64dc4c54e96643522dc4b8c205d143c7d9b2f1d.tar.bz2
pcsx_rearmed-e64dc4c54e96643522dc4b8c205d143c7d9b2f1d.zip
dfxvideo: decouple from main emu
Diffstat (limited to 'frontend/main.c')
-rw-r--r--frontend/main.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/frontend/main.c b/frontend/main.c
index f97610a..068fe50 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:
{