aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/fileio.h
diff options
context:
space:
mode:
authorD G Turner2014-01-12 02:59:21 +0000
committerD G Turner2014-01-12 02:59:21 +0000
commit4e592c724904bb0bc597e5bc7fe7707c1f858dab (patch)
treeecbe1d2083663b1eef44bf9c2070e89d07cb0816 /engines/cge/fileio.h
parent1e95a49892e43a26c6a056b0583753728c4c7616 (diff)
downloadscummvm-rg350-4e592c724904bb0bc597e5bc7fe7707c1f858dab.tar.gz
scummvm-rg350-4e592c724904bb0bc597e5bc7fe7707c1f858dab.tar.bz2
scummvm-rg350-4e592c724904bb0bc597e5bc7fe7707c1f858dab.zip
CGE: Remove unecessary void pointer usage in resource file I/O.
Diffstat (limited to 'engines/cge/fileio.h')
-rw-r--r--engines/cge/fileio.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/cge/fileio.h b/engines/cge/fileio.h
index cee1fa79ef..653aabae8f 100644
--- a/engines/cge/fileio.h
+++ b/engines/cge/fileio.h
@@ -83,15 +83,15 @@ class ResourceManager {
} _buff[kBtLevel];
BtPage *getPage(int level, uint16 pageId);
- uint16 catRead(void *buf, uint16 length);
+ uint16 catRead(byte *buf, uint16 length);
Common::File *_catFile;
Common::File *_datFile;
- uint16 XCrypt(void *buf, uint16 length);
+ uint16 XCrypt(byte *buf, uint16 length);
public:
ResourceManager();
~ResourceManager();
- uint16 read(void *buf, uint16 length);
+ uint16 read(byte *buf, uint16 length);
bool seek(int32 offs, int whence = 0);
BtKeypack *find(const char *key);
@@ -111,7 +111,7 @@ public:
bool seek(int32 offset);
int32 pos();
int32 size();
- uint32 read(void *dataPtr, uint32 dataSize);
+ uint32 read(byte *dataPtr, uint32 dataSize);
Common::String readLine();
};