mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Fix cellVdecOpen
Use pseudo-address in sys_ppu_thread_create calls
This commit is contained in:
parent
c34821ded2
commit
f40320bcae
2 changed files with 2 additions and 2 deletions
|
|
@ -453,7 +453,7 @@ static s32 vdecOpen(ppu_thread& ppu, T type, U res, vm::cptr<CellVdecCb> cb, vm:
|
|||
// Run thread
|
||||
vm::var<u64> _tid;
|
||||
vm::var<char[]> _name = vm::make_str("HLE Video Decoder");
|
||||
ppu_execute<&sys_ppu_thread_create>(ppu, +_tid, 0, vid, +res->ppuThreadPriority, +res->ppuThreadStackSize, SYS_PPU_THREAD_CREATE_INTERRUPT, +_name);
|
||||
ppu_execute<&sys_ppu_thread_create>(ppu, +_tid, 0x10000, vid, +res->ppuThreadPriority, +res->ppuThreadStackSize, SYS_PPU_THREAD_CREATE_INTERRUPT, +_name);
|
||||
*handle = vid;
|
||||
|
||||
const auto thrd = idm::get<named_thread<ppu_thread>>(*_tid);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue