SCI: Add setter/getter methods to reg_t's
No functionality change has been made with this commit. This avoids setting and getting the reg_t members directly, and is the basis of any future work on large SCI3 scripts (larger than 64KB)
This commit is contained in:
parent
3c04d333f2
commit
2b50824133
36 changed files with 457 additions and 425 deletions
|
@ -269,7 +269,7 @@ Common::String DirSeeker::getVirtualFilename(uint fileNumber) {
|
|||
|
||||
reg_t DirSeeker::firstFile(const Common::String &mask, reg_t buffer, SegManager *segMan) {
|
||||
// Verify that we are given a valid buffer
|
||||
if (!buffer.segment) {
|
||||
if (!buffer.getSegment()) {
|
||||
error("DirSeeker::firstFile('%s') invoked with invalid buffer", mask.c_str());
|
||||
return NULL_REG;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue