Add SPU memory allocation

This commit is contained in:
Jaby
2024-08-07 23:01:43 -05:00
committed by Jaby
parent 096a456037
commit 0c8e1c3370
7 changed files with 181 additions and 4 deletions

11
include/PSX/SPU/spu.hpp Normal file
View File

@@ -0,0 +1,11 @@
#pragma once
#include "../jabyengine.hpp"
namespace JabyEngine {
namespace SPU {
const uint8_t* allocate_voice(uint8_t voice, size_t size);
void deallocate_voice(uint8_t voice);
void dump();
}
}