summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorlouist103 <35883445+louist103@users.noreply.github.com>2022-06-27 20:48:40 -0400
committerKenix3 <kenixwhisperwind@gmail.com>2022-07-04 10:44:31 -0400
commite7c2aff97ee1627fbd96f117a1f074005b9ab0f4 (patch)
treee8a79199cd72f6be40e911fec1556554596650ef /soh/src/code
parent668f9bee10b68dbb98410ec0eba798b2e03521d8 (diff)
Fix audio, boot commands, and save staes.
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/audio_load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/soh/src/code/audio_load.c b/soh/src/code/audio_load.c
index 107e8f015..8c15fcd0f 100644
--- a/soh/src/code/audio_load.c
+++ b/soh/src/code/audio_load.c
@@ -773,7 +773,7 @@ uintptr_t AudioLoad_SyncLoad(u32 tableType, u32 id, s32* didAllocate) {
{
table = AudioLoad_GetLoadTable(tableType);
size = table->entries[realId].size;
- size = ALIGN16(size);
+ //size = ALIGN16(size);
medium = table->entries[id].medium;
cachePolicy = table->entries[id].cachePolicy;
romAddr = table->entries[realId].romAddr;
@@ -1031,7 +1031,7 @@ void AudioLoad_RelocateFont(s32 fontId, SoundFontData* mem, RelocInfo* relocInfo
void AudioLoad_SyncDma(uintptr_t devAddr, u8* addr, size_t size, s32 medium) {
OSMesgQueue* msgQueue = &gAudioContext.syncDmaQueue;
OSIoMesg* ioMesg = &gAudioContext.syncDmaIoMesg;
- size = ALIGN16(size);
+ //size = ALIGN16(size);
Audio_InvalDCache(addr, size);