mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-03 01:29:43 +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"
|
||||
else
|
||||
EXTRASYSSRCS="$EXTRASYSSRCS ../dummy/clip_dummy.cpp"
|
||||
if [[ "$WANT_GTK" != "no" ]]; then
|
||||
LIBS="$LIBS -lX11"
|
||||
fi
|
||||
fi
|
||||
else
|
||||
VIDEOSRCS="video_x.cpp"
|
||||
|
@ -133,6 +133,7 @@
|
||||
|
||||
#ifdef ENABLE_GTK
|
||||
#include <gtk/gtk.h>
|
||||
#include <X11/Xlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_XF86_DGA
|
||||
@ -728,6 +729,9 @@ static bool init_sdl()
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
#ifdef ENABLE_GTK
|
||||
XInitThreads();
|
||||
#endif
|
||||
char str[256];
|
||||
bool memory_mapped_from_zero, ram_rom_areas_contiguous;
|
||||
const char *vmdir = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user