diff options
| author | Jcw87 <Jcw87@users.noreply.github.com> | 2023-09-22 18:59:11 -0700 |
|---|---|---|
| committer | Jcw87 <Jcw87@users.noreply.github.com> | 2023-09-24 01:45:16 -0700 |
| commit | db18620f38e69b0832d4bf905081ea1002014ece (patch) | |
| tree | 5a80677c48482fd84cecd276fd4c872a6ef5857b /include/JSystem/JKernel | |
| parent | 1e91dff441bffa1187991ffbff18f096b4727d8a (diff) | |
JKRFileCache
Diffstat (limited to 'include/JSystem/JKernel')
| -rw-r--r-- | include/JSystem/JKernel/JKRFileCache.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/JSystem/JKernel/JKRFileCache.h b/include/JSystem/JKernel/JKRFileCache.h index b4b9830b..892f1670 100644 --- a/include/JSystem/JKernel/JKRFileCache.h +++ b/include/JSystem/JKernel/JKRFileCache.h @@ -41,10 +41,10 @@ public: /* vt[12] */ virtual u32 getResSize(const void*) const; /* override */ /* vt[13] */ virtual u32 countFile(const char*) const; /* override */ /* vt[14] */ virtual JKRFileFinder* getFirstFile(const char*) const; /* override */ - /* vt[15] */ virtual void* getFsResource(const char*); - /* vt[16] */ virtual void* getNameResource(u32, const char*); - /* vt[17] */ virtual u32 readFsResource(void*, u32, const char*); - /* vt[18] */ virtual u32 readNameResource(void*, u32, u32, const char*); + /* vt[15] */ virtual void* getFsResource(const char* path) { return getResource(path); } + /* vt[16] */ virtual void* getNameResource(u32 type, const char* path) { return getResource(type, path); } + /* vt[17] */ virtual u32 readFsResource(void* dst, u32 dstLength, const char* path) { return readResource(dst, dstLength, path); } + /* vt[18] */ virtual u32 readNameResource(void* dst, u32 dstLength, u32 type, const char* path) { return readResource(dst, dstLength, type, path); } private: /* 0x00 */ // vtable |
