From 118b82544c800da9fa835d709bf5ab7a8f185792 Mon Sep 17 00:00:00 2001 From: punkrockguy318 Date: Tue, 6 Mar 2012 09:13:58 +0000 Subject: [PATCH] gtk: use basedir instead of hardcoded default basedir path in gamegenie dialog for improved accuracy --- src/drivers/sdl/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/sdl/gui.cpp b/src/drivers/sdl/gui.cpp index 44d21726..5db8a42f 100644 --- a/src/drivers/sdl/gui.cpp +++ b/src/drivers/sdl/gui.cpp @@ -1504,7 +1504,7 @@ void loadGameGenie () GtkWidget* d; enableGameGenie(TRUE); 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_widget_destroy(d);