fix gun handling in enhancement mode
[pcsx_rearmed.git] / frontend / libretro.c
index 11bcef4..b832a4e 100644 (file)
@@ -43,7 +43,7 @@ static int vout_open(void)
        return 0;
 }
 
-static void vout_set_mode(int w, int h, int bpp)
+static void vout_set_mode(int w, int h, int raw_w, int raw_h, int bpp)
 {
 }
 
@@ -132,7 +132,7 @@ void plat_trigger_vibrate(int is_strong)
 {
 }
 
-void pl_update_gun(int *xn, int *xres, int *y, int *in)
+void pl_update_gun(int *xn, int *yn, int *xres, int *yres, int *in)
 {
 }
 
@@ -274,7 +274,7 @@ bool retro_load_game(const struct retro_game_info *info)
                printf("could not load CD-ROM!\n");
                return false;
        }
-       emu_on_new_cd();
+       emu_on_new_cd(0);
 
        return true;
 }