aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/script.h
diff options
context:
space:
mode:
authorFilippos Karapetis2012-06-23 21:38:46 +0300
committerFilippos Karapetis2012-06-23 21:45:26 +0300
commit20b677080881580706652b17dd5a4c3ed3e36c07 (patch)
tree299521363c9962767c2acc7f28a6bb4f8aa747de /engines/sci/engine/script.h
parentc1eb93bc5a9866787f27add5ca1d821e1470a4be (diff)
downloadscummvm-rg350-20b677080881580706652b17dd5a4c3ed3e36c07.tar.gz
scummvm-rg350-20b677080881580706652b17dd5a4c3ed3e36c07.tar.bz2
scummvm-rg350-20b677080881580706652b17dd5a4c3ed3e36c07.zip
SCI: Change the program counter (PC) to be a 32-bit variable
This is needed for future support of large SCI3 scripts. The program counter is isolated and does not interfere with other parts of the VM, plus it does not get stored in saved games, so it's pretty straightforward to convert
Diffstat (limited to 'engines/sci/engine/script.h')
-rw-r--r--engines/sci/engine/script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/script.h b/engines/sci/engine/script.h
index 9747f072c5..1fc8caf313 100644
--- a/engines/sci/engine/script.h
+++ b/engines/sci/engine/script.h
@@ -201,7 +201,7 @@ public:
* @return NULL if the public function is invalid, its
* offset into the script's segment otherwise
*/
- uint16 validateExportFunc(int pubfunct, bool relocateSci3);
+ uint32 validateExportFunc(int pubfunct, bool relocateSci3);
/**
* Marks the script as deleted.