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:
Alexandro Sánchez Bach 2014-08-16 23:45:56 +02:00
parent 2fb95556a5
commit b7be8b19ef
5 changed files with 121 additions and 36 deletions

View file

@ -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);