- added stubbed out GSP::Gpu service interface

- various cleanups/refactors to HLE services
This commit is contained in:
bunnei 2014-04-16 00:03:41 -04:00
parent acef5e0b17
commit 32c3462047
9 changed files with 111 additions and 7 deletions

View file

@ -17,7 +17,7 @@ void GetServiceHandle() {
Syscall::Result res = 0;
u32* cmd_buff = (u32*)HLE::GetPointer(HLE::CMD_BUFFER_ADDR + Service::kCommandHeaderOffset);
const char* port_name = (const char*)&cmd_buff[1];
std::string port_name = std::string((const char*)&cmd_buff[1], 0, Service::kMaxPortSize);
Service::Interface* service = Service::g_manager->FetchFromPortName(port_name);
NOTICE_LOG(OSHLE, "SRV::Sync - GetHandle - port: %s, handle: 0x%08X", port_name,