You've already forked ultrasm64-2
mirror of
https://github.com/HackerN64/ultrasm64-2.git
synced 2026-01-21 10:38:08 -08:00
Refresh 7
This commit is contained in:
@@ -4,6 +4,9 @@
|
||||
|
||||
.include "macros.inc"
|
||||
|
||||
.ifdef VERSION_SH
|
||||
.set VERSION_EU, 1 # HACK, someone fix this file, its poorly diff'd!
|
||||
.endif
|
||||
|
||||
.section .text, "ax"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include "hardware.h"
|
||||
#include "new_func.h"
|
||||
#include "macros.h"
|
||||
#ifdef VERSION_EU
|
||||
#if defined(VERSION_EU) || defined(VERSION_SH)
|
||||
u32 D_802F4380() {
|
||||
u32 sp3c;
|
||||
u32 sp38;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#define OS_PI_MGR_MESG_BUFF_SIZE 1
|
||||
|
||||
OSMgrArgs piMgrArgs = { 0 };
|
||||
#ifdef VERSION_EU
|
||||
#if defined(VERSION_EU) || defined(VERSION_SH)
|
||||
OSPiHandle *D_80302DFC = NULL;
|
||||
#endif
|
||||
OSThread piMgrThread;
|
||||
|
||||
@@ -11,7 +11,7 @@ typedef struct {
|
||||
u32 instr03;
|
||||
} exceptionPreamble;
|
||||
|
||||
#ifdef VERSION_EU
|
||||
#if defined(VERSION_EU) || defined(VERSION_SH)
|
||||
extern u32 EU_D_802f4330(u32, void (*));
|
||||
extern void D_802F4380();
|
||||
|
||||
@@ -20,7 +20,7 @@ u32 D_80365CD0; // maybe initialized?
|
||||
u64 osClockRate = 62500000;
|
||||
u32 D_80334808 = 0;
|
||||
|
||||
#ifdef VERSION_EU
|
||||
#if defined(VERSION_EU) || defined(VERSION_SH)
|
||||
u32 EU_D_80336C40;
|
||||
u32 EU_D_80336C44;
|
||||
|
||||
@@ -41,7 +41,7 @@ void osInitialize(void) {
|
||||
u32 sp34;
|
||||
u32 sp30 = 0;
|
||||
|
||||
#ifdef VERSION_EU
|
||||
#if defined(VERSION_EU) || defined(VERSION_SH)
|
||||
UNUSED u32 eu_sp34;
|
||||
UNUSED u32 eu_sp30;
|
||||
#endif
|
||||
@@ -73,7 +73,7 @@ void osInitialize(void) {
|
||||
if (osResetType == RESET_TYPE_COLD_RESET) {
|
||||
bzero(osAppNmiBuffer, sizeof(osAppNmiBuffer));
|
||||
}
|
||||
#ifdef VERSION_EU
|
||||
#if defined(VERSION_EU) || defined(VERSION_SH)
|
||||
eu_sp30 = HW_REG(PI_STATUS_REG, u32);
|
||||
while (eu_sp30 & PI_STATUS_ERROR) {
|
||||
eu_sp30 = HW_REG(PI_STATUS_REG, u32);
|
||||
|
||||
Reference in New Issue
Block a user