fixed SDL build issues

This commit is contained in:
punkrockguy318 2008-06-08 13:27:17 +00:00
parent 70de69eacf
commit 11390351ac
4 changed files with 12 additions and 8 deletions

View File

@ -34,6 +34,7 @@
#include "dface.h"
#include "../common/configSys.h"
#include "sdl-video.h"
// GLOBALS
extern Config *g_config;
@ -66,6 +67,13 @@ static int s_paletterefresh;
* Attempts to destroy the graphical video display. Returns 0 on
* success, -1 on failure.
*/
//draw input aids if we are fullscreen
bool FCEUD_ShouldDrawInputAids()
{
return s_fullscreen!=0;
}
int
KillVideo()
{

View File

@ -1 +1,2 @@
uint32 PtoV(uint16 x, uint16 y);
bool FCEUD_ShouldDrawInputAids();

View File

@ -424,11 +424,6 @@ int SetVideoMode(int fs)
return 1;
}
//draw input aids if we are fullscreen
bool FCEUD_ShouldDrawInputAids()
{
return fullscreen!=0;
}
static void BlitScreenWindow(uint8 *XBuf);
static void BlitScreenFull(uint8 *XBuf);