mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
SCI: Improved debug output of validate_property()
This commit is contained in:
parent
ce9796baa3
commit
aaa6c9a071
@ -118,8 +118,8 @@ static reg_t &validate_property(EngineState *s, Object *obj, int index) {
|
||||
if (index < 0 || (uint)index >= obj->getVarCount()) {
|
||||
// This is same way sierra does it and there are some games, that contain such scripts like
|
||||
// iceman script 998 (fred::canBeHere, executed right at the start)
|
||||
debugC(kDebugLevelVM, "[VM] Invalid property #%d (out of [0..%d]) requested!",
|
||||
index, obj->getVarCount());
|
||||
debugC(kDebugLevelVM, "[VM] Invalid property #%d (out of [0..%d]) requested from object %04x:%04x (%s)",
|
||||
index, obj->getVarCount(), PRINT_REG(obj->getPos()), s->_segMan->getObjectName(obj->getPos()));
|
||||
return dummyReg;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user