Debugger: Lua - removeMemoryCallback end address is now optional (like it was meant to be)

This commit is contained in:
Sour 2018-06-14 18:36:31 -04:00
parent bdd13065c4
commit 7528c1fd06

View File

@ -273,7 +273,7 @@ int LuaApi::UnregisterMemoryCallback(lua_State *lua)
LuaCallHelper l(lua);
l.ForceParamCount(4);
int endAddr = l.ReadInteger();
int endAddr = l.ReadInteger(-1);
int startAddr = l.ReadInteger();
CallbackType type = (CallbackType)l.ReadInteger();
int reference = l.ReadInteger();