Merge branch 'mainline' into libretro
[pcsx_rearmed.git] / plugins / dfinput / main.c
index ee4625c..4204b86 100644 (file)
@@ -56,6 +56,7 @@ static int old_controller_type1 = -1, old_controller_type2 = -1;
 
 void dfinput_activate(void)
 {
+       #ifndef HAVE_LIBRETRO
        PadDataS pad;
 
        pad.portMultitap = -1;
@@ -66,4 +67,5 @@ void dfinput_activate(void)
        pad.requestPadIndex = 1;
        PAD2_readPort2(&pad);
        select_pad(2);
+       #endif
 }