gtk: use basedir instead of hardcoded default basedir path in gamegenie dialog for improved accuracy

This commit is contained in:
punkrockguy318 2012-03-06 09:13:58 +00:00
parent 679b98e70b
commit 118b82544c
1 changed files with 1 additions and 1 deletions

View File

@ -1504,7 +1504,7 @@ void loadGameGenie ()
GtkWidget* d; GtkWidget* d;
enableGameGenie(TRUE); enableGameGenie(TRUE);
d = gtk_message_dialog_new(GTK_WINDOW(MainWindow), GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_OK, d = gtk_message_dialog_new(GTK_WINDOW(MainWindow), GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_OK,
"Game Genie ROM copied to ~/.fceux/gg.rom."); ("Game Genie ROM copied to " + fn_out).c_str());
gtk_dialog_run(GTK_DIALOG(d)); gtk_dialog_run(GTK_DIALOG(d));
gtk_widget_destroy(d); gtk_widget_destroy(d);