aboutsummaryrefslogtreecommitdiff
path: root/source/gfx.h
diff options
context:
space:
mode:
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
{