diff options
Diffstat (limited to 'src/wmresourcemng.h')
-rw-r--r-- | src/wmresourcemng.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wmresourcemng.h b/src/wmresourcemng.h index 910acf1..4789856 100644 --- a/src/wmresourcemng.h +++ b/src/wmresourcemng.h @@ -51,6 +51,11 @@ public: void *dataForIndex(u32 index) { return resLoaders[index].buffer; } + + // TODO: refactor this, it's a bit strange atm + bool isResFile_byIndex(u32 index) { + return (memcmp(dataForIndex(index), "bres", 4) == 0); + } }; #endif |