Remove #if 0 around NEON enhancement
[pcsx_rearmed.git] / frontend / libretro.c
index 1e9929d..413098d 100644 (file)
@@ -243,9 +243,7 @@ void retro_set_environment(retro_environment_t cb)
       { "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 },
    };
@@ -652,6 +650,7 @@ bool retro_load_game(const struct retro_game_info *info)
        }
 
        plugin_call_rearmed_cbs();
+       dfinput_activate();
 
        Config.PsxAuto = 1;
        if (CheckCdrom() == -1) {
@@ -769,7 +768,6 @@ static void update_variables(bool in_flight)
          pl_rearmed_cbs.gpu_neon.allow_interlace = 1;
    }
 
-#if 0
    var.value = NULL;
    var.key = "neon_enhancement_enable";
 
@@ -780,7 +778,6 @@ static void update_variables(bool in_flight)
       else if (strcmp(var.value, "enabled") == 0)
          pl_rearmed_cbs.gpu_neon.enhancement_enable = 1;
    }
-#endif
 #endif
 
        if (in_flight) {
@@ -791,9 +788,9 @@ static void update_variables(bool in_flight)
                        GPU_close();
                        GPU_open(&gpuDisp, "PCSX", NULL);
                }
-       }
 
-       dfinput_activate();
+               dfinput_activate();
+       }
 }
 
 void retro_run(void)