mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-08 03:37:02 -04:00
04354aadb9
* before __register_global_object * JKRThread::sThreadList, JKRHeap::sSystemHeap, etc. * cleanup and started on JKRDvdArchive * before changing JKRCompression * more JKRDvdArchive, abs, and memset * fixed JKRArchive::setExpandSize split * JKRArchive::sCurrentDirID, JKRDvdFile::sDvdList, and matching JKRDvdFile constructors * problems * merge fixes and formatting * updated clang version in clang-format-all to version 10 * Added OSPhysicalToCached and struct for global memory * remove useless __attribute__ * changed from defines and macros to const variable and function * changed FLAG_HAS to FLAG_ON * JKRAram, linking problems * fix JKRAram * remove nonmatching stuff * renamed static data * more static class members * JKRAramStream OK * formatting Co-authored-by: Julgodis <> Co-authored-by: Pheenoh <pheenoh@gmail.com>
29 lines
782 B
C++
29 lines
782 B
C++
#ifndef __JKRCOMPARCHIVE_H__
|
|
#define __JKRCOMPARCHIVE_H__
|
|
|
|
#include "JSystem/JKernel/JKRArchive/JKRArchive.h"
|
|
#include "dolphin/types.h"
|
|
|
|
class JKRCompArchive : public JKRArchive {
|
|
public:
|
|
JKRCompArchive(long, JKRArchive::EMountDirection);
|
|
virtual ~JKRCompArchive();
|
|
|
|
void open(long);
|
|
|
|
/* vt[09] */ void removeResourceAll(void); /* override */
|
|
/* vt[10] */ bool removeResource(void*); /* override */
|
|
|
|
/* vt[15] */ u32 getExpandedResSize(const void*); /* override */
|
|
/* vt[16] */ void* fetchResource(SDIFileEntry*, u32*); /* override */
|
|
/* vt[17] */ void* fetchResource(void*, u32, SDIFileEntry*, u32*); /* override */
|
|
|
|
public:
|
|
private:
|
|
/* 0x00 */ // vtable
|
|
/* 0x04 */ // JKRArchive
|
|
u8 unk[36];
|
|
};
|
|
|
|
#endif
|