mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-28 19:20:36 +00:00
rsx-capture: unbreak
This commit is contained in:
parent
00c9b323c2
commit
b9fd6ad37d
@ -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…
x
Reference in New Issue
Block a user