mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Match and split unknown_003260.c into audiomgr.c and audiosfx.c (#364)
* Minor code cleanup and documenting in audio.c * Match to func_80002DF8 to _amDmaNew * Match func_800042CC * Match func_8000410C * Match func_800041FC as _removeEvents, and rename thread4_main to __amMain while also getting it's code to closer resemble the example code * Add missing file * MAtch __clearAudioDMA * Cleanup __clearAudioDMA to match our code style a little better * Match __amHandleFrameMsg * Rename audio microcode from unknown, and clean up some code styles and variables names * WIP audioNewThread * Update WIP for audioNewThread * Close to matching audioNewThread * Match amCreateAudioMgr * Match __amDMA * Add constants, and remove static functions from header * Make funcitons static where the originals were * Fix score.py * Split audiomgr and audiosfx files * WIP clean up of audiomgr.c * Finalize split of audiomgr and audiosfx * Use AMAudioMgr * Move the deck chairs * Clean up sfx header * Cleanup * Cleanup sfx file, and move asm files * Update score * Fix NON_EQUIVALENT * Match _sndpVoiceHandler * Update some types
This commit is contained in:
@@ -43,7 +43,7 @@ class GenerateAssets:
|
||||
def generate_ucode_files(self):
|
||||
assetsUCodeText = '# This file was generated by generate_ld.py\n\n'
|
||||
assetsUCodeText += '.include "macros.inc"\n\n'
|
||||
assetsUCodeText += self.generate_ucode_file('rspUnknownStart', 'ucode/ucode_unknown.bin')
|
||||
assetsUCodeText += self.generate_ucode_file('aspMainTextStart', 'ucode/ucode_audio.bin')
|
||||
assetsUCodeText += self.generate_ucode_file('rspF3DDKRBootStart', 'ucode/ucode_boot.bin')
|
||||
assetsUCodeText += self.generate_ucode_file('rspF3DDKRDramStart', 'ucode/ucode_f3ddkr_dram.bin')
|
||||
assetsUCodeText += self.generate_ucode_file('rspF3DDKRFifoStart', 'ucode/ucode_f3ddkr_fifo.bin')
|
||||
@@ -54,7 +54,7 @@ class GenerateAssets:
|
||||
|
||||
assetsUCodeData = '# This file was generated by generate_ld.py\n\n'
|
||||
assetsUCodeData += '.include "macros.inc"\n\n'
|
||||
assetsUCodeData += self.generate_ucode_file('rspUnknownDataStart', 'ucode/data_unknown.bin')
|
||||
assetsUCodeData += self.generate_ucode_file('aspMainDataStart', 'ucode/data_audio.bin')
|
||||
assetsUCodeData += self.generate_ucode_file('rspF3DDKRDataDramStart', 'ucode/data_f3ddkr_dram.bin')
|
||||
assetsUCodeData += self.generate_ucode_file('rspF3DDKRDataFifoStart', 'ucode/data_f3ddkr_fifo.bin')
|
||||
assetsUCodeData += self.generate_ucode_file('rspF3DDKRDataXbusStart', 'ucode/data_f3ddkr_xbus.bin')
|
||||
|
||||
Reference in New Issue
Block a user