mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
rsx-capture: unbreak
This commit is contained in:
parent
00c9b323c2
commit
b9fd6ad37d
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,9 @@ namespace rsx
|
|||
fmt::throw_exception("Capture Replay: context alloc failed");
|
||||
const auto& contextInfo = vm::_ref<rsx_context>(contextAddr);
|
||||
|
||||
if (sys_rsx_device_map(vm::make_var<u64>(0), vm::null, 0x8) != CELL_OK)
|
||||
fmt::throw_exception("Capture Replay: sys_rsx_device_map failed!");
|
||||
|
||||
if (sys_rsx_memory_allocate(vm::get_addr(&contextInfo.mem_handle), vm::get_addr(&contextInfo.mem_addr), 0x0F900000, 0, 0, 0, 0) != CELL_OK)
|
||||
fmt::throw_exception("Capture Replay: sys_rsx_memory_allocate failed!");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue