From 7a7857f47b33f1b63fb585d2dc6c60d87c3e928f Mon Sep 17 00:00:00 2001 From: aliaspider Date: Mon, 9 Nov 2015 19:55:28 +0100 Subject: C++ --> C99 --- src/missing.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/missing.h') 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 -- cgit v1.2.3