mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 09:56:30 +00:00
Added a debug line to allow tracking of script execution
svn-id: r42799
This commit is contained in:
parent
da4367096e
commit
ad7762ad16
@ -23,6 +23,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "cruise/cruise.h"
|
||||
#include "cruise/cruise_main.h"
|
||||
#include "common/endian.h"
|
||||
|
||||
@ -632,7 +633,11 @@ int executeScripts(scriptInstanceStruct *ptr) {
|
||||
#endif
|
||||
opcodeType = getByteFromScript();
|
||||
|
||||
// printf("opType: %d\n",(opcodeType&0xFB)>>3);
|
||||
debugC(5, kCruiseDebugScript, "Script %s/%d ip=%d opcode=%d",
|
||||
overlayTable[currentScriptPtr->overlayNumber].overlayName,
|
||||
currentScriptPtr->scriptNumber,
|
||||
currentScriptPtr->scriptOffset,
|
||||
(opcodeType & 0xFB) >> 3);
|
||||
|
||||
currentScriptOpcodeType = opcodeType & 7;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user