diff options
author | Joost Peters | 2003-09-28 19:57:01 +0000 |
---|---|---|
committer | Joost Peters | 2003-09-28 19:57:01 +0000 |
commit | 84ed3e272d7a470fac35e446ad9adbbd2c374f82 (patch) | |
tree | cb14f4bda0f6c63d634dab8224b77b6a2023cf68 /queen/resource.h | |
parent | 07fe952eef4852f8b1429d58befe0eb529679f6d (diff) | |
download | scummvm-rg350-84ed3e272d7a470fac35e446ad9adbbd2c374f82.tar.gz scummvm-rg350-84ed3e272d7a470fac35e446ad9adbbd2c374f82.tar.bz2 scummvm-rg350-84ed3e272d7a470fac35e446ad9adbbd2c374f82.zip |
use new operator instead of malloc() and added generic file loading function
svn-id: r10470
Diffstat (limited to 'queen/resource.h')
-rw-r--r-- | queen/resource.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/resource.h b/queen/resource.h index b36d0ad6ef..31c1269163 100644 --- a/queen/resource.h +++ b/queen/resource.h @@ -44,7 +44,7 @@ class QueenResource { public: QueenResource(char *datafilePath); ~QueenResource(void); - uint8 *loadJAS(); + uint8 *loadFile(const char *filename); protected: File *_resourceFile; |