Merge branch 'Rainchus:main' into main

This commit is contained in:
CreateSource 2023-11-23 08:45:54 -05:00 committed by GitHub
commit eb6d6bf760
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)