Make a function static, add a missing prototype for another one and remove an unused variable.
This commit is contained in:
parent
00b5148274
commit
8e75d3521a
|
@ -1615,7 +1615,6 @@ template<int procnum, int num> struct TSequenceItem_Timer : public TSequenceItem
|
||||||
|
|
||||||
FORCEINLINE void exec()
|
FORCEINLINE void exec()
|
||||||
{
|
{
|
||||||
u64 timer = nds_timer;
|
|
||||||
u8* regs = procnum==0?MMU.ARM9_REG:MMU.ARM7_REG;
|
u8* regs = procnum==0?MMU.ARM9_REG:MMU.ARM7_REG;
|
||||||
bool first = true, over;
|
bool first = true, over;
|
||||||
//we'll need to check chained timers..
|
//we'll need to check chained timers..
|
||||||
|
@ -1937,7 +1936,7 @@ static void execHardware_hstart_vblankStart()
|
||||||
execHardware_doAllDma(EDMAMode_VBlank);
|
execHardware_doAllDma(EDMAMode_VBlank);
|
||||||
}
|
}
|
||||||
|
|
||||||
void execHardware_hstart_vcount()
|
static void execHardware_hstart_vcount()
|
||||||
{
|
{
|
||||||
u16 vmatch = T1ReadWord(MMU.ARM9_REG, 4);
|
u16 vmatch = T1ReadWord(MMU.ARM9_REG, 4);
|
||||||
if(nds.VCount==((vmatch>>8)|((vmatch<<1)&(1<<8))))
|
if(nds.VCount==((vmatch>>8)|((vmatch<<1)&(1<<8))))
|
||||||
|
|
|
@ -333,6 +333,8 @@ void NDS_Sleep();
|
||||||
void NDS_SkipNextFrame();
|
void NDS_SkipNextFrame();
|
||||||
#define NDS_SkipFrame(s) if(s) NDS_SkipNext2DFrame();
|
#define NDS_SkipFrame(s) if(s) NDS_SkipNext2DFrame();
|
||||||
|
|
||||||
|
void execHardware_doAllDma(EDMAMode modeNum);
|
||||||
|
|
||||||
template<bool FORCE> void NDS_exec(s32 nb = 560190<<1);
|
template<bool FORCE> void NDS_exec(s32 nb = 560190<<1);
|
||||||
|
|
||||||
extern int lagframecounter;
|
extern int lagframecounter;
|
||||||
|
|
Loading…
Reference in New Issue