mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
PPU: HACK instruction removed
Breakpoints fixed
This commit is contained in:
parent
ddd6ebc58d
commit
3bfe17a14f
20 changed files with 155 additions and 379 deletions
|
|
@ -630,7 +630,7 @@ void arm_load_exec(const arm_exec_object& elf)
|
|||
const auto stop_code = vm::ptr<u32>::make(vm::alloc(3 * 4, vm::main));
|
||||
stop_code[0] = 0xf870; // HACK instruction (Thumb)
|
||||
stop_code[1] = 1; // Predefined function index (HLE return)
|
||||
Emu.SetCPUThreadStop(stop_code.addr());
|
||||
arm_function_manager::addr = stop_code.addr();
|
||||
|
||||
const std::string& thread_name = proc_param->sceUserMainThreadName ? proc_param->sceUserMainThreadName.get_ptr() : "main_thread";
|
||||
const u32 stack_size = proc_param->sceUserMainThreadStackSize ? proc_param->sceUserMainThreadStackSize->value() : 256 * 1024;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue