From d8b0ac03e5fea6a08468d00cd04a18bb34a98cbd Mon Sep 17 00:00:00 2001 From: cottonvibes Date: Fri, 28 May 2010 21:49:50 +0000 Subject: [PATCH] Fixed patches/cheats still being applied on game reboot if they have been disabled. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3106 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/R5900.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/R5900.cpp b/pcsx2/R5900.cpp index eb7e6cdb0e..7c18c4fa6b 100644 --- a/pcsx2/R5900.cpp +++ b/pcsx2/R5900.cpp @@ -616,8 +616,8 @@ void __fastcall eeGameStarting() if (0) ProfilerSetEnabled(true); } - ApplyPatch(0); - ApplyCheat(0); + if (EmuConfig.EnablePatches) ApplyPatch(0); + if (EmuConfig.EnableCheats) ApplyCheat(0); } void __fastcall eeloadReplaceOSDSYS()