This commit is contained in:
twinaphex 2022-04-09 17:01:48 +02:00
parent 25d9d4fea4
commit c4397de75a
6 changed files with 0 additions and 49 deletions

View File

@ -977,7 +977,6 @@ bool8 S9xDeinitUpdate(int width, int height)
/* Dummy functions that should probably be implemented correctly later. */
bool8 S9xContinueUpdate(int width, int height) { return TRUE; }
void S9xSetPalette(void) {}
void S9xLoadSDD1Data(void) {}
bool8 S9xReadMousePosition (int which1_0_to_1, int* x, int* y, uint32* buttons) { return FALSE; }
bool8 S9xReadSuperScopePosition (int* x, int* y, uint32* buttons) { return FALSE; }
@ -985,13 +984,5 @@ bool JustifierOffscreen(void) { return false; }
void S9xToggleSoundChannel (int channel) {}
//void Write16(uint16 v, uint8*& ptr) {}
//uint16 Read16(const uint8*& ptr) { return 0; }
//void S9xHandlePortCommand(s9xcommand_t cmd, int16 data1, int16 data2) {}
//bool S9xPollButton(uint32 id, bool *pressed) { return false; }
//bool S9xPollPointer(uint32 id, int16 *x, int16 *y) { return false; }
//bool S9xPollAxis(uint32 id, int16 *value) { return false; }
void S9xExit(void) { exit(1); }
void S9xMessage(int a, int b, const char* msg) { }

View File

@ -42,21 +42,11 @@
#define _DISPLAY_H_
// Routines the port specific code has to implement
void S9xSetPalette(void);
uint32 S9xReadJoypad(int which1_0_to_4);
bool8_32 S9xReadMousePosition(int which1_0_to_1, int* x, int* y, uint32* buttons);
bool8_32 S9xReadSuperScopePosition(int* x, int* y, uint32* buttons);
void S9xInitDisplay(int argc, char** argv);
void S9xDeinitDisplay(void);
void S9xInitInputDevices(void);
void S9xSetTitle(const char* title);
void S9xProcessEvents(bool8_32 block);
void S9xPutImage(int width, int height);
void S9xToggleSoundChannel(int channel);
void S9xSetInfoString(const char* string);
void S9xNextController(void);
const char* S9xGetSRAMFilename(void);
#endif

View File

@ -348,8 +348,6 @@ bool8_32 S9xGraphicsInit(void)
GFX.Delta = (GFX.SubScreen - GFX.Screen) >> 1;
GFX.DepthDelta = GFX.SubZBuffer - GFX.ZBuffer;
//GFX.InfoStringTimeout = 0;
//GFX.InfoString = NULL;
PPU.BG_Forced = 0;
IPPU.OBJChanged = TRUE;
@ -684,10 +682,6 @@ void S9xEndScreenRefresh()
*/
}
void S9xSetInfoString(const char* string)
{
}
static INLINE void SelectTileRenderer(bool8_32 normal, bool NoZ)
{
if (normal)

View File

@ -302,8 +302,6 @@ void S9xDrawScanLine(uint8 Line);
void S9xEndScreenRefresh();
void S9xSetupOBJ();
void S9xUpdateScreen();
//extern void (*S9xUpdateScreen)();
//void SelectUpdateScreen();
void RenderLine(uint8 line);
void S9xBuildDirectColourMaps();
@ -314,7 +312,6 @@ extern SGFX GFX;
bool8_32 S9xGraphicsInit();
void S9xGraphicsDeinit();
bool8_32 S9xDeinitUpdate(int Width, int Height);
void S9xSetPalette();
void S9xSyncSpeed();
#ifdef GFX_MULTI_FORMAT

View File

@ -353,8 +353,6 @@ bool8_32 S9xGraphicsInit()
GFX.Delta = (GFX.SubScreen - GFX.Screen) >> 1;
GFX.DepthDelta = GFX.SubZBuffer - GFX.ZBuffer;
//GFX.InfoStringTimeout = 0;
//GFX.InfoString = NULL;
PPU.BG_Forced = 0;
IPPU.OBJChanged = TRUE;
@ -704,11 +702,6 @@ void S9xEndScreenRefresh()
*/
}
void S9xSetInfoString(const char* string)
{
}
int TileRenderer;
TileRendererSet TileRenderers[] =

View File

@ -385,20 +385,6 @@ void S9xExit(void);
void S9xMessage(int type, int number, const char* message);
void S9xLoadSDD1Data(void);
enum
{
PAUSE_NETPLAY_CONNECT = (1 << 0),
PAUSE_TOGGLE_FULL_SCREEN = (1 << 1),
PAUSE_EXIT = (1 << 2),
PAUSE_MENU = (1 << 3),
PAUSE_INACTIVE_WINDOW = (1 << 4),
PAUSE_WINDOW_ICONISED = (1 << 5),
PAUSE_RESTORE_GUI = (1 << 6),
PAUSE_FREEZE_FILE = (1 << 7)
};
void S9xSetPause(uint32 mask);
void S9xClearPause(uint32 mask);
#ifndef MAX_PATH
#define MAX_PATH 255
#endif