Commit 6c26139f authored by natalie's avatar natalie 💜
Browse files

Force OPN2 test registers to first bank

parent c4b09ab8
......@@ -545,6 +545,7 @@ void Driver_FmOut(uint8_t Port, uint8_t Register, uint8_t Value) {
//these regs can be written to either bank. for dedup purposes, force them all to the first bank.
if (Port) {
switch (Register) {
case 0x21:
case 0x22:
case 0x24:
case 0x25:
......@@ -553,6 +554,7 @@ void Driver_FmOut(uint8_t Port, uint8_t Register, uint8_t Value) {
case 0x28:
case 0x2a:
case 0x2b:
case 0x2c:
Port = 0;
break;
default:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment