mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06:00
Core: Join some variable declarations and assignments
This commit is contained in:
@ -260,12 +260,8 @@ IWII_IPC_HLE_Device* AccessDeviceByID(u32 _ID)
|
||||
IWII_IPC_HLE_Device* CreateFileIO(u32 _DeviceID, const std::string& _rDeviceName)
|
||||
{
|
||||
// scan device name and create the right one
|
||||
IWII_IPC_HLE_Device* pDevice = nullptr;
|
||||
|
||||
INFO_LOG(WII_IPC_FILEIO, "IOP: Create FileIO %s", _rDeviceName.c_str());
|
||||
pDevice = new CWII_IPC_HLE_Device_FileIO(_DeviceID, _rDeviceName);
|
||||
|
||||
return pDevice;
|
||||
return new CWII_IPC_HLE_Device_FileIO(_DeviceID, _rDeviceName);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user