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
83 lines
1.1 KiB
ArmAsm
83 lines
1.1 KiB
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 D_8016A500
|
|
.space 0x4
|
|
|
|
glabel D_8016A504
|
|
.space 0x4
|
|
|
|
glabel D_8016A508
|
|
.space 0x4
|
|
|
|
glabel D_8016A50C
|
|
.space 0x4
|
|
|
|
glabel D_8016A510
|
|
.space 0x4
|
|
|
|
glabel D_8016A514
|
|
.space 0x4
|
|
|
|
glabel D_8016A518
|
|
.space 0x4
|
|
|
|
glabel D_8016A51C
|
|
.space 0x4
|
|
|
|
glabel D_8016A520
|
|
.space 0x8
|
|
|
|
glabel D_8016A528
|
|
.space 0x8
|
|
|
|
glabel D_8016A530
|
|
.space 0x8
|
|
|
|
glabel D_8016A538
|
|
.space 0x8
|
|
|
|
glabel D_8016A540
|
|
.space 0x8
|
|
|
|
glabel D_8016A548
|
|
.space 0x8
|
|
|
|
glabel D_8016A550
|
|
.space 0x8
|
|
|
|
glabel D_8016A558
|
|
.space 0x4
|
|
|
|
glabel D_8016A55C
|
|
.space 0x4
|
|
|
|
glabel D_8016A560
|
|
.space 0x4
|
|
|
|
glabel D_8016A564
|
|
.space 0x4
|
|
|
|
glabel D_8016A568
|
|
.space 0x4
|
|
|
|
glabel D_8016A56C
|
|
.space 0x4
|
|
|
|
glabel D_8016A570
|
|
.space 0x4
|
|
|
|
glabel D_8016A574
|
|
.space 0xC
|
|
|
|
glabel D_8016A580
|
|
.space 0x8
|
|
|
|
glabel gSpeedMeterTimeEntryPtr
|
|
.space 0x8
|