IPC: let's try that: when reopening a device, return the device's ID, rather than an error code.
MKWii can now be played even if you don't have a save file, but it will fail to save and tell the file is corrupted each time you'll launch it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4706 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
bb81ea26ca
commit
0176879e45
|
@ -328,7 +328,7 @@ void ExecuteCommand(u32 _Address)
|
|||
{
|
||||
// We have already opened this device, return -6
|
||||
if(pDevice->IsOpened())
|
||||
Memory::Write_U32(u32(-6), _Address + 4);
|
||||
Memory::Write_U32(/*u32(-6)*/DeviceID, _Address + 4);
|
||||
else
|
||||
pDevice->Open(_Address, Mode);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue