aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.h
diff options
context:
space:
mode:
authorFilippos Karapetis2018-08-25 12:21:36 +0300
committerFilippos Karapetis2018-08-25 12:39:12 +0300
commit941869c466354356c7ebf76e5c6fe37fe06785cf (patch)
treef08ad9e3db85b01e5e4583caa476aab6d69bf6ab /engines/sci/sci.h
parent66cbaeefe20967348bb5306272f937dba0281021 (diff)
downloadscummvm-rg350-941869c466354356c7ebf76e5c6fe37fe06785cf.tar.gz
scummvm-rg350-941869c466354356c7ebf76e5c6fe37fe06785cf.tar.bz2
scummvm-rg350-941869c466354356c7ebf76e5c6fe37fe06785cf.zip
SCI32: Remove reg32_t and use reg_t in all cases
reg32_t was a transitive solution, before reg_t's were adapted to use 32-bit addresses internally, and before support for SCI3 was added. It was introduced as another way to handle large script offsets in SCI3, and was only used for the program counter (PC). It's no longer needed, as we now support SCI3 script offsets using reg_t's, so we can use make_reg32 in all cases where we need to access offsets over 64KB
Diffstat (limited to 'engines/sci/sci.h')
-rw-r--r--engines/sci/sci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sci.h b/engines/sci/sci.h
index 6245d186c6..09b1f8f95a 100644
--- a/engines/sci/sci.h
+++ b/engines/sci/sci.h
@@ -316,7 +316,7 @@ public:
void scriptDebug();
bool checkExportBreakpoint(uint16 script, uint16 pubfunct);
bool checkSelectorBreakpoint(BreakpointType breakpointType, reg_t send_obj, int selector);
- bool checkAddressBreakpoint(const reg32_t &address);
+ bool checkAddressBreakpoint(const reg_t &address);
public:
bool checkKernelBreakpoint(const Common::String &name);