mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-04 10:17:26 +00:00
VGM export: fix bugs in issue #2226
- wrong byte in PCM RAM write - MSM6258 reset being MSM6295
This commit is contained in:
parent
5fcf42267a
commit
44e842530b
1 changed files with 2 additions and 2 deletions
|
@ -553,7 +553,7 @@ void DivEngine::performVGMWrite(SafeWriter* w, DivSystem sys, DivRegWrite& write
|
|||
w->writeC(0xff);
|
||||
break;
|
||||
case DIV_SYSTEM_MSM6258:
|
||||
w->writeC(0xb8); // stop
|
||||
w->writeC(0xb7); // stop
|
||||
w->writeC(baseAddr2|0);
|
||||
w->writeC(1);
|
||||
break;
|
||||
|
@ -716,7 +716,7 @@ void DivEngine::performVGMWrite(SafeWriter* w, DivSystem sys, DivRegWrite& write
|
|||
case DIV_SYSTEM_NES: {
|
||||
unsigned int bankAddr=bankOffset+(write.val<<14);
|
||||
w->writeC(0x68);
|
||||
w->writeC(0x6c);
|
||||
w->writeC(0x66);
|
||||
w->writeC(0x07|(isSecond?0x80:0x00));
|
||||
w->writeC(bankAddr&0xff);
|
||||
w->writeC((bankAddr>>8)&0xff);
|
||||
|
|
Loading…
Reference in a new issue