mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Bump score to 51% with 6 new matches (#381)
* Very minor cleanup of init_controllers after consulting JFG * really rough starts to some funcs * some labeling, and match thread0_Main * Some documenting, and better match for a couple of memory funcs * Add more official names for vars and funcs, as well as clean up some matches a little * Force No Shadows on Surfaces Force No Shadows on Surfaces Committer: sixtyfour On branch DKRsixtyfour Changes to be committed: modified: src/unknown_0255E0.h * identify shadows and fix mislabelling from past-me (#380) * Removed outdated comment * split some funcs out of printf that aren't related * Move funcs to particles that should belong there * Some printf documenting * Do some documenting on the debug font details * Get func_800B63F4 in a good place for now * Match func_800B63F4 * Match render_printf and do some more documenting * Move some functions around into different files. * Match func_800AA3EC * Fix some warnings in func_800AA3EC * Rename the thread 0 assert * Migrate BSS from particles to thread0 and printf * Find and split out a function in particles and do more documenting * Rename sprintf and vsprintf stuff to match JFG * Clean up the texAnimateTexture function, and document some more places. * WIP build_tex_display_list and documenting * Missing file check in * Match memset * build_tex_display_list update with macros * MAssive cleanup of build_tex_display_list that brings the score down in a big way. * Removed a massive amount of extra lines in build_tex_display_list * Match texInitTextures * Update README score * Fix comment * Rename some funcs * Commit suggestions from Fazana * Fix for last commit --------- Co-authored-by: Turok64Nukem <Duke64Nukem@gmail.com> Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>
This commit is contained in:
co-authored by
Turok64Nukem
Fazana
parent
c9fa292c3d
commit
b61e4c3fa4
@@ -145,7 +145,7 @@ glabel __osException
|
||||
/* 0D3A8C 800D2E8C 112A00B0 */ beq $t1, $t2, .L800D3150
|
||||
/* 0D3A90 800D2E90 00000000 */ nop
|
||||
/* 0D3A94 800D2E94 240A002C */ li $t2, 44
|
||||
/* 0D3A98 800D2E98 112A00FF */ beq $t1, $t2, .L800D3298
|
||||
/* 0D3A98 800D2E98 112A00FF */ beq $t1, $t2, handle_CpU
|
||||
/* 0D3A9C 800D2E9C 00000000 */ nop
|
||||
/* 0D3AA0 800D2EA0 240A0000 */ li $t2, 0
|
||||
/* 0D3AA4 800D2EA4 152A00C3 */ bne $t1, $t2, .L800D31B4
|
||||
|
||||
@@ -47,7 +47,7 @@ glabel send_mesg
|
||||
.L800D3290:
|
||||
/* 0D3E90 800D3290 02400008 */ jr $s2
|
||||
/* 0D3E94 800D3294 00000000 */ nop
|
||||
.L800D3298:
|
||||
glabel handle_CpU
|
||||
/* 0D3E98 800D3298 3C013000 */ lui $at, 0x3000
|
||||
/* 0D3E9C 800D329C 01014824 */ and $t1, $t0, $at
|
||||
/* 0D3EA0 800D32A0 00094F02 */ srl $t1, $t1, 0x1c
|
||||
|
||||
+4
-6
@@ -24,7 +24,7 @@
|
||||
#include "types.h"
|
||||
#include "macros.h"
|
||||
#include "audio_internal.h"
|
||||
#include "thread0_epc.h"
|
||||
#include "unknown_B7B30.h"
|
||||
|
||||
// TODO: these come from headers
|
||||
#ident "$Revision: 1.17 $"
|
||||
@@ -111,11 +111,10 @@ Acmd *alEnvmixerPull(void *filter, UNUSED s16 *outp, s32 outCount, s32 sampleOff
|
||||
assert(samples <= AL_MAX_RSP_SAMPLES);
|
||||
#else
|
||||
// Something must have gone wrong when compiling this file, and the asserts got left in.
|
||||
// The function happens to currently live in the thread0 file for some reason.
|
||||
if (samples >= 0) {}
|
||||
else { thread0_Assert("samples >= 0", "env.c", 104); }
|
||||
else { assert_stub("samples >= 0", "env.c", 104); }
|
||||
if (samples <= AL_MAX_RSP_SAMPLES) {}
|
||||
else { thread0_Assert("samples <= AL_MAX_RSP_SAMPLES", "env.c", 105); }
|
||||
else { assert_stub("samples <= AL_MAX_RSP_SAMPLES", "env.c", 105); }
|
||||
#endif
|
||||
|
||||
|
||||
@@ -389,9 +388,8 @@ Acmd* _pullSubFrame(void *filter, s16 *inp, s16 *outp, s32 outCount,
|
||||
assert(source);
|
||||
#else
|
||||
// Something must have gone wrong when compiling this file, and the asserts got left in.
|
||||
// The function happens to currently live in the thread0 file for some reason.
|
||||
if (source) {}
|
||||
else { thread0_Assert("source", "env.c", 373); }
|
||||
else { assert_stub("source", "env.c", 373); }
|
||||
#endif
|
||||
|
||||
ptr = (*source->handler)(source, inp, outCount, sampleOffset, p);
|
||||
|
||||
Reference in New Issue
Block a user