mirror of https://github.com/PCSX2/pcsx2.git
Just a few minor things.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2469 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
4f2601a687
commit
b76d7c164b
|
@ -732,7 +732,6 @@ void MOVN() {
|
||||||
* Format: OP *
|
* Format: OP *
|
||||||
*********************************************************/
|
*********************************************************/
|
||||||
|
|
||||||
#include "Sifcmd.h"
|
|
||||||
/*
|
/*
|
||||||
int __Deci2Call(int call, u32 *addr);
|
int __Deci2Call(int call, u32 *addr);
|
||||||
*/
|
*/
|
||||||
|
@ -821,6 +820,8 @@ int __Deci2Call(int call, u32 *addr)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This function is the only one that uses Sifcmd.h in Pcsx2.
|
||||||
|
#include "Sifcmd.h"
|
||||||
|
|
||||||
void SYSCALL()
|
void SYSCALL()
|
||||||
{
|
{
|
||||||
|
@ -841,7 +842,8 @@ void SYSCALL()
|
||||||
__Deci2Call( cpuRegs.GPR.n.a0.UL[0], (u32*)PSM(cpuRegs.GPR.n.a1.UL[0]) );
|
__Deci2Call( cpuRegs.GPR.n.a0.UL[0], (u32*)PSM(cpuRegs.GPR.n.a1.UL[0]) );
|
||||||
}
|
}
|
||||||
|
|
||||||
if (call == 0x77)
|
// The only thing this code is used for is the one log message, so don't execute it if we aren't logging bios messages.
|
||||||
|
if (macTrace.EE.Bios() && (call == 0x77))
|
||||||
{
|
{
|
||||||
t_sif_dma_transfer *dmat;
|
t_sif_dma_transfer *dmat;
|
||||||
//struct t_sif_cmd_header *hdr;
|
//struct t_sif_cmd_header *hdr;
|
||||||
|
|
|
@ -20,11 +20,8 @@
|
||||||
#include "IopCommon.h"
|
#include "IopCommon.h"
|
||||||
|
|
||||||
#include "Sif.h"
|
#include "Sif.h"
|
||||||
#include "Sifcmd.h"
|
|
||||||
|
|
||||||
DMACh *sif0ch;
|
DMACh *sif0ch, *sif1ch, *sif2ch;
|
||||||
DMACh *sif1ch;
|
|
||||||
DMACh *sif2ch;
|
|
||||||
|
|
||||||
static _sif0 sif0;
|
static _sif0 sif0;
|
||||||
static _sif1 sif1;
|
static _sif1 sif1;
|
||||||
|
|
|
@ -52,9 +52,7 @@ struct _sif1
|
||||||
s32 counter;
|
s32 counter;
|
||||||
struct sifData sifData;
|
struct sifData sifData;
|
||||||
};
|
};
|
||||||
extern DMACh *sif0ch;
|
extern DMACh *sif0ch, *sif1ch, *sif2ch;
|
||||||
extern DMACh *sif1ch;
|
|
||||||
extern DMACh *sif2ch;
|
|
||||||
|
|
||||||
extern void sifInit();
|
extern void sifInit();
|
||||||
extern void SIF0Dma();
|
extern void SIF0Dma();
|
||||||
|
|
Loading…
Reference in New Issue