mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-11 03:39:59 +00:00
08d9fee6e4
* Decompile speed_meter.c and add VIEWPORT_INIT macro - speed_meter.c: OK - Add VIEWPORT_INIT(viewport, by, rx, ty, lx) macro * get rid of some magic numbers * use early return instead of a big if block in SpeedMeter_DrawTimeEntries
29 lines
461 B
ArmAsm
29 lines
461 B
ArmAsm
.include "macro.inc"
|
|
|
|
# assembler directives
|
|
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
.set gp=64 # allow use of 64-bit general purposee registers
|
|
|
|
.section .bss
|
|
|
|
glabel gSpeedMeter
|
|
.space 0x20
|
|
|
|
glabel D_801664F0
|
|
.space 0x10
|
|
|
|
glabel D_80166500
|
|
.space 0x10
|
|
|
|
glabel D_80166510
|
|
.space 0x18
|
|
|
|
glabel D_80166528
|
|
.space 0x88
|
|
|
|
glabel D_801665B0
|
|
.space 0x10
|
|
|
|
glabel D_801665C0
|
|
.space 0x10
|