Fixes for ICC compilation errors (Issue 350)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1616 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2009-08-12 13:15:14 +00:00
parent 864e49e69f
commit e56ef9138e
4 changed files with 8 additions and 15 deletions

View File

@ -480,7 +480,7 @@ void CALLBACK NODISCdummyVOID()
{ {
} }
void CALLBACK NODISCnewDiskCB(void(CALLBACK*)()) void CALLBACK NODISCnewDiskCB(__unused void (*callback)())
{ {
} }

View File

@ -396,7 +396,7 @@ void CALLBACK ISOdummyVOID()
{ {
} }
void CALLBACK ISOnewDiskCB(void(CALLBACK*)()) void CALLBACK ISOnewDiskCB(__unused void (*callback)())
{ {
} }

View File

@ -233,14 +233,11 @@ extern u8* g_pIPU0Pointer;
PCSX2_ALIGNED16(extern macroblock_rgb32 rgb32); PCSX2_ALIGNED16(extern macroblock_rgb32 rgb32);
PCSX2_ALIGNED16(extern macroblock_8 mb8); PCSX2_ALIGNED16(extern macroblock_8 mb8);
void dmaIPU0(); extern int ipuInit();
void dmaIPU1(); extern void ipuReset();
extern void ipuShutdown();
int ipuInit(); extern int ipuFreeze(gzFile f, int Mode);
void ipuReset(); extern bool ipuCanFreeze();
void ipuShutdown();
int ipuFreeze(gzFile f, int Mode);
bool ipuCanFreeze();
extern u32 ipuRead32(u32 mem); extern u32 ipuRead32(u32 mem);
@ -248,11 +245,6 @@ extern u64 ipuRead64(u32 mem);
extern void ipuWrite32(u32 mem,u32 value); extern void ipuWrite32(u32 mem,u32 value);
extern void ipuWrite64(u32 mem,u64 value); extern void ipuWrite64(u32 mem,u64 value);
int ipuConstRead32(u32 x86reg, u32 mem);
void ipuConstRead64(u32 mem, int mmreg);
void ipuConstWrite32(u32 mem, int mmreg);
void ipuConstWrite64(u32 mem, int mmreg);
extern void IPUCMD_WRITE(u32 val); extern void IPUCMD_WRITE(u32 val);
extern void ipuSoftReset(); extern void ipuSoftReset();
extern void IPUProcessInterrupt(); extern void IPUProcessInterrupt();

View File

@ -218,6 +218,7 @@ mtgsThreadObject::mtgsThreadObject() :
void mtgsThreadObject::Start() void mtgsThreadObject::Start()
{ {
m_post_InitDone.Reset();
Thread::Start(); Thread::Start();
// Wait for the thread to finish initialization (it runs GSinit, which can take // Wait for the thread to finish initialization (it runs GSinit, which can take