]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Deep trainer fix.
authorToni Wilen <twilen@winuae.net>
Sat, 23 May 2015 11:10:30 +0000 (14:10 +0300)
committerToni Wilen <twilen@winuae.net>
Sat, 23 May 2015 11:10:30 +0000 (14:10 +0300)
debug.cpp

index 7f9436d9fa39fe06879317134ff5a73d5a00065f..d868c3c7d0bb15de04a8283b69e2071486e6595f 100644 (file)
--- a/debug.cpp
+++ b/debug.cpp
@@ -1620,7 +1620,7 @@ static void deepcheatsearch (TCHAR **c)
                                        doremove = 1;
                                if (deconly && diff > 0)
                                        doremove = 1;
-                       } else if (nonmodified && b != b2) {
+                       } else if (nonmodified && b == b2) {
                                doremove = 1;
                        } else if (!wasmodified && b != b2) {
                                doremove = 1;