mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Updates in sys_rsx and CellGcmDisplayInfo
Thanks a lot to @3141card for all the relevant information about RSX related lv2 syscalls.
This commit is contained in:
parent
2fb95556a5
commit
b7be8b19ef
5 changed files with 121 additions and 36 deletions
|
@ -1320,7 +1320,7 @@ void RSXThread::DoCmd(const u32 fcmd, const u32 cmd, mem32_ptr_t args, const u32
|
|||
case 2: m_surface_pitch_a = ARGS(1);
|
||||
}
|
||||
|
||||
gcmBuffer* buffers = (gcmBuffer*)Memory.GetMemFromAddr(m_gcm_buffers_addr);
|
||||
CellGcmDisplayInfo* buffers = (CellGcmDisplayInfo*)Memory.GetMemFromAddr(m_gcm_buffers_addr);
|
||||
m_width = re(buffers[m_gcm_current_buffer].width);
|
||||
m_height = re(buffers[m_gcm_current_buffer].height);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue