aboutsummaryrefslogtreecommitdiff
path: root/source/dsp1.h
diff options
context:
space:
mode:
authoraliaspider2014-10-29 10:11:16 +0100
committeraliaspider2014-10-29 10:11:16 +0100
commit4fb67d24cdde1e085d09a699ed2f5d68c306f534 (patch)
tree92fbe54e835ca1c799f15b250241929681a26a99 /source/dsp1.h
parent9c8d36087b5b35c35c7ff9276a15d400ce45f519 (diff)
downloadsnes9x2005-4fb67d24cdde1e085d09a699ed2f5d68c306f534.tar.gz
snes9x2005-4fb67d24cdde1e085d09a699ed2f5d68c306f534.tar.bz2
snes9x2005-4fb67d24cdde1e085d09a699ed2f5d68c306f534.zip
get rid of all remaining C++ code.
Diffstat (limited to 'source/dsp1.h')
-rw-r--r--source/dsp1.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/dsp1.h b/source/dsp1.h
index 05a706b..a2c5f1b 100644
--- a/source/dsp1.h
+++ b/source/dsp1.h
@@ -105,7 +105,7 @@ uint8 DSP3GetByte(uint16 address);
void DSP4SetByte(uint8 byte, uint16 address);
uint8 DSP4GetByte(uint16 address);
-struct SDSP1 {
+typedef struct{
bool8 waiting4command;
bool8 first_parameter;
uint8 command;
@@ -116,12 +116,12 @@ struct SDSP1 {
uint8 parameters [512];
//output was 512 for DSP-2 work, updated to reflect current thinking on DSP-3
uint8 output [512];
-};
+}SDSP1;
void S9xResetDSP1 ();
uint8 S9xGetDSP (uint16 Address);
void S9xSetDSP (uint8 Byte, uint16 Address);
-extern struct SDSP1 DSP1;
+extern SDSP1 DSP1;
//extern struct SDSP1 DSP1;