Skip to content

Commit

Permalink
Libretro: The "Skip GPU readbacks" parameter was backwards, fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Dec 29, 2023
1 parent a416d94 commit bc889ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libretro/libretro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -642,9 +642,9 @@ static void check_variables(CoreParameter &coreParam)
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value)
{
if (!strcmp(var.value, "disabled"))
g_Config.iSkipGPUReadbackMode = (int)SkipGPUReadbackMode::SKIP;
else
g_Config.iSkipGPUReadbackMode = (int)SkipGPUReadbackMode::NO_SKIP;
else
g_Config.iSkipGPUReadbackMode = (int)SkipGPUReadbackMode::SKIP;
}

var.key = "ppsspp_frameskip";
Expand Down

0 comments on commit bc889ac

Please sign in to comment.