From a64467ec5e4aaf5475fd0b6ab37064ff42b1fa1e Mon Sep 17 00:00:00 2001 From: Billiard26 Date: Thu, 22 Jul 2010 05:39:57 +0000 Subject: [PATCH] Double warning fix! Thanks to Nakeeeee and BhaaL! :p git-svn-id: http://dolphin-emu.googlecode.com/svn/trunk@5943 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DolphinWX/Src/CheatsWindow.h | 1 - Source/Plugins/Plugin_WiimoteNew/Src/WiimoteEmu/WiimoteEmu.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/DolphinWX/Src/CheatsWindow.h b/Source/Core/DolphinWX/Src/CheatsWindow.h index a08d2f8c7..32894b4ad 100644 --- a/Source/Core/DolphinWX/Src/CheatsWindow.h +++ b/Source/Core/DolphinWX/Src/CheatsWindow.h @@ -80,7 +80,6 @@ protected: wxListBox* lbox_search_results; wxStaticText* label_results_count; wxTextCtrl* textctrl_value_x; - wxString* searches; wxButton *btnInitScan, *btnNextScan; struct diff --git a/Source/Plugins/Plugin_WiimoteNew/Src/WiimoteEmu/WiimoteEmu.cpp b/Source/Plugins/Plugin_WiimoteNew/Src/WiimoteEmu/WiimoteEmu.cpp index 3cff70697..55176319b 100644 --- a/Source/Plugins/Plugin_WiimoteNew/Src/WiimoteEmu/WiimoteEmu.cpp +++ b/Source/Plugins/Plugin_WiimoteNew/Src/WiimoteEmu/WiimoteEmu.cpp @@ -539,7 +539,7 @@ void Wiimote::Update() } // Fill report with valid data when full handshake was done - if (m_reg_ir->data[0x30] || m_reg_ir->data[0x33]) + if (m_reg_ir->data[0x30]) // ir mode switch (m_reg_ir->mode) { -- 2.11.4.GIT