delete variables.h

This commit is contained in:
Pheenoh
2021-02-20 23:11:44 -05:00
parent d102f73e7a
commit 5fbe9419f9
106 changed files with 3046 additions and 2838 deletions
@@ -1,6 +1,7 @@
#ifndef JKRARAMHEAP_H_
#define JKRARAMHEAP_H_
#include "JSystem/JKernel/JKRAramBlock/JKRAramBlock.h"
#include "JSystem/JKernel/JKRDisposer/JKRDisposer.h"
#include "dolphin/types.h"
#include "global.h"
+1
View File
@@ -4,6 +4,7 @@
#include "JSystem/JAudio2/JAISe/JAISe.h"
#include "JSystem/JAudio2/JAISound/JAISound.h"
#include "global.h"
#include "mtx_vec.h"
class Z2SoundObjBase;
+1
View File
@@ -6,6 +6,7 @@
#include "Z2AudioLib/Z2Param/Z2Param.h"
#include "Z2AudioLib/Z2SeqMgr/Z2SeqMgr.h"
#include "global.h"
#include "mtx_vec.h"
struct Z2MultiSeObj {
Z2MultiSeObj();
@@ -5,6 +5,7 @@
#include "Z2AudioLib/Z2SoundHandles/Z2SoundHandles.h"
#include "Z2AudioLib/Z2SoundStarter/Z2SoundStarter.h"
#include "global.h"
#include "mtx_vec.h"
/* struct Z2SoundObjBase_vtable {
void* field_0x0;
@@ -2,6 +2,7 @@
#define Z2STATUSMGR_H_
#include "global.h"
#include "mtx_vec.h"
struct Z2StatusMgr {
Z2StatusMgr(void);
+3 -1
View File
@@ -19,6 +19,9 @@
#define FLOAT_LABEL(x) (*(f32*)&x)
#define DOUBLE_LABEL(x) (*(f64*)&x)
#define _SDA_BASE_(dummy) 0
#define _SDA2_BASE_(dummy) 0
struct JUTWarn {
JUTWarn& operator<<(const char*) { return *this; }
JUTWarn& operator<<(long) { return *this; }
@@ -30,7 +33,6 @@ struct JUTWarn {
#include "ar/ARQ.h"
#include "mwcc.h"
#include "os/OS.h"
#include "variables.h"
// hack to make functions that return comparisons as int match
extern int __cntlzw(unsigned int);
+1
View File
@@ -3,6 +3,7 @@
#include "JSystem/JUtility/JUTTexture.h"
#include "global.h"
#include "gx/GX.h"
#include "mtx_vec.h"
class view_class {};
-2798
View File
File diff suppressed because it is too large Load Diff
+9
View File
@@ -26,6 +26,15 @@ void orderSync__9JKRDecompFPUcPUcUlUl(void);
void startDMA__12JKRAramPieceFP12JKRAMCommand(void);
}
extern u8 lbl_803CC158; // JKRAram::__vt
extern OSMessageQueue sMessageQueue__7JKRAram; // JKRAram::sMessageQueue
extern bool lbl_804513FC; // DAT_804513fc (init global mutex)
extern OSMutex lbl_804342E8; // JKernel::decompMutex (static?)
extern u8 lbl_804342D0; // JKernel::@492 (global destructor chain)
extern u8 sAramCommandList__7JKRAram; // JKRAram::sAramCommandList
extern u8 sSZSBufferSize__7JKRAram; // JKRAram::sSZSBufferSize
extern u8 sMessageBuffer__7JKRAram; // JKRAram::sMessageBuffer
// Uncomment when static initialization is working
// JKRAram* JKRAram::sAramObject = NULL;
// u32 JKRAram::sSZSBufferSize = 0x400;
+3
View File
@@ -34,6 +34,9 @@ void remove__10JSUPtrListFP10JSUPtrLink(void);
}
extern JKRExpHeap* sSystemHeap__7JKRHeap;
extern u8 lbl_803CC348; // JKRAramArchive::__vt
extern JSUList<JKRFileLoader> sVolumeList__13JKRFileLoader; // JKRFileLoader::sVolumeList
extern u8 lbl_8039D188; // "JKRAramArchive.cpp"
asm JKRAramArchive::JKRAramArchive(long, JKRArchive::EMountDirection) {
nofralloc
+2 -2
View File
@@ -1,7 +1,7 @@
#include "JSystem/JKernel/JKRAramBlock/JKRAramBlock.h"
#include "global.h"
#include "JSystem/JKernel/JKRAramHeap/JKRAramHeap.h"
#include "JSystem/JKernel/JKRHeap/JKRHeap.h"
#include "global.h"
JKRAramBlock::JKRAramBlock(u32 address, u32 size, u32 freeSize, u8 groupId, bool isTempMemory)
: mBlockLink(this) {
+4
View File
@@ -1,11 +1,15 @@
#include "JSystem/JKernel/JKRAramHeap/JKRAramHeap.h"
#include "JSystem/JKernel/JKRAramBlock/JKRAramBlock.h"
#include "JSystem/JKernel/JKRHeap/JKRHeap.h"
#include "global.h"
extern "C" {
void __dl__FPv(void);
void __dt__11JKRDisposerFv(void);
}
extern JSUList<JKRAramBlock> lbl_8043430C; // JKRAramHeap::sAramList
extern u8 lbl_803CC168; // JKRAramHeap::__vt
JKRAramHeap::JKRAramHeap(u32 startAddress, u32 size) {
OSInitMutex(&mMutex);
+3
View File
@@ -1,6 +1,7 @@
#include "JSystem/JKernel/JKRAramPiece/JKRAramPiece.h"
#include "JSystem/JKernel/JKRAram/JKRAram.h"
#include "JSystem/JKernel/JKRDecomp/JKRDecomp.h"
#include "JSystem/JKernel/JKRHeap/JKRHeap.h"
#include "global.h"
extern "C" {
@@ -9,6 +10,8 @@ void DCStoreRange(void*, u32);
void JUTException_NS_panic_f(const char* filename, int line, const char* format, ...);
}
extern JSUList<JKRAMCommand> lbl_80434324; // JKRAramPiece::sAramPieceCommandList
JKRAMCommand* JKRAramPiece::prepareCommand(int direction, u32 src, u32 dst, u32 length,
JKRAramBlock* block,
JKRAMCommand::AsyncCallback callback) {
+1
View File
@@ -14,6 +14,7 @@ void orderSync__12JKRAramPieceFiUlUlUlP12JKRAramBlock(void);
extern char lbl_8039D120[32];
extern JKRExpHeap* sSystemHeap__7JKRHeap;
extern JKRHeap* sCurrentHeap__7JKRHeap;
JKRAramStream* JKRAramStream::create(long priority) {
if (!sAramStreamObject) {
+1
View File
@@ -1,4 +1,5 @@
#include "JSystem/JKernel/JKRArchive/JKRArchive.h"
#include "JSystem/JKernel/JKRHeap/JKRHeap.h"
#include "global.h"
#include "msl_c/string.h"
+1
View File
@@ -4,6 +4,7 @@
#include "JSystem/JKernel/JKRDvdArchive/JKRDvdArchive.h"
#include "JSystem/JKernel/JKRFileFinder/JKRFileFinder.h"
#include "JSystem/JKernel/JKRFileLoader/JKRFileLoader.h"
#include "JSystem/JKernel/JKRHeap/JKRHeap.h"
#include "JSystem/JKernel/JKRMemArchive/JKRMemArchive.h"
#include "dvd/dvd.h"
#include "global.h"
+3
View File
@@ -37,6 +37,9 @@ void remove__10JSUPtrListFP10JSUPtrLink(void);
}
extern JKRExpHeap* sSystemHeap__7JKRHeap;
extern u8 lbl_803CC3E8; // JKRCompArchive::__vt
extern JSUList<JKRFileLoader> sVolumeList__13JKRFileLoader; // JKRFileLoader::sVolumeList
extern u8 lbl_8039D220; // "JKRCompArchive.cpp"
asm JKRCompArchive::JKRCompArchive(long, JKRArchive::EMountDirection) {
nofralloc
+6
View File
@@ -1,7 +1,13 @@
#include "JSystem/JKernel/JKRDecomp/JKRDecomp.h"
#include "JSystem/JKernel/JKRAramPiece/JKRAramPiece.h"
#include "JSystem/JKernel/JKRHeap/JKRHeap.h"
#include "global.h"
extern JKRDecomp* lbl_804514B0; // JKRDecomp::sDecompObject
extern OSMessage lbl_803CC460[8]; // JKRDecomp::sMessageBuffer
extern OSMessageQueue lbl_803CC480; // JKRDecomp::sMessageQueue
extern u8 lbl_803CC4A0; // JKRDecomp::__vt
JKRDecomp* JKRDecomp::create(long priority) {
if (!lbl_804514B0) {
lbl_804514B0 = new (JKRHeap::getSystemHeap(), 0) JKRDecomp(priority);
+23
View File
@@ -41,6 +41,29 @@ void write_StreamToAram_Async__13JKRAramStreamFP18JSUFileInputStreamUlUlUlPUl(vo
}
extern JKRExpHeap* sSystemHeap__7JKRHeap;
extern u8 lbl_804508D0; // DAT_804508d0
extern u8 lbl_804343B4; // JKRDvdAramRipper::sDvdAramAsyncList
extern u8 lbl_803CC518; // JSUFileInputStream::__vt
extern u8 lbl_803CC4B0; // JSURandomInputStream::__vt
extern u8 lbl_804343C0; // JKernel::decompMutex
extern u8 lbl_804508D4; // JKRDvdAramRipper::sSZSBufferSize
extern u8 lbl_80451468; // JKernel::szpBuf (static?)
extern u8 lbl_8045146C; // JKernel::szpEnd (static?)
extern u8 lbl_80451470; // JKernel::refBuf (static?)
extern u8 lbl_80451474; // JKernel::refEnd (static?)
extern u8 lbl_80451478; // JKernel::refCurrent (static?)
extern u8 lbl_8045147C; // JKernel::dmaBuf (static?)
extern u8 lbl_80451480; // JKernel::dmaEnd (static?)
extern u8 lbl_80451484; // JKernel::dmaCurrent (static?)
extern u8 lbl_80451488; // JKernel::srcOffset (static?)
extern u8 lbl_8045148C; // JKernel::transLeft (static?)
extern u8 lbl_80451490; // JKernel::srcLimit (static?)
extern u8 lbl_80451494; // JKernel::srcFile (static?)
extern u8 lbl_80451498; // JKernel::fileOffset (static?)
extern u8 lbl_8045149C; // JKernel::readCount (static?)
extern u8 lbl_804514A0; // JKernel::maxDest (static?)
extern u8 lbl_804514A4; // DAT_804514a4 (init global mutex)
extern u8 lbl_804514A8; // JKernel::tsPtr (static?)
static void decompSZS_subroutine(u8*, u32);
static u8* firstSrcData(void);
+2
View File
@@ -20,6 +20,8 @@ void loadToMainRAM__12JKRDvdRipperFlPUc15JKRExpandSwitchUlP7JKRHeapQ212JKRDvdRip
void);
}
extern char lbl_8039D1B0[16]; // "JKRDvdArchive.cpp"
extern JKRExpHeap* sSystemHeap__7JKRHeap;
JKRDvdArchive::JKRDvdArchive(s32 entryNum, JKRArchive::EMountDirection mountDirection)

Some files were not shown because too many files have changed in this diff Show More