Started to move some resource related code into a new class ResourceManager (hypothetic goal for the future: use ResourceManager in ScummEx)
svn-id: r17311
This commit is contained in:
parent
59331fe535
commit
ac247c9b94
20 changed files with 211 additions and 193 deletions
|
@ -782,9 +782,9 @@ void ScummEngine_v2::o2_resourceRoutines() {
|
|||
ensureResourceLoaded(type, resid);
|
||||
} else {
|
||||
if (opcode & 1)
|
||||
lock(type, resid);
|
||||
res.lock(type, resid);
|
||||
else
|
||||
unlock(type, resid);
|
||||
res.unlock(type, resid);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue