diff options
author | Twinaphex | 2017-01-29 06:00:06 +0100 |
---|---|---|
committer | GitHub | 2017-01-29 06:00:06 +0100 |
commit | b9ad67f2d3f5bc1f7ebaad2eeb225d669aa7f58b (patch) | |
tree | adce7b06d1acc25f52c6e10616451bba02f9f7a5 /source/dsp1.c | |
parent | 813fc89d37d1d8c8d2fa090a28f74aa0fdcea5df (diff) | |
parent | 0e59b999fa976de2d00490f552a1ff0a27d40f63 (diff) | |
download | snesemu-b9ad67f2d3f5bc1f7ebaad2eeb225d669aa7f58b.tar.gz snesemu-b9ad67f2d3f5bc1f7ebaad2eeb225d669aa7f58b.tar.bz2 snesemu-b9ad67f2d3f5bc1f7ebaad2eeb225d669aa7f58b.zip |
Merge pull request #30 from jamsilva/master
Converted most types to stdint-style (fixing a few in the process).
Diffstat (limited to 'source/dsp1.c')
-rw-r--r-- | source/dsp1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/dsp1.c b/source/dsp1.c index a5b5e79..42f20c8 100644 --- a/source/dsp1.c +++ b/source/dsp1.c @@ -1242,7 +1242,7 @@ void DSP4SetByte(uint8_t byte, uint16_t address) case 0x0000: { int16_t multiplier, multiplicand; - int product; + int32_t product; multiplier = DSP4_READ_WORD(0); multiplicand = DSP4_READ_WORD(2); @@ -1311,7 +1311,7 @@ void DSP4SetByte(uint8_t byte, uint16_t address) // clear OAM tables op06_index = 0; op06_offset = 0; - int lcv; + int32_t lcv; for (lcv = 0; lcv < 32; lcv++) op06_OAM[lcv] = 0; break; @@ -1329,7 +1329,7 @@ void DSP4SetByte(uint8_t byte, uint16_t address) case 0x0006: { DSP4.out_count = 32; - int lcv; + int32_t lcv; for (lcv = 0; lcv < 32; lcv++) DSP4.output[lcv] = op06_OAM[lcv]; } |