mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Reformat all the things!
This commit is contained in:
@ -38,6 +38,7 @@ public:
|
||||
}
|
||||
|
||||
void SetPlain() { m_plain = true; }
|
||||
|
||||
private:
|
||||
void OnPaint(wxPaintEvent& event);
|
||||
void OnScrollWheel(wxMouseEvent& event);
|
||||
|
18
Source/Core/DolphinWX/Debugger/RegisterView.cpp
Executable file → Normal file
18
Source/Core/DolphinWX/Debugger/RegisterView.cpp
Executable file → Normal file
@ -319,19 +319,19 @@ wxString CRegTable::GetValue(int row, int col)
|
||||
PowerPC::ppcState.spr[SPR_DBAT0L + row * 2]);
|
||||
|
||||
if (row < 8)
|
||||
return wxString::Format("%016llx", (u64)PowerPC::ppcState.spr[SPR_IBAT0U + (row - 4) * 2]
|
||||
<< 32 |
|
||||
PowerPC::ppcState.spr[SPR_IBAT0L + (row - 4) * 2]);
|
||||
return wxString::Format("%016llx",
|
||||
(u64)PowerPC::ppcState.spr[SPR_IBAT0U + (row - 4) * 2] << 32 |
|
||||
PowerPC::ppcState.spr[SPR_IBAT0L + (row - 4) * 2]);
|
||||
|
||||
if (row < 12)
|
||||
return wxString::Format("%016llx", (u64)PowerPC::ppcState.spr[SPR_DBAT4U + (row - 12) * 2]
|
||||
<< 32 |
|
||||
PowerPC::ppcState.spr[SPR_DBAT4L + (row - 12) * 2]);
|
||||
return wxString::Format("%016llx",
|
||||
(u64)PowerPC::ppcState.spr[SPR_DBAT4U + (row - 12) * 2] << 32 |
|
||||
PowerPC::ppcState.spr[SPR_DBAT4L + (row - 12) * 2]);
|
||||
|
||||
if (row < 16)
|
||||
return wxString::Format("%016llx", (u64)PowerPC::ppcState.spr[SPR_IBAT4U + (row - 16) * 2]
|
||||
<< 32 |
|
||||
PowerPC::ppcState.spr[SPR_IBAT4L + (row - 16) * 2]);
|
||||
return wxString::Format("%016llx",
|
||||
(u64)PowerPC::ppcState.spr[SPR_IBAT4U + (row - 16) * 2] << 32 |
|
||||
PowerPC::ppcState.spr[SPR_IBAT4L + (row - 16) * 2]);
|
||||
|
||||
if (row == 16)
|
||||
return wxString::Format("%016" PRIx64, static_cast<u64>(PowerPC::ppcState.spr[SPR_TU])
|
||||
|
Reference in New Issue
Block a user