gcc buildfix

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4942 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2010-01-24 06:51:32 +00:00
parent 2f8a6f86b9
commit d81555108c
1 changed files with 6 additions and 6 deletions

View File

@ -54,12 +54,12 @@ public:
return true;
}
#define UNIMPLEMENTED_CMD(cmd) _dbg_assert_msg_(WII_IPC_HLE, 0, "%s does not support "##cmd##"()", m_Name.c_str()); return true;
virtual bool Seek (u32) { UNIMPLEMENTED_CMD("Seek") }
virtual bool Read (u32) { UNIMPLEMENTED_CMD("Read") }
virtual bool Write (u32) { UNIMPLEMENTED_CMD("Write") }
virtual bool IOCtl (u32) { UNIMPLEMENTED_CMD("IOCtl") }
virtual bool IOCtlV (u32) { UNIMPLEMENTED_CMD("IOCtlV") }
#define UNIMPLEMENTED_CMD(cmd) _dbg_assert_msg_(WII_IPC_HLE, 0, "%s does not support "#cmd"()", m_Name.c_str()); return true;
virtual bool Seek (u32) { UNIMPLEMENTED_CMD(Seek) }
virtual bool Read (u32) { UNIMPLEMENTED_CMD(Read) }
virtual bool Write (u32) { UNIMPLEMENTED_CMD(Write) }
virtual bool IOCtl (u32) { UNIMPLEMENTED_CMD(IOCtl) }
virtual bool IOCtlV (u32) { UNIMPLEMENTED_CMD(IOCtlV) }
#undef UNIMPLEMENTED_CMD
virtual u32 Update() { return 0; }