mirror of
https://github.com/zeldaret/ss
synced 2026-07-10 06:26:47 -04:00
Cleanups
This commit is contained in:
@@ -25,17 +25,6 @@ private:
|
||||
void* mpBuffer;
|
||||
};
|
||||
|
||||
class unkstruct_c {
|
||||
public:
|
||||
static unkstruct_c *create(EGG::Heap *heap);
|
||||
void init();
|
||||
char getUnk();
|
||||
|
||||
private:
|
||||
UNKWORD field_0x0;
|
||||
char field_0x4;
|
||||
};
|
||||
|
||||
} // dDvd
|
||||
|
||||
#endif
|
||||
|
||||
+5
-4
@@ -7,6 +7,8 @@
|
||||
#include <egg/core/eggThread.h>
|
||||
#include <m/m_heap.h>
|
||||
|
||||
// Note: names are taken from NSMBW where available but a lot are made up
|
||||
|
||||
void unk_initDecompressors();
|
||||
|
||||
namespace mDvd {
|
||||
@@ -56,6 +58,7 @@ public:
|
||||
void waitDone();
|
||||
void waitUntilDone();
|
||||
static void destroy(mDvd_command_c **cmd);
|
||||
void do_delete();
|
||||
|
||||
void *operator new(size_t size);
|
||||
void operator delete(void *ptr);
|
||||
@@ -117,6 +120,7 @@ public:
|
||||
|
||||
static mDvd_toMainRam_arc_c *makeRequest(EGG::Archive *arc, int entryNum, int mountDirection, EGG::Heap *heap);
|
||||
static mDvd_toMainRam_arc_c *create(EGG::Archive *arc, const char *path, int mountDirection, EGG::Heap *heap);
|
||||
static mDvd_toMainRam_arc_c *createOrFail(EGG::Archive *arc, const char *path, int mountDirection, EGG::Heap *heap);
|
||||
|
||||
EGG::Archive *mArcPtr;
|
||||
int mEntryNum;
|
||||
@@ -130,6 +134,7 @@ public:
|
||||
virtual void doClear();
|
||||
|
||||
static mDvd_toMainRam_normal_c *create(const char *path, int mountDirection, EGG::Heap *heap);
|
||||
static mDvd_toMainRam_normal_c *createOrFail(const char *path, int mountDirection, EGG::Heap *heap);
|
||||
static void create2(mDvd_toMainRam_normal_c **cmd, const char *path, int mountDirection, EGG::Heap *heap);
|
||||
|
||||
u8 mCompressionType2;
|
||||
@@ -178,8 +183,4 @@ public:
|
||||
};
|
||||
} // namespace mDvd
|
||||
|
||||
extern "C" void fn_802EF480(mDvd_command_c *cmd);
|
||||
extern "C" mDvd_toMainRam_normal_c *fn_802F0030(const char *path, int mountDirection, EGG::Heap *heap);
|
||||
extern "C" mDvd_toMainRam_arc_c *fn_802EFE90(EGG::Archive *arc, const char *path, int mountDirection, EGG::Heap *heap);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#ifndef OSLINK_H
|
||||
#define OSLINK_H
|
||||
|
||||
#include <common.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user