memory composition, part 3
This commit is contained in:
parent
a200d464a6
commit
92ec6f6651
36 changed files with 190 additions and 9 deletions
|
|
@ -2539,6 +2539,12 @@ bool DivPlatformOPL::isSampleLoaded(int index, int sample) {
|
|||
return sampleLoaded[sample];
|
||||
}
|
||||
|
||||
const DivMemoryComposition* DivPlatformOPL::getMemCompo(int index) {
|
||||
if (adpcmChan<0) return NULL;
|
||||
if (index!=0) return NULL;
|
||||
return &memCompo;
|
||||
}
|
||||
|
||||
void DivPlatformOPL::renderSamples(int sysID) {
|
||||
if (adpcmChan<0) return;
|
||||
memset(adpcmBMem,0,getSampleMemCapacity(0));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue