libretro: drop remnants of _async_cd
authornotaz <notasas@gmail.com>
Sun, 15 Dec 2024 20:45:44 +0000 (22:45 +0200)
committernotaz <notasas@gmail.com>
Sun, 15 Dec 2024 20:45:44 +0000 (22:45 +0200)
there is pcsx_rearmed_cd_readahead now

frontend/libretro.c

index 07b108c..e01c80a 100644 (file)
@@ -2457,31 +2457,6 @@ static void update_variables(bool in_flight)
    }
 #endif
 
-#if 0 // currently disabled, see USE_READ_THREAD in libpcsxcore/cdriso.c
-   if (P_HAVE_PTHREAD) {
-          var.value = NULL;
-          var.key = "pcsx_rearmed_async_cd";
-          if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value)
-          {
-                 if (strcmp(var.value, "async") == 0)
-                 {
-                        Config.AsyncCD = 1;
-                        Config.CHD_Precache = 0;
-                 }
-                 else if (strcmp(var.value, "sync") == 0)
-                 {
-                        Config.AsyncCD = 0;
-                        Config.CHD_Precache = 0;
-                 }
-                 else if (strcmp(var.value, "precache") == 0)
-                 {
-                        Config.AsyncCD = 0;
-                        Config.CHD_Precache = 1;
-                 }
-       }
-   }
-#endif
-
    var.value = NULL;
    var.key = "pcsx_rearmed_noxadecoding";
    if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value)