Merge branch 'master' into hasSampleHeader
This commit is contained in:
commit
de1ab67d4a
42 changed files with 1634 additions and 91 deletions
|
|
@ -3248,6 +3248,10 @@ bool DivPlatformOPL::hasSamplePtrHeader(int index) {
|
|||
return (index==0 && pcmChanOffs>=0);
|
||||
}
|
||||
|
||||
size_t DivPlatformOPL::getSampleMemOffset(int index) {
|
||||
return (index==0 && pcmChanOffs>=0 && ramSize<=0x200000)?0x200000:0;
|
||||
}
|
||||
|
||||
bool DivPlatformOPL::isSampleLoaded(int index, int sample) {
|
||||
if (index!=0) return false;
|
||||
if (sample<0 || sample>32767) return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue