fix HomeResFile stack return

This commit is contained in:
Kelvin Sherlock 2014-12-23 08:44:45 -05:00
parent e377025e48
commit 09d17315d3

View File

@ -1111,6 +1111,7 @@ namespace RM
auto iter = rhandle_map.find(theResource); auto iter = rhandle_map.find(theResource);
if (iter == rhandle_map.end()) if (iter == rhandle_map.end())
{ {
ToolReturn<2>(sp, -1);
return SetResError(MacOS::resNotFound); return SetResError(MacOS::resNotFound);
} }