Pushed the final changes that got audio working!

This commit is contained in:
MeltyPlayer
2022-11-06 20:22:00 -06:00
parent 7bd0cc9a2c
commit 3a4115e8f6
17 changed files with 274 additions and 371 deletions
+3
View File
@@ -4,6 +4,7 @@
#include <ultra64.h>
#include "mixer.h"
#include "../../debug_print.h"
#ifdef __SSE4_1__
#include <immintrin.h>
@@ -147,6 +148,8 @@ void aSaveBufferImpl(uint16_t source_addr, int16_t *dest_addr, uint16_t nbytes)
}
#else
void aLoadBufferImpl(const void *source_addr) {
DEBUG_PRINT("aLoadBufferImpl()");
DEBUG_PRINT("- source_addr: %x", source_addr);
memcpy(BUF_U8(rspa.in), source_addr, ROUND_UP_8(rspa.nbytes));
}