From 18792b232880869c7e1ae2a6ff3b8500d3a6d6f2 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 3 Jan 2017 17:49:45 +1000 Subject: [PATCH] FifoPlayer: Don't set BPMEM_PRELOAD_MODE on load Since in this case we're setting it based on the state at record start time, not when a register is loaded, UseMemory would not be called, so this could potentially wipe out texture memory that was valid. --- Source/Core/Core/FifoPlayer/FifoPlayer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Core/FifoPlayer/FifoPlayer.cpp b/Source/Core/Core/FifoPlayer/FifoPlayer.cpp index f42cfd00c1..036e2581c2 100644 --- a/Source/Core/Core/FifoPlayer/FifoPlayer.cpp +++ b/Source/Core/Core/FifoPlayer/FifoPlayer.cpp @@ -535,6 +535,7 @@ bool FifoPlayer::ShouldLoadBP(u8 address) case BPMEM_PE_TOKEN_INT_ID: case BPMEM_TRIGGER_EFB_COPY: case BPMEM_LOADTLUT1: + case BPMEM_PRELOAD_MODE: case BPMEM_PERF1: return false; default: