mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
MOHAWK: Implement the quit notify LBCode command
This commit is contained in:
parent
eb731514f7
commit
5fad3d5362
@ -785,6 +785,16 @@ void LBCode::runNotifyCommand() {
|
||||
}
|
||||
break;
|
||||
|
||||
case kLBNotifyQuit:
|
||||
{
|
||||
debugN("quit");
|
||||
Common::Array<LBValue> params = readParams();
|
||||
if (params.size() != 0)
|
||||
error("incorrect number of parameters (%d) to quit", params.size());
|
||||
_vm->addNotifyEvent(NotifyEvent(kLBNotifyQuit, 0));
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
error("unknown notify command %02x in code", commandType);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user