| 2915 | } |
| 2916 | |
| 2917 | be_t<u64>* ppu_thread::get_stack_arg(s32 i, u64 align) |
| 2918 | { |
| 2919 | if (align != 1 && align != 2 && align != 4 && align != 8 && align != 16) |
| 2920 | fmt::throw_exception("Unsupported alignment: 0x%llx", align); |
| 2921 | return vm::_ptr<u64>(vm::cast((gpr[1] + 0x30 + 0x8 * (i - 1)) & (0 - align))); |
| 2922 | } |
| 2923 | |
| 2924 | void ppu_thread::fast_call(u32 addr, u64 rtoc, bool is_thread_entry) |
| 2925 | { |
no test coverage detected