From 0e59b999fa976de2d00490f552a1ff0a27d40f63 Mon Sep 17 00:00:00 2001 From: João Silva Date: Sun, 29 Jan 2017 04:55:23 +0000 Subject: Converted most types to stdint-style (fixing a few in the process). --- source/dsp1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/dsp1.c') 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]; } -- cgit v1.2.3