memory composition, part 3

This commit is contained in:
tildearrow 2024-03-05 18:55:18 -05:00
parent a200d464a6
commit 92ec6f6651
36 changed files with 190 additions and 9 deletions

View file

@ -442,6 +442,11 @@ bool DivPlatformYMZ280B::isSampleLoaded(int index, int sample) {
return sampleLoaded[sample];
}
const DivMemoryComposition* DivPlatformYMZ280B::getMemCompo(int index) {
if (index!=0) return NULL;
return &memCompo;
}
void DivPlatformYMZ280B::renderSamples(int sysID) {
memset(sampleMem,0,getSampleMemCapacity());
memset(sampleOff,0,256*sizeof(unsigned int));