mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-18 11:29:47 +00:00
same fix for SS
This commit is contained in:
parent
f5b277548b
commit
19033a4a39
@ -764,6 +764,9 @@ if [[ "x$WANT_SDL_VIDEO" = "xyes" ]]; then
|
|||||||
CPPFLAGS="$CPPFLAGS -I../MacOSX"
|
CPPFLAGS="$CPPFLAGS -I../MacOSX"
|
||||||
else
|
else
|
||||||
EXTRASYSSRCS="$EXTRASYSSRCS ../dummy/clip_dummy.cpp"
|
EXTRASYSSRCS="$EXTRASYSSRCS ../dummy/clip_dummy.cpp"
|
||||||
|
if [[ "$WANT_GTK" != "no" ]]; then
|
||||||
|
LIBS="$LIBS -lX11"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
VIDEOSRCS="video_x.cpp"
|
VIDEOSRCS="video_x.cpp"
|
||||||
|
@ -133,6 +133,7 @@
|
|||||||
|
|
||||||
#ifdef ENABLE_GTK
|
#ifdef ENABLE_GTK
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
|
#include <X11/Xlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_XF86_DGA
|
#ifdef ENABLE_XF86_DGA
|
||||||
@ -728,6 +729,9 @@ static bool init_sdl()
|
|||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
#ifdef ENABLE_GTK
|
||||||
|
XInitThreads();
|
||||||
|
#endif
|
||||||
char str[256];
|
char str[256];
|
||||||
bool memory_mapped_from_zero, ram_rom_areas_contiguous;
|
bool memory_mapped_from_zero, ram_rom_areas_contiguous;
|
||||||
const char *vmdir = NULL;
|
const char *vmdir = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user