diff --git a/src/drivers/sdl/gui.cpp b/src/drivers/sdl/gui.cpp
index 0231d7e1..8c7ebc35 100644
--- a/src/drivers/sdl/gui.cpp
+++ b/src/drivers/sdl/gui.cpp
@@ -1329,6 +1329,14 @@ void toggleGameGenie(GtkToggleAction *action)
enableGameGenie(gtk_toggle_action_get_active(action));
}
+void togglePause(GtkToggleAction *action)
+{
+ if(gtk_toggle_action_get_active(action))
+ FCEUI_SetEmulationPaused(1);
+ else
+ FCEUI_SetEmulationPaused(0);
+}
+
void loadGameGenie ()
{
GtkWidget* fileChooser;
@@ -1840,8 +1848,7 @@ static char* menuXml =
"