mirror of
https://github.com/SMGCommunity/Petari.git
synced 2026-11-10 04:41:32 -10:00
* (Cleanup) offset comments for DinoPackun * (Cleanup) offset comments for SkeletalFishBoss * (Cleanup) offset comments for CameraTranslators * (Cleanup) offset comments for Demos * (Cleanup) offset comments for Enemies * (Cleanup) offset comments for Gravities * (Cleanup) offset comments for LiveActors * (Cleanup) offset comments for Maps * (Cleanup) offset comments for MapObjs * (Cleanup) offset comments for NameObjs * (Cleanup) offset comments for NPCs * (Cleanup) offset comments for Player * (Cleanup) offset comments for Scenes * (Cleanup) offset comments for System * (Cleanup) offset comments for Utils * (Cleanup) offset comments for JSystem * (Cleanup) offset comments for MetroTRK * forgot the union comments * (Cleanup) offset comments for MSL_C * (Cleanup) offset comments for nw4r * (Cleanup) offset comments for the SDK * (Cleanup) offset comments for all that was left
23 lines
534 B
C++
23 lines
534 B
C++
#pragma once
|
|
|
|
#include "Game/System/FileHolder.hpp"
|
|
#include "Game/System/OSThreadWrapper.hpp"
|
|
|
|
struct RequestFileInfo {
|
|
/* 0x00 */ u32 _0;
|
|
/* 0x04 */ s32 mRequestType;
|
|
/* 0x08 */ char mFileName[0x80];
|
|
/* 0x88 */ volatile u32 _88;
|
|
/* 0x8C */ FileHolderFileEntry* mFileEntry;
|
|
};
|
|
|
|
class FileLoaderThread : public OSThreadWrapper {
|
|
public:
|
|
FileLoaderThread(int, int, JKRHeap*);
|
|
|
|
virtual void* run();
|
|
|
|
void loadToMainRAM(RequestFileInfo*);
|
|
void mountArchiveAndStartCreateResource(RequestFileInfo*);
|
|
};
|