mirror of https://github.com/PCSX2/pcsx2.git
zzogl: bad function declaration
This commit is contained in:
parent
4d78b6be31
commit
2816188c83
|
@ -767,7 +767,7 @@ EXPORT_C_(void) GSReplay(char* lpszCmdLine)
|
||||||
switch(p->param)
|
switch(p->param)
|
||||||
{
|
{
|
||||||
//case 0: GSgifTransfer1((u32*)&p->buff[0], p->addr); break;
|
//case 0: GSgifTransfer1((u32*)&p->buff[0], p->addr); break;
|
||||||
case 0: _GSgifTransfer<0>((u32*)&p->buff[0], p->real_size); break;
|
case 0: GSgifTransfer0((u32*)&p->buff[0], p->real_size); break;
|
||||||
case 1: GSgifTransfer2((u32*)&p->buff[0], p->real_size); break;
|
case 1: GSgifTransfer2((u32*)&p->buff[0], p->real_size); break;
|
||||||
case 2: GSgifTransfer3((u32*)&p->buff[0], p->real_size); break;
|
case 2: GSgifTransfer3((u32*)&p->buff[0], p->real_size); break;
|
||||||
case 3: GSgifTransfer((u32*)&p->buff[0], p->real_size); break;
|
case 3: GSgifTransfer((u32*)&p->buff[0], p->real_size); break;
|
||||||
|
|
|
@ -244,6 +244,12 @@ template<int index> void _GSgifTransfer(const u32 *pMem, u32 size)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Used for replay
|
||||||
|
void GSgifTransfer0(u32 *pMem, u32 addr)
|
||||||
|
{
|
||||||
|
_GSgifTransfer<0>(pMem, addr);
|
||||||
|
}
|
||||||
|
|
||||||
EXPORT_C_(void) GSgifTransfer1(u32 *pMem, u32 addr)
|
EXPORT_C_(void) GSgifTransfer1(u32 *pMem, u32 addr)
|
||||||
{
|
{
|
||||||
FUNCLOG
|
FUNCLOG
|
||||||
|
|
|
@ -126,7 +126,7 @@ typedef struct
|
||||||
|
|
||||||
extern void _GSgifPacket(pathInfo *path, const u32 *pMem);
|
extern void _GSgifPacket(pathInfo *path, const u32 *pMem);
|
||||||
extern void _GSgifRegList(pathInfo *path, const u32 *pMem);
|
extern void _GSgifRegList(pathInfo *path, const u32 *pMem);
|
||||||
extern void _GSgifTransfer(pathInfo *path, const u32 *pMem, u32 size);
|
extern void GSgifTransfer0(u32* pMem, u32 addr);
|
||||||
|
|
||||||
extern GIFRegHandler g_GIFPackedRegHandlers[];
|
extern GIFRegHandler g_GIFPackedRegHandlers[];
|
||||||
extern GIFRegHandler g_GIFRegHandlers[];
|
extern GIFRegHandler g_GIFRegHandlers[];
|
||||||
|
|
Loading…
Reference in New Issue