Implement V8 queryQuit opcode

svn-id: r13461
This commit is contained in:
Max Horn 2004-04-04 19:24:03 +00:00
parent d859bebb90
commit 70237e74c9

View File

@ -1371,7 +1371,10 @@ void ScummEngine_v8::o8_kernelSetFunctions() {
warning("o8_kernelSetFunctions: paletteSetIntensity(%d, %d)", args[1], args[2]);
break;
case 34: // queryQuit
warning("o8_kernelSetFunctions: queryQuit()");
if (_confirmExit)
confirmexitDialog();
else
_quit = true;
break;
case 108: // buildPaletteShadow
setupShadowPalette(args[1], args[2], args[3], args[4], args[5], args[6]);