diff options
-rw-r--r-- | source/dsp1.c | 2 |
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: |