Minor linux fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@77 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
dc717f7283
commit
bb1ea13cff
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue