From 5a417fe76c8f98c04facc01cf9d7b142ab3c6747 Mon Sep 17 00:00:00 2001 From: nakeee Date: Tue, 15 Dec 2009 14:40:03 +0000 Subject: [PATCH] Linux compile fix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4697 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DebuggerWX/Src/MemoryWindow.cpp | 6 +++--- Source/Plugins/Plugin_Wiimote/Src/SConscript | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Source/Core/DebuggerWX/Src/MemoryWindow.cpp b/Source/Core/DebuggerWX/Src/MemoryWindow.cpp index 4e8fe80829..474fac90ef 100644 --- a/Source/Core/DebuggerWX/Src/MemoryWindow.cpp +++ b/Source/Core/DebuggerWX/Src/MemoryWindow.cpp @@ -360,7 +360,7 @@ void CMemoryWindow::onSearch(wxCommandEvent& event){ //sprintf(tmpstr,"%s%s",tmpstr,rawData.c_str()); //strcpy(&tmpstr[1],rawData.ToAscii()); //memcpy(&tmpstr[1],&rawData.c_str()[0],rawData.size()); - sprintf(tmpstr,"%s%s",tmpstr,rawData.To8BitData()); + sprintf(tmpstr,"%s%s",tmpstr,(const char *)rawData.mb_str()); tmp2=&Dest.front(); count=0; for(i=0;iSetValue(0); -} \ No newline at end of file +} diff --git a/Source/Plugins/Plugin_Wiimote/Src/SConscript b/Source/Plugins/Plugin_Wiimote/Src/SConscript index 87c6fd9dfc..ec482e0df4 100644 --- a/Source/Plugins/Plugin_Wiimote/Src/SConscript +++ b/Source/Plugins/Plugin_Wiimote/Src/SConscript @@ -10,21 +10,20 @@ files = [ "Config.cpp", "DataReports.cpp", "EmuDefinitions.cpp", - "EmuDynamics.cpp", + "EmuDynamics.cpp", "EmuMain.cpp", "EmuPad.cpp", "EmuSubroutines.cpp", "Encryption.cpp", - "FakeAccelerometer.cpp", "main.cpp", - "Rumble.cpp", + "Rumble.cpp", ] if wmenv['HAVE_WX']: files += [ "ConfigBasicDlg.cpp", "ConfigPadDlg.cpp", "ConfigRecordingDlg.cpp", - "ConfigGamepad.cpp", + "ConfigGamepad.cpp", "ConfigRecording.cpp", "FillReport.cpp", ]