mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Clean vm::ps3 namespace use
This commit is contained in:
parent
76be7d40ac
commit
cce0ad0c35
176 changed files with 693 additions and 698 deletions
|
|
@ -17,7 +17,7 @@
|
|||
#include <set>
|
||||
#include <algorithm>
|
||||
|
||||
namespace vm { using namespace ps3; }
|
||||
|
||||
|
||||
extern void ppu_initialize_syscalls();
|
||||
extern std::string ppu_get_function_name(const std::string& module, u32 fnid);
|
||||
|
|
@ -269,8 +269,8 @@ static void ppu_initialize_modules(const std::shared_ptr<ppu_linkage_info>& link
|
|||
for (u32 addr = ppu_function_manager::addr, index = 0; index < hle_funcs.size(); addr += 8, index++)
|
||||
{
|
||||
// Function address = current address, RTOC = BLR instruction for the interpreter
|
||||
vm::ps3::write32(addr + 0, addr);
|
||||
vm::ps3::write32(addr + 4, ppu_instructions::BLR());
|
||||
vm::write32(addr + 0, addr);
|
||||
vm::write32(addr + 4, ppu_instructions::BLR());
|
||||
|
||||
// Register the HLE function directly
|
||||
ppu_register_function_at(addr + 0, 4, hle_funcs[index]);
|
||||
|
|
@ -1129,7 +1129,7 @@ void ppu_load_exec(const ppu_exec_object& elf)
|
|||
//be_t<u32> crash_dump_param_addr;
|
||||
};
|
||||
|
||||
const auto& info = vm::ps3::_ref<process_param_t>(vm::cast(prog.p_vaddr, HERE));
|
||||
const auto& info = vm::_ref<process_param_t>(vm::cast(prog.p_vaddr, HERE));
|
||||
|
||||
if (info.size < sizeof(process_param_t))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue