diff options
Diffstat (limited to 'v3/resource.cpp')
-rw-r--r-- | v3/resource.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/v3/resource.cpp b/v3/resource.cpp index 71407cc317..e6836876b9 100644 --- a/v3/resource.cpp +++ b/v3/resource.cpp @@ -124,3 +124,17 @@ void Scumm_v3::readIndexFile() { openRoom(-1); } + +void Scumm_v3::loadCharset(int no){ + uint32 size; + + checkRange(4 ,0 ,no , "Loading illegal charset %d"); + openRoom(-1); + + openRoom(98+no); + + size = fileReadWordLE(); + + fileRead(_fileHandle, createResource(6, no, size), size); + openRoom(-1); +} |