mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Core: Simplify Memory::GetString
This commit is contained in:
@ -369,8 +369,7 @@ void ExecuteCommand(u32 _Address)
|
||||
u32 Mode = Memory::Read_U32(_Address + 0x10);
|
||||
DeviceID = getFreeDeviceId();
|
||||
|
||||
std::string DeviceName;
|
||||
Memory::GetString(DeviceName, Memory::Read_U32(_Address + 0xC));
|
||||
std::string DeviceName = Memory::GetString(Memory::Read_U32(_Address + 0xC));
|
||||
|
||||
WARN_LOG(WII_IPC_HLE, "Trying to open %s as %d", DeviceName.c_str(), DeviceID);
|
||||
if (DeviceID >= 0)
|
||||
|
Reference in New Issue
Block a user