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:
Max Horn 2005-03-31 21:39:31 +00:00
parent 59331fe535
commit ac247c9b94
20 changed files with 211 additions and 193 deletions

View file

@ -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);
}
}