summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorJohn Peterson <jpeterson57@gmail.com>2009-01-29 08:51:23 +0000
committerJohn Peterson <jpeterson57@gmail.com>2009-01-29 08:51:23 +0000
commitf813454d768d084e8ab41c25c76ae2d0f4ed167d (patch)
tree360ca26cb0a237249601c8fb9c0a4b74d62348b7 /Source
parenta35579c40b1bec07703c3d9689804bdf9a1b997d (diff)
Wiimote: Fix to last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2034 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
-rw-r--r--Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp b/Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp
index aab7d66967..8b53608dfd 100644
--- a/Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp
+++ b/Source/Plugins/Plugin_Wiimote/Src/FillReport.cpp
@@ -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