mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-18 01:12:41 -06:00
Attempt to be consistent with conversions between std::string and wxString.
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
|
||||
#include "DSPDebugWindow.h"
|
||||
#include "DSPRegisterView.h"
|
||||
|
||||
#include "../WxUtils.h"
|
||||
|
||||
wxString CDSPRegTable::GetValue(int row, int col)
|
||||
{
|
||||
@ -25,7 +25,7 @@ wxString CDSPRegTable::GetValue(int row, int col)
|
||||
{
|
||||
switch (col)
|
||||
{
|
||||
case 0: return wxString::FromAscii(pdregname(row));
|
||||
case 0: return StrToWxStr(pdregname(row));
|
||||
case 1: return wxString::Format(wxT("0x%04x"), DSPCore_ReadRegister(row));
|
||||
default: return wxEmptyString;
|
||||
}
|
||||
|
Reference in New Issue
Block a user