Wiimote: Fix to last commit

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2034 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson 2009-01-29 08:51:23 +00:00
parent a35579c40b
commit f813454d76
1 changed files with 8 additions and 2 deletions

View File

@ -70,8 +70,8 @@ void RecordingPlay(u8 &_x, u8 &_y, u8 &_z)
// Return if the playback speed is unset
if(VRecording.at(g_RecordingPlaying).PlaybackSpeed < 0)
{
Console::Print("PlaybackSpeed empty: %i\n\n", g_RecordingPlaying);
g_RecordingPlaying = -1;
Console::Print("PlaybackSpeed empty\n\n");
return;
}
@ -158,7 +158,13 @@ int RecordingCheckKeys(bool Wiimote)
bool Match = false;
for(int i = 0; i < RECORDING_ROWS; i++)
{
if (VRecording.at(i).HotKey == Key) Match = true;
if (VRecording.at(i).HotKey == Key)
{
//Console::Print("Match: %i %i\n", i, Key);
Match = true;
Key = i;
break;
}
}
// Return nothing if we don't have a match