From 5ed9b3c2a05110a7345bd74be8543ce1eafef6a7 Mon Sep 17 00:00:00 2001 From: Sour Date: Sun, 3 Nov 2019 20:13:25 -0500 Subject: [PATCH] Libretro: Fixed "All 0s" ram power on state option not working as expected --- Libretro/libretro.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libretro/libretro.cpp b/Libretro/libretro.cpp index 5259cf8..6a0065d 100644 --- a/Libretro/libretro.cpp +++ b/Libretro/libretro.cpp @@ -364,7 +364,7 @@ extern "C" { string value = string(var.value); if(value == "Random Values (Default)") { emulation.RamPowerOnState = RamState::Random; - } else if(value == "All 0s ") { + } else if(value == "All 0s") { emulation.RamPowerOnState = RamState::AllZeros; } else if(value == "All 1s") { emulation.RamPowerOnState = RamState::AllOnes;