From 761d752569b9bad6bdb755e91ca9e345cfb2788d Mon Sep 17 00:00:00 2001 From: aliaspider Date: Wed, 29 Oct 2014 06:47:46 +0100 Subject: C++ cleanups. (in progress) --- source/gfx.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'source/gfx.h') diff --git a/source/gfx.h b/source/gfx.h index 2cc95ef..1b545f7 100644 --- a/source/gfx.h +++ b/source/gfx.h @@ -93,7 +93,6 @@ #include "port.h" #include "snes9x.h" -START_EXTERN_C void S9xStartScreenRefresh (); void S9xDrawScanLine (uint8 Line); void S9xEndScreenRefresh (); @@ -112,8 +111,6 @@ bool8 S9xInitUpdate (void); void S9xDeinitUpdate (int width, int height); void S9xSyncSpeed (); -END_EXTERN_C - struct SGFX{ // Initialize these variables uint8 *Screen; @@ -179,7 +176,7 @@ struct SLineData { #define V_FLIP 0x8000 #define BLANK_TILE 2 -struct SBG +typedef struct { uint32 TileSize; uint32 BitShift; @@ -195,7 +192,7 @@ struct SBG uint8 *Buffer; uint8 *Buffered; bool8 DirectColourMode; -}; +}SBG; struct SLineMatrixData { -- cgit v1.2.3