mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 01:35:07 +00:00
SNES: get samples working
This commit is contained in:
parent
3f6ca8f650
commit
2c7abb4635
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ void DivPlatformSNES::renderSamples() {
|
||||||
int actualLength=MIN((int)(getSampleMemCapacity()-memPos)/9*9,length);
|
int actualLength=MIN((int)(getSampleMemCapacity()-memPos)/9*9,length);
|
||||||
if (actualLength>0) {
|
if (actualLength>0) {
|
||||||
s->offSNES=memPos;
|
s->offSNES=memPos;
|
||||||
memcpy(&sampleMem[memPos],s->data8,actualLength);
|
memcpy(&sampleMem[memPos],s->dataBRR,actualLength);
|
||||||
memPos+=actualLength;
|
memPos+=actualLength;
|
||||||
}
|
}
|
||||||
if (actualLength<length) {
|
if (actualLength<length) {
|
||||||
|
|
Loading…
Reference in a new issue