Merge git://github.com/notaz/pcsx_rearmed
authortwinaphex <autechre1024@hotmail.com>
Sun, 26 May 2013 21:34:56 +0000 (23:34 +0200)
committertwinaphex <autechre1024@hotmail.com>
Sun, 26 May 2013 21:34:56 +0000 (23:34 +0200)
1  2 
frontend/libretro.c

diff --combined frontend/libretro.c
@@@ -243,7 -243,9 +243,7 @@@ void retro_set_environment(retro_enviro
        { "region", "Region; Auto|NTSC|PAL" },
  #ifdef __ARM_NEON__
        { "neon_interlace_enable", "Enable interlacing mode(s); disabled|enabled" },
 -#if 0
        { "neon_enhancement_enable", "Enhanced resolution (slow); disabled|enabled" },
 -#endif
  #endif
        { NULL, NULL },
     };
@@@ -650,6 -652,7 +650,7 @@@ bool retro_load_game(const struct retro
        }
  
        plugin_call_rearmed_cbs();
+       dfinput_activate();
  
        Config.PsxAuto = 1;
        if (CheckCdrom() == -1) {
@@@ -767,6 -770,7 +768,6 @@@ static void update_variables(bool in_fl
           pl_rearmed_cbs.gpu_neon.allow_interlace = 1;
     }
  
 -#if 0
     var.value = NULL;
     var.key = "neon_enhancement_enable";
  
        else if (strcmp(var.value, "enabled") == 0)
           pl_rearmed_cbs.gpu_neon.enhancement_enable = 1;
     }
 -#endif
  #endif
  
        if (in_flight) {
                        GPU_close();
                        GPU_open(&gpuDisp, "PCSX", NULL);
                }
-       }
  
-       dfinput_activate();
+               dfinput_activate();
+       }
  }
  
  void retro_run(void)