This commit is contained in:
CreateSource 2023-11-23 11:46:01 -05:00
commit e63f0af1c6
86 changed files with 6528 additions and 27 deletions

View file

@ -1,5 +1,6 @@
#include "common.h"
#include "REL/executor.h"
#include "dolphin/os.h"
void ModuleProlog(void) {
OSReport("minigame dll setup\n");

View file

@ -1,4 +1,5 @@
#include "common.h"
#include "dolphin/os.h"
struct decode_data
{

View file

@ -1,7 +1,7 @@
#include "common.h"
#include "dolphin/os.h"
extern int __OSCurrHeap;
extern int currentHeapHandle;
extern OSHeapHandle currentHeapHandle;
static u32 HeapSizeTbl[5] = { 0x240000, 0x140000, 0xA80000, 0x580000, 0 };
static void *HeapTbl[5];

View file

@ -1,4 +1,5 @@
#include "common.h"
#include "dolphin/os.h"
#define DATA_GET_BLOCK(ptr) ((struct memory_block *)(((char *)(ptr))-32))
#define BLOCK_GET_DATA(block) (((char *)(block))+32)