mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-09 00:14:56 +00:00
Initial new PPU interpreter implementation
Replaced dangerous offset32 usages with safe OFFSET_OF macro
This commit is contained in:
parent
dcc965c2bb
commit
7115851c82
81 changed files with 13791 additions and 5398 deletions
|
|
@ -1675,7 +1675,7 @@ error_code cellVdecGetPicItem(ppu_thread& ppu, u32 handle,
|
|||
info->status = CELL_OK;
|
||||
info->attr = attr;
|
||||
|
||||
const vm::addr_t picinfo_addr{info.addr() + ::offset32(&all_info_t::picInfo)};
|
||||
const vm::addr_t picinfo_addr{info.addr() + OFFSET_OF(all_info_t, picInfo)};
|
||||
info->picInfo_addr = picinfo_addr;
|
||||
|
||||
if (vdec->type == CELL_VDEC_CODEC_TYPE_AVC)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue