aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;