VIDEO: Fix building of video capable simulators on host systems which don't have libsdl available.

This commit is contained in:
Mark Pizzolato 2015-04-13 06:22:11 -07:00
parent ecc1956221
commit 1348a1fbaa

View file

@ -38,16 +38,15 @@ t_bool vid_mouse_b1 = FALSE;
t_bool vid_mouse_b2 = FALSE;
t_bool vid_mouse_b3 = FALSE;
#if defined(USE_SIM_VIDEO)
char vid_release_key[64] = "Ctrl-Right-Shift";
t_stat vid_show (FILE* st, DEVICE *dptr, UNIT* uptr, int32 val, char* desc)
{
return vid_show_video (st, uptr, val, desc);
}
#if defined(HAVE_LIBSDL)
#if defined(USE_SIM_VIDEO) && defined(HAVE_LIBSDL)
char vid_release_key[64] = "Ctrl-Right-Shift";
#include <SDL.h>
#include <SDL_thread.h>
@ -1819,9 +1818,7 @@ while (_show_stat == -1)
return _show_stat;
}
#endif /* defined(HAVE_LIBSDL) */
#else /* !defined(USE_SIM_VIDEO) */
#else /* !(defined(USE_SIM_VIDEO) && defined(HAVE_LIBSDL)) */
/* Non-implemented versions */
uint32 vid_mono_palette[2]; /* Monochrome Color Map */