diff options
author | João Silva | 2017-02-12 02:40:43 +0000 |
---|---|---|
committer | João Silva | 2017-02-12 02:40:43 +0000 |
commit | ae5fb3ae9006d90c32cba9efad3dd1645972117a (patch) | |
tree | cddb693fc5c982294a48c086c655d02c180c596d /source/dsp1.c | |
parent | 3777d1fcf4232cde426f46b7ee5c374fd949b1b0 (diff) | |
download | snes9x2005-ae5fb3ae9006d90c32cba9efad3dd1645972117a.tar.gz snes9x2005-ae5fb3ae9006d90c32cba9efad3dd1645972117a.tar.bz2 snes9x2005-ae5fb3ae9006d90c32cba9efad3dd1645972117a.zip |
Integer-only C4 from snes9x2002. Integer-only, finalized DSP1 from snes9x 1.50. Integer-only libretro.c and seta010.c.
Diffstat (limited to 'source/dsp1.c')
-rw-r--r-- | source/dsp1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/dsp1.c b/source/dsp1.c index 5d4d522..9e7f05b 100644 --- a/source/dsp1.c +++ b/source/dsp1.c @@ -356,8 +356,8 @@ void DSP1SetByte(uint8_t byte, uint16_t address) DSP1.output [1] = (uint8_t)((Op06H >> 8) & 0xFF); DSP1.output [2] = (uint8_t)(Op06V & 0xFF); DSP1.output [3] = (uint8_t)((Op06V >> 8) & 0xFF); - DSP1.output [4] = (uint8_t)(Op06S & 0xFF); - DSP1.output [5] = (uint8_t)((Op06S >> 8) & 0xFF); + DSP1.output [4] = (uint8_t)(Op06M & 0xFF); + DSP1.output [5] = (uint8_t)((Op06M >> 8) & 0xFF); break; case 0x1e: case 0x2e: |