mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-08 07:55:35 +00:00
Make rsx::get_address report caller location
This commit is contained in:
parent
c64935f9dd
commit
b7043ce000
12 changed files with 78 additions and 60 deletions
|
|
@ -384,10 +384,10 @@ void Buffer::ShowWindowed()
|
|||
if (m_isTex)
|
||||
{
|
||||
/* u8 location = render->textures[m_cur_texture].location();
|
||||
if(location <= 1 && vm::check_addr(rsx::get_address(render->textures[m_cur_texture].offset(), location))
|
||||
if(location <= 1 && vm::check_addr(rsx::get_address(render->textures[m_cur_texture].offset(), location, HERE))
|
||||
&& render->textures[m_cur_texture].width() && render->textures[m_cur_texture].height())
|
||||
memory_viewer_panel::ShowImage(this,
|
||||
rsx::get_address(render->textures[m_cur_texture].offset(), location), 1,
|
||||
rsx::get_address(render->textures[m_cur_texture].offset(), location, HERE), 1,
|
||||
render->textures[m_cur_texture].width(),
|
||||
render->textures[m_cur_texture].height(), false);*/
|
||||
}
|
||||
|
|
@ -704,7 +704,7 @@ void rsx_debugger::GetBuffers()
|
|||
if(location > 1)
|
||||
return;
|
||||
|
||||
u32 TexBuffer_addr = rsx::get_address(offset, location);
|
||||
u32 TexBuffer_addr = rsx::get_address(offset, location, HERE);
|
||||
|
||||
if(!vm::check_addr(TexBuffer_addr))
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue