no NOT nice

This commit is contained in:
tildearrow 2024-03-03 03:19:19 -05:00
parent 2eb8099cb4
commit 01c5e9a913
4 changed files with 20 additions and 1 deletions

View file

@ -940,11 +940,19 @@ bool DivPlatformSNES::isSampleLoaded(int index, int sample) {
return sampleLoaded[sample];
}
const DivMemoryComposition* DivPlatformSNES::getMemCompo(int index) {
if (index!=0) return NULL;
return &memCompo;
}
void DivPlatformSNES::renderSamples(int sysID) {
memset(copyOfSampleMem,0,65536);
memset(sampleOff,0,256*sizeof(unsigned int));
memset(sampleLoaded,0,256*sizeof(bool));
memCompo=DivMemoryComposition();
memCompo.name="SPC/DSP Memory";
// skip past sample table and wavetable buffer
size_t memPos=sampleTableBase+8*4+8*9*16;
for (int i=0; i<parent->song.sampleLen; i++) {