aboutsummaryrefslogtreecommitdiff
path: root/source/gfx.h
diff options
context:
space:
mode:
authoraliaspider2014-10-29 06:47:46 +0100
committeraliaspider2014-10-29 06:47:46 +0100
commit761d752569b9bad6bdb755e91ca9e345cfb2788d (patch)
tree5eaa11c172c08039757d6bee1a3641e051462d3a /source/gfx.h
parenta6dc7abc9b8cc3986eda5a84141da7dc9e4e8f1a (diff)
downloadsnes9x2005-761d752569b9bad6bdb755e91ca9e345cfb2788d.tar.gz
snes9x2005-761d752569b9bad6bdb755e91ca9e345cfb2788d.tar.bz2
snes9x2005-761d752569b9bad6bdb755e91ca9e345cfb2788d.zip
C++ cleanups. (in progress)
Diffstat (limited to 'source/gfx.h')
-rw-r--r--source/gfx.h7
1 files changed, 2 insertions, 5 deletions
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
{