From 0249d5fbaa250923ab3e2c9a6a1b8b4627d1df9f Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Fri, 31 Dec 2010 03:08:22 +0000 Subject: [PATCH] A few details missed in the last commit. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6694 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp | 5 +++++ Source/Core/DolphinWX/Src/AboutDolphin.cpp | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp b/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp index 64c755d299..442cd88bb7 100644 --- a/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp +++ b/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp @@ -314,6 +314,11 @@ static int ConnectWiimotes(Wiimote** wm) if (wm[i]->Connect()) ++connected; + else + { + delete wm[i]; + wm[i] = NULL; + } } return connected; diff --git a/Source/Core/DolphinWX/Src/AboutDolphin.cpp b/Source/Core/DolphinWX/Src/AboutDolphin.cpp index af608bff03..61f37ae581 100644 --- a/Source/Core/DolphinWX/Src/AboutDolphin.cpp +++ b/Source/Core/DolphinWX/Src/AboutDolphin.cpp @@ -70,8 +70,6 @@ void AboutDolphin::CreateGUIControls() "\n" "Thanks to hcs/destop for their GC ADPCM decoder.\n" "\n" - "Thanks to Michael Laforest for the Wiiuse library.\n" - "\n" "We are not affiliated with Nintendo in any way.\n" "Gamecube and Wii are trademarks of Nintendo.\n" "The emulator is for educational purposes only\n"