diff options
| author | Random <28494085+Random06457@users.noreply.github.com> | 2020-04-14 01:03:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-13 19:03:10 -0400 |
| commit | 298abfb1280134a4def3dc30fab1530edcb64bb8 (patch) | |
| tree | 96441fd1e1a263ebfd91c23343d6296c4fd96ead /src/code/graph.c | |
| parent | f3c945cc8227ae308b0e8dba25703b7c5ee99832 (diff) | |
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
Diffstat (limited to 'src/code/graph.c')
| -rw-r--r-- | src/code/graph.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/code/graph.c b/src/code/graph.c index cd7f5fe2b..5e1d2563d 100644 --- a/src/code/graph.c +++ b/src/code/graph.c @@ -13,13 +13,19 @@ FaultClient sGraphFaultClient; CfbInfo sGraphCfbInfos[3]; FaultClient sGraphUcodeFaultClient; +// clang-format off UCodeInfo D_8012D230[3] = { - { 1, D_80155F50 }, { 2, NULL }, { 3, D_801120C0 + 0xFB0 }, // D_80113070 + { 1, D_80155F50 }, + { 2, NULL }, + { 3, D_80113070 }, }; UCodeInfo D_8012D248[3] = { - { 1, D_80155F50 }, { 2, NULL }, { 3, D_801120C0 + 0xFB0 }, // D_80113070 + { 1, D_80155F50 }, + { 2, NULL }, + { 3, D_80113070 }, }; +// clang-format on void Graph_FaultClient() { void* nextFb; @@ -208,9 +214,9 @@ void Graph_TaskSet00(GraphicsContext* gfxCtx) { task->type = M_GFXTASK; task->flags = OS_SC_DRAM_DLIST; task->ucode_boot = SysUcode_GetUCodeBoot(); - task->ucode_boot_size = SysUcode_GetUcodeBootSize(); - task->ucode = SysUcode_GetUcode(); - task->ucode_data = SysUcode_GetUcodeData(); + task->ucode_boot_size = SysUcode_GetUCodeBootSize(); + task->ucode = SysUcode_GetUCode(); + task->ucode_data = SysUcode_GetUCodeData(); task->ucode_size = 0x1000; task->ucode_data_size = 0x800; task->dram_stack = gGfxSPTaskStack; |
