From 6a3591bb84658ef2b79dd961a043ceff336736c6 Mon Sep 17 00:00:00 2001 From: riccardom Date: Sat, 16 May 2009 18:14:37 +0000 Subject: [PATCH] nds_screen_rotation_angle is really an int. --- desmume/src/gtk/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/gtk/main.cpp b/desmume/src/gtk/main.cpp index 664db69ef..38cf437fb 100644 --- a/desmume/src/gtk/main.cpp +++ b/desmume/src/gtk/main.cpp @@ -511,7 +511,7 @@ GtkUIManager *ui_manager; guint nds_gap_size = 0; float nds_screen_size_ratio = 1.0f; -int nds_screen_rotation_angle = 0.0f; +int nds_screen_rotation_angle = 0; static BOOL regMainLoop = FALSE; @@ -1218,7 +1218,7 @@ static void SetRotation(GtkAction* action) H = 256; break; default: - g_printerr("Congratulations, you've managed to set unsupported screen rotation angle (%s), resetting angle to 0\n", + g_printerr("Congratulations, you've managed to set unsupported screen rotation angle (%d), resetting angle to 0\n", nds_screen_rotation_angle); nds_screen_rotation_angle = 0; W = 256;