mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Rsx: rewrite address translation
This commit is contained in:
parent
9e380a4a4a
commit
f349695a75
80 changed files with 218 additions and 429 deletions
|
|
@ -215,8 +215,7 @@ rsx_debugger::rsx_debugger(std::shared_ptr<gui_settings> gui_settings, QWidget*
|
|||
{
|
||||
if (const auto render = rsx::get_current_renderer())
|
||||
{
|
||||
u32 realAddr;
|
||||
if (RSXIOMem.getRealAddr(render->ctrl->get.load(), realAddr))
|
||||
if (u32 realAddr = RSXIOMem.RealAddr(render->ctrl->get.load()))
|
||||
{
|
||||
m_addr = realAddr;
|
||||
UpdateInformation();
|
||||
|
|
@ -227,8 +226,7 @@ rsx_debugger::rsx_debugger(std::shared_ptr<gui_settings> gui_settings, QWidget*
|
|||
{
|
||||
if (const auto render = rsx::get_current_renderer())
|
||||
{
|
||||
u32 realAddr;
|
||||
if (RSXIOMem.getRealAddr(render->ctrl->put.load(), realAddr))
|
||||
if (u32 realAddr = RSXIOMem.RealAddr(render->ctrl->put.load()))
|
||||
{
|
||||
m_addr = realAddr;
|
||||
UpdateInformation();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue