summaryrefslogtreecommitdiff
path: root/src/missing.h
diff options
context:
space:
mode:
authoraliaspider2015-11-09 19:55:28 +0100
committeraliaspider2015-11-09 19:55:28 +0100
commit7a7857f47b33f1b63fb585d2dc6c60d87c3e928f (patch)
treea4c271ae26c4b5ec9566f37062168e6d2c8c1bbc /src/missing.h
parent5339c79ebd36afa759541d0c2fbdadac6dd26ed2 (diff)
downloadsnes9x2002-7a7857f47b33f1b63fb585d2dc6c60d87c3e928f.tar.gz
snes9x2002-7a7857f47b33f1b63fb585d2dc6c60d87c3e928f.tar.bz2
snes9x2002-7a7857f47b33f1b63fb585d2dc6c60d87c3e928f.zip
C++ --> C99
Diffstat (limited to 'src/missing.h')
-rw-r--r--src/missing.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/missing.h b/src/missing.h
index 804f8b5..3c0681b 100644
--- a/src/missing.h
+++ b/src/missing.h
@@ -41,7 +41,7 @@
#ifndef _MISSING_H_
#define _MISSING_H_
-struct HDMA
+typedef struct
{
uint8 used;
uint8 bbus_address;
@@ -52,9 +52,9 @@ struct HDMA
uint8 force_table_address_read;
uint8 line_count_write;
uint8 line_count_read;
-};
+}HDMA;
-struct Missing
+typedef struct
{
uint8 emulate6502;
uint8 decimal_mode;
@@ -63,7 +63,7 @@ struct Missing
uint8 interlace;
uint8 lines_239;
uint8 pseudo_512;
- struct HDMA hdma [8];
+ HDMA hdma [8];
uint8 modes [8];
uint8 mode7_fx;
uint8 mode7_flip;
@@ -108,7 +108,7 @@ struct Missing
uint16 unknowncpu_write;
uint16 unknowndsp_read;
uint16 unknowndsp_write;
-};
+}Missing;
-EXTERN_C struct Missing missing;
+EXTERN_C Missing missing;
#endif