move enum to include
added log message git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1382 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
395129d2c4
commit
27dc595d7c
|
@ -68,16 +68,6 @@
|
|||
namespace WII_IPC_HLE_Interface
|
||||
{
|
||||
|
||||
enum ECommandType
|
||||
{
|
||||
COMMAND_OPEN_DEVICE = 1,
|
||||
COMMAND_CLOSE_DEVICE = 2,
|
||||
COMMAND_READ = 3,
|
||||
COMMAND_WRITE = 4,
|
||||
COMMAND_SEEK = 5,
|
||||
COMMAND_IOCTL = 6,
|
||||
COMMAND_IOCTLV = 7,
|
||||
};
|
||||
|
||||
typedef std::map<u32, IWII_IPC_HLE_Device*> TDeviceMap;
|
||||
TDeviceMap g_DeviceMap;
|
||||
|
@ -432,7 +422,8 @@ void ExecuteCommand(u32 _Address)
|
|||
}
|
||||
else
|
||||
{
|
||||
g_ReplyQueue.push(std::pair<u32, std::string>(_Address, "unknown"));
|
||||
LOG(WII_IPC_HLE, "IOP: Reply to unknown device ID (DeviceID=%i)", DeviceID);
|
||||
g_ReplyQueue.push(std::pair<u32, std::string>(_Address, "unknown"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,6 +33,17 @@ void Update();
|
|||
// Acknowledge command
|
||||
bool AckCommand(u32 _Address);
|
||||
|
||||
enum ECommandType
|
||||
{
|
||||
COMMAND_OPEN_DEVICE = 1,
|
||||
COMMAND_CLOSE_DEVICE = 2,
|
||||
COMMAND_READ = 3,
|
||||
COMMAND_WRITE = 4,
|
||||
COMMAND_SEEK = 5,
|
||||
COMMAND_IOCTL = 6,
|
||||
COMMAND_IOCTLV = 7,
|
||||
};
|
||||
|
||||
} // end of namespace AudioInterface
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue