diff options
author | Filippos Karapetis | 2018-08-25 12:21:36 +0300 |
---|---|---|
committer | Filippos Karapetis | 2018-08-25 12:39:12 +0300 |
commit | 941869c466354356c7ebf76e5c6fe37fe06785cf (patch) | |
tree | f08ad9e3db85b01e5e4583caa476aab6d69bf6ab /engines/sci/sci.h | |
parent | 66cbaeefe20967348bb5306272f937dba0281021 (diff) | |
download | scummvm-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.h | 2 |
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); |