aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2018-10-18 03:10:17 +0200
committerStapleButter <thetotalworm@gmail.com>2018-10-18 03:10:17 +0200
commitf51e1ec80583a6b0a391150668371b3eb902804a (patch)
tree28cb360354fe538cef2d31810e7931bc7d6d5fc7 /src
parent86f5155f725a01805dd389aaaaef8d3be705617d (diff)
I guess that might have malfunctioned
Diffstat (limited to 'src')
-rw-r--r--src/NDS.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NDS.cpp b/src/NDS.cpp
index 82d1771..0280c39 100644
--- a/src/NDS.cpp
+++ b/src/NDS.cpp
@@ -406,7 +406,7 @@ bool DoSavestate_Scheduler(Savestate* file)
break;
}
}
- if (funcid < 0)
+ if (funcid == -1)
{
printf("savestate: VERY BAD!!!!! FUNCTION POINTER FOR EVENT %d NOT IN HACKY LIST. CANNOT SAVE. SMACK STAPLEBUTTER.\n", i);
return false;