Skip to content

Commit

Permalink
Small cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
hensldm committed Dec 8, 2023
1 parent ec79230 commit 4f8aeeb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/global.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ typedef struct Y511F0UnkStruct {
/* 0x4 */ s16 unk4;
/* 0x8 */ uintptr_t unk8;
/* 0xC */ uintptr_t unkC;
} Y511F0UnkStruct;
} Y511F0UnkStruct; // size = 0x10

extern Y511F0UnkStruct D_800DA840[];

Expand Down
2 changes: 0 additions & 2 deletions linker_scripts/us/symbol_addrs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,3 @@ gOverlayLogSeverity = 0x800AA390; // type:s32
// rodata

// bss
sFaultInputs = 0x80108630; // type:Input size:0x60
debugger = 0x80108698; // type:FaultMgr size:0x5D4
1 change: 1 addition & 0 deletions src/main/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ OSThread* FindFaultedThread(void) {
return NULL;
}

//! TODO: Old libultra header should use this as OS_CYCLES_TO_USEC?
#define OS_CYCLES_TO_USEC_ALT(c) (((u64)(c) * (1000000LL / 15625LL)) / (osClockRate / 15625LL))

void Fault_WaitButtonCombo(void) {
Expand Down

0 comments on commit 4f8aeeb

Please sign in to comment.