fixed SDL build issues
This commit is contained in:
parent
70de69eacf
commit
11390351ac
|
@ -34,6 +34,7 @@
|
||||||
#include "dface.h"
|
#include "dface.h"
|
||||||
|
|
||||||
#include "../common/configSys.h"
|
#include "../common/configSys.h"
|
||||||
|
#include "sdl-video.h"
|
||||||
|
|
||||||
// GLOBALS
|
// GLOBALS
|
||||||
extern Config *g_config;
|
extern Config *g_config;
|
||||||
|
@ -66,6 +67,13 @@ static int s_paletterefresh;
|
||||||
* Attempts to destroy the graphical video display. Returns 0 on
|
* Attempts to destroy the graphical video display. Returns 0 on
|
||||||
* success, -1 on failure.
|
* success, -1 on failure.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
//draw input aids if we are fullscreen
|
||||||
|
bool FCEUD_ShouldDrawInputAids()
|
||||||
|
{
|
||||||
|
return s_fullscreen!=0;
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
KillVideo()
|
KillVideo()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
uint32 PtoV(uint16 x, uint16 y);
|
uint32 PtoV(uint16 x, uint16 y);
|
||||||
|
bool FCEUD_ShouldDrawInputAids();
|
||||||
|
|
|
@ -424,11 +424,6 @@ int SetVideoMode(int fs)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//draw input aids if we are fullscreen
|
|
||||||
bool FCEUD_ShouldDrawInputAids()
|
|
||||||
{
|
|
||||||
return fullscreen!=0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void BlitScreenWindow(uint8 *XBuf);
|
static void BlitScreenWindow(uint8 *XBuf);
|
||||||
static void BlitScreenFull(uint8 *XBuf);
|
static void BlitScreenFull(uint8 *XBuf);
|
||||||
|
|
Loading…
Reference in New Issue