From d5dd6881d702b3a8fed7688fcf7ac09bfb8bfaf5 Mon Sep 17 00:00:00 2001 From: TMaul Date: Sat, 22 Dec 2012 18:40:05 +0000 Subject: [PATCH] Fix returned value length --- Core/Dialog/PSPOskDialog.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Core/Dialog/PSPOskDialog.cpp b/Core/Dialog/PSPOskDialog.cpp index 85c66c07d2..b7fa333741 100644 --- a/Core/Dialog/PSPOskDialog.cpp +++ b/Core/Dialog/PSPOskDialog.cpp @@ -281,7 +281,6 @@ void PSPOskDialog::Update() int selectedRow = selectedChar / (KEYSPERROW-1); int selectedExtra = selectedChar % (KEYSPERROW-1); - //__UtilityUpdate(); if (status == SCE_UTILITY_STATUS_INITIALIZE) { status = SCE_UTILITY_STATUS_RUNNING; @@ -327,9 +326,6 @@ void PSPOskDialog::Update() { selectedChar = 0; } - - - // TODO : Dialogs should take control over input and not send them to the game while displaying if (IsButtonPressed(CTRL_CROSS)) { @@ -352,20 +348,19 @@ void PSPOskDialog::Update() { status = SCE_UTILITY_STATUS_FINISHED; } - - EndDraw(); } else if (status == SCE_UTILITY_STATUS_FINISHED) { status = SCE_UTILITY_STATUS_SHUTDOWN; } + for (int i=0; i