mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-08 15:30:14 +00:00
Decompile z_jpeg.c (#70)
* Decompile z_jpeg.c - Decompile z_jpeg.c - Move .bss variables from fault.c and fault_drawer.c into .s files to avoid bss reordering * Rename JPEGWork to JpegWork and minor fix in Jpeg_GetU16
This commit is contained in:
parent
f3c945cc82
commit
298abfb128
22 changed files with 577 additions and 629 deletions
23
data/fault.bss.s
Normal file
23
data/fault.bss.s
Normal file
|
@ -0,0 +1,23 @@
|
|||
.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 sFaultStructPtr
|
||||
.space 4
|
||||
|
||||
glabel sFaultIsWaitingForInput
|
||||
.space 4
|
||||
|
||||
glabel sFaultStack
|
||||
.space 0x600
|
||||
|
||||
glabel sFaultThreadInfo
|
||||
.space 0x20
|
||||
|
||||
glabel gFaultStruct
|
||||
.space 0x850
|
Loading…
Add table
Add a link
Reference in a new issue