mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-07-08 20:24:49 -04:00
more asset preparation
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#ifndef MSL_PRINTF_H
|
||||
#define MSL_PRINTF_H
|
||||
|
||||
#include "types.h"
|
||||
#include "va_args.h"
|
||||
|
||||
|
||||
void vprintf(const char*, va_list);
|
||||
void print(const char*, ...);
|
||||
|
||||
#endif
|
||||
@@ -24,15 +24,11 @@ extern void __OSCacheInit();
|
||||
#define OSErrorLine(line, ...) \
|
||||
OSPanic(__FILE__, line, __VA_ARGS__)
|
||||
|
||||
asm BOOL OSDisableInterrupts(void);
|
||||
asm BOOL OSEnableInterrupts(void);
|
||||
asm BOOL OSRestoreInterrupts(BOOL level);
|
||||
|
||||
void __RAS_OSDisableInterrupts_begin(void);
|
||||
void __RAS_OSDisableInterrupts_end(void);
|
||||
|
||||
void OSResetSystem(u32, u32, u32); // goes in reset, but eh
|
||||
void OSInit(void);
|
||||
|
||||
|
||||
typedef void (*OSExceptionHandler)(u8, OSContext*);
|
||||
OSExceptionHandler __OSSetExceptionHandler(u8, OSExceptionHandler);
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
#ifndef OS_INTERRUPT_H
|
||||
#define OS_INTERRUPT_H
|
||||
#include "types.h"
|
||||
|
||||
|
||||
BOOL OSDisableInterrupts(void);
|
||||
BOOL OSEnableInterrupts(void);
|
||||
BOOL OSRestoreInterrupts(BOOL status);
|
||||
|
||||
void __RAS_OSDisableInterrupts_begin(void);
|
||||
void __RAS_OSDisableInterrupts_end(void);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,9 @@
|
||||
#ifndef OS_RTC_H
|
||||
#define OS_RTC_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
u32 __OSSyncSram(void);
|
||||
void __OSSetBootMode(u8);
|
||||
|
||||
#endif
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "types.h"
|
||||
#include "dolphin/os/OSMemory.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "dolphin/os/OSInterrupt.h"
|
||||
|
||||
asm void Config24MB();
|
||||
asm void Config48MB();
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef FAULT_H
|
||||
#define FAULT_H
|
||||
#include "types.h"
|
||||
#include "dolphin/OS/os.h"
|
||||
#include "dolphin/os/OSInterrupt.h"
|
||||
#include "libultra/libultra.h"
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
#ifndef LIB_OS_REPORT_H
|
||||
#define LIB_OS_REPORT_H
|
||||
|
||||
#include "types.h"
|
||||
#include "va_args.h"
|
||||
|
||||
void OSReportDisable(void);
|
||||
void OSReportEnable(void);
|
||||
|
||||
void OSVReport(const char*, va_list);
|
||||
|
||||
void OSReport(const char*,...);
|
||||
void OSPanic(const char*, u32, const char*,...);
|
||||
|
||||
void OSChangeBootMode(u32);
|
||||
|
||||
void OSDVDFatalError(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user