From bb1ea13cfffbd8ff6d8828e128f9343bde684656 Mon Sep 17 00:00:00 2001 From: Laurence Muller Date: Thu, 24 Jul 2008 09:22:12 +0000 Subject: [PATCH] Minor linux fixes git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@77 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DebuggerWX/src/BreakPointDlg.cpp | 4 ++-- Source/Core/DebuggerWX/src/MemoryCheckDlg.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/Core/DebuggerWX/src/BreakPointDlg.cpp b/Source/Core/DebuggerWX/src/BreakPointDlg.cpp index c42271fdd1..3a20b94460 100644 --- a/Source/Core/DebuggerWX/src/BreakPointDlg.cpp +++ b/Source/Core/DebuggerWX/src/BreakPointDlg.cpp @@ -74,7 +74,7 @@ void BreakPointDlg::OnOK(wxCommandEvent& /*event*/) { wxString AddressString = m_pEditAddress->GetLineText(0); u32 Address = 0; - if (AsciiToHex(AddressString.GetData(), Address)) + if (AsciiToHex(AddressString.mb_str(), Address)) { CBreakPoints::AddBreakPoint(Address); Close(); @@ -84,4 +84,4 @@ void BreakPointDlg::OnOK(wxCommandEvent& /*event*/) void BreakPointDlg::OnCancel(wxCommandEvent& /*event*/) { Close(); -} \ No newline at end of file +} diff --git a/Source/Core/DebuggerWX/src/MemoryCheckDlg.cpp b/Source/Core/DebuggerWX/src/MemoryCheckDlg.cpp index b2dbb27fda..1ca887c35b 100644 --- a/Source/Core/DebuggerWX/src/MemoryCheckDlg.cpp +++ b/Source/Core/DebuggerWX/src/MemoryCheckDlg.cpp @@ -88,8 +88,8 @@ void MemoryCheckDlg::OnOK(wxCommandEvent& /*event*/) bool OnWrite = m_pWriteFlag->GetValue(); u32 StartAddress, EndAddress; - if (AsciiToHex(StartAddressString.GetData(), StartAddress) && - AsciiToHex(EndAddressString.GetData(), EndAddress)) + if (AsciiToHex(StartAddressString.mb_str(), StartAddress) && + AsciiToHex(EndAddressString.mb_str(), EndAddress)) { TMemCheck MemCheck; MemCheck.StartAddress = StartAddress; @@ -108,4 +108,4 @@ void MemoryCheckDlg::OnOK(wxCommandEvent& /*event*/) void MemoryCheckDlg::OnCancel(wxCommandEvent& /*event*/) { Close(); -} \ No newline at end of file +}