sdl: fix segfault on recordto by temporarily disabling the author dialog

This commit is contained in:
punkrockguy318 2011-10-14 04:29:15 +00:00
parent 851dae6878
commit 4ece1d273e
1 changed files with 4 additions and 3 deletions

View File

@ -273,7 +273,8 @@ std::string GetFilename(const char* title, bool save, const char* filter)
std::string GetUserText(const char* title) std::string GetUserText(const char* title)
{ {
#ifdef _GTK #ifdef _GTK
/* prg318 - 10/13/11 - this is broken in recent build and causes segfaults/very weird behavior
i'd rather remove it for now than it cause accidental segfaults
GtkWidget* d; GtkWidget* d;
GtkWidget* entry; GtkWidget* entry;
@ -320,7 +321,7 @@ std::string GetUserText(const char* title)
break; break;
input += c; input += c;
} }
pclose(fpipe);*/ pclose(fpipe);*//*
gtk_widget_destroy(d); gtk_widget_destroy(d);
@ -329,7 +330,7 @@ std::string GetUserText(const char* title)
FCEUI_ToggleEmulationPause(); // unpause emulation FCEUI_ToggleEmulationPause(); // unpause emulation
return input; return input;
*/
#endif #endif
return ""; return "";
} }