Remove: PSP support
This commit is contained in:
@@ -57,16 +57,12 @@ static void OS2_SwitchToConsoleMode()
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(UNIX) || defined(PSP)
|
||||
#if defined(UNIX)
|
||||
# include <sys/time.h> /* gettimeofday */
|
||||
# include <sys/types.h>
|
||||
# include <unistd.h>
|
||||
# include <signal.h>
|
||||
# define STDIN 0 /* file descriptor for standard input */
|
||||
# if defined(PSP)
|
||||
# include <sys/fd_set.h>
|
||||
# include <sys/select.h>
|
||||
# endif /* PSP */
|
||||
|
||||
/* Signal handlers */
|
||||
static void DedicatedSignalHandler(int sig)
|
||||
@@ -196,7 +192,7 @@ void VideoDriver_Dedicated::MakeDirty(int left, int top, int width, int height)
|
||||
bool VideoDriver_Dedicated::ChangeResolution(int w, int h) { return false; }
|
||||
bool VideoDriver_Dedicated::ToggleFullscreen(bool fs) { return false; }
|
||||
|
||||
#if defined(UNIX) || defined(__OS2__) || defined(PSP)
|
||||
#if defined(UNIX) || defined(__OS2__)
|
||||
static bool InputWaiting()
|
||||
{
|
||||
struct timeval tv;
|
||||
@@ -242,7 +238,7 @@ static void DedicatedHandleKeyInput()
|
||||
|
||||
if (_exit_game) return;
|
||||
|
||||
#if defined(UNIX) || defined(__OS2__) || defined(PSP)
|
||||
#if defined(UNIX) || defined(__OS2__)
|
||||
if (fgets(input_line, lengthof(input_line), stdin) == NULL) return;
|
||||
#else
|
||||
/* Handle console input, and signal console thread, it can accept input again */
|
||||
@@ -269,7 +265,7 @@ void VideoDriver_Dedicated::MainLoop()
|
||||
uint32 next_tick = cur_ticks + MILLISECONDS_PER_TICK;
|
||||
|
||||
/* Signal handlers */
|
||||
#if defined(UNIX) || defined(PSP)
|
||||
#if defined(UNIX)
|
||||
signal(SIGTERM, DedicatedSignalHandler);
|
||||
signal(SIGINT, DedicatedSignalHandler);
|
||||
signal(SIGQUIT, DedicatedSignalHandler);
|
||||
|
||||
Reference in New Issue
Block a user