Decompile jpegdecoder.c, padsetup.c and code_800C3C20.c (#217)

* Decompile jpegdecoder.c, padsetup.c and code_800C3C20.c

* change func_800C3C20's prototype and rename some fields in jpeg related structs

* Fix comment in Jpeg_GetU16 and change func_800C3C20

* use a switch in padsetup.c
This commit is contained in:
Random
2020-06-22 00:43:14 +02:00
committed by GitHub
parent afce6a3c36
commit ab1ec89f22
18 changed files with 389 additions and 653 deletions
-16
View File
@@ -1,16 +0,0 @@
.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 purpose registers
.section .data
.balign 16
glabel D_8012D200
.incbin "baserom.z64", 0xBA43A0, 0x7
glabel D_8012D207
.incbin "baserom.z64", 0xBA43A7, 0x9
-25
View File
@@ -1,25 +0,0 @@
.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 purpose registers
.section .bss
.balign 16
glabel D_80175660
.space 0x4
glabel D_80175664
.space 0x4
glabel D_80175668
.space 0x1
glabel D_80175669
.space 0x3
glabel D_8017566C
.space 0x4