aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Teh2022-02-22 23:28:44 +0000
committerJonathan Teh2022-02-22 23:28:44 +0000
commit1e6f7927557cc0af5aead16b0579a6828d94b857 (patch)
treee8dfcb7701232f3dd038325022746fa72bfbcf65
parent09334d546982a354ccf73e64966191aac2d22083 (diff)
downloadsnes9x2005-1e6f7927557cc0af5aead16b0579a6828d94b857.tar.gz
snes9x2005-1e6f7927557cc0af5aead16b0579a6828d94b857.tar.bz2
snes9x2005-1e6f7927557cc0af5aead16b0579a6828d94b857.zip
dsp: Fix assignment of Op11Xr
Fix regression introduced in snes9x-1.40.
-rw-r--r--source/dsp1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/dsp1.c b/source/dsp1.c
index f8a0713..fc7720e 100644
--- a/source/dsp1.c
+++ b/source/dsp1.c
@@ -352,7 +352,7 @@ void DSP1SetByte(uint8_t byte, uint16_t address)
Op11m = (int16_t)(DSP1.parameters [0] | (DSP1.parameters[1] << 8));
Op11Zr = (int16_t)(DSP1.parameters [2] | (DSP1.parameters[3] << 8));
Op11Yr = (int16_t)(DSP1.parameters [4] | (DSP1.parameters[5] << 8));
- Op11Xr = (int16_t)(DSP1.parameters [7] | (DSP1.parameters[7] << 8));
+ Op11Xr = (int16_t)(DSP1.parameters [6] | (DSP1.parameters[7] << 8));
DSPOp11();
break;
case 0x25: