diff options
author | aliaspider | 2014-10-29 09:21:38 +0100 |
---|---|---|
committer | aliaspider | 2014-10-29 09:21:38 +0100 |
commit | 44476d7bda0a3b90bb71f379cc78614b6f66906d (patch) | |
tree | 3384185307c9c0ea35156753337ec4026c997356 /source/dsp1.c | |
parent | 761d752569b9bad6bdb755e91ca9e345cfb2788d (diff) | |
download | snesemu-44476d7bda0a3b90bb71f379cc78614b6f66906d.tar.gz snesemu-44476d7bda0a3b90bb71f379cc78614b6f66906d.tar.bz2 snesemu-44476d7bda0a3b90bb71f379cc78614b6f66906d.zip |
remove more C++ code.
Diffstat (limited to 'source/dsp1.c')
-rw-r--r-- | source/dsp1.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/dsp1.c b/source/dsp1.c index d54b48f..d017eef 100644 --- a/source/dsp1.c +++ b/source/dsp1.c @@ -1335,7 +1335,8 @@ void DSP4SetByte(uint8 byte, uint16 address) // clear OAM tables op06_index = 0; op06_offset = 0; - for( int lcv=0; lcv<32; lcv++ ) + int lcv; + for(lcv=0; lcv<32; lcv++ ) op06_OAM[lcv] = 0; break; } @@ -1352,7 +1353,8 @@ void DSP4SetByte(uint8 byte, uint16 address) case 0x0006: { DSP4.out_count = 32; - for( int lcv=0; lcv<32; lcv++ ) + int lcv; + for(lcv=0; lcv<32; lcv++ ) DSP4.output[lcv] = op06_OAM[lcv]; } break; |