aboutsummaryrefslogtreecommitdiff
path: root/source/dsp4emu.c
diff options
context:
space:
mode:
authoraliaspider2014-10-29 09:21:38 +0100
committeraliaspider2014-10-29 09:21:38 +0100
commit44476d7bda0a3b90bb71f379cc78614b6f66906d (patch)
tree3384185307c9c0ea35156753337ec4026c997356 /source/dsp4emu.c
parent761d752569b9bad6bdb755e91ca9e345cfb2788d (diff)
downloadsnes9x2005-44476d7bda0a3b90bb71f379cc78614b6f66906d.tar.gz
snes9x2005-44476d7bda0a3b90bb71f379cc78614b6f66906d.tar.bz2
snes9x2005-44476d7bda0a3b90bb71f379cc78614b6f66906d.zip
remove more C++ code.
Diffstat (limited to 'source/dsp4emu.c')
-rw-r--r--source/dsp4emu.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/dsp4emu.c b/source/dsp4emu.c
index 3e85ee3..d9f360a 100644
--- a/source/dsp4emu.c
+++ b/source/dsp4emu.c
@@ -1215,7 +1215,7 @@ sprite_found:
int16 plane;
int16 car_left, car_right, car_left_a;
int16 focal_back, focal_front;
- uint8 distance, id;
+ uint8 distance, id;
// we already have 4 bytes we want
DSP4.in_count = 6+12;
@@ -1357,7 +1357,7 @@ sprite_found:
DSP4.in_count = 6;
DSP4.in_index = 2;
- DSP4_WAIT(7) resume7:
+ DSP4_WAIT(7)
/////////////////////////////////////
// process tile data
@@ -1366,6 +1366,8 @@ sprite_found:
int16 sp_x, sp_y, sp_oam, sp_msb;
int16 sp_dx, sp_dy;
+ resume7:
+
// sprite deltas
sp_dy = DSP4_READ_WORD(2);
sp_dx = DSP4_READ_WORD(4);