This commit is contained in:
parent
c06cc3fbc6
commit
72a368f2a2
2 changed files with 12 additions and 3 deletions
|
@ -29,7 +29,7 @@ void PrimInit()
|
|||
GUIOtPtr=BaseOtPtr;
|
||||
OtPtr=GUIOtPtr+MAX_OT_GUI;
|
||||
CurrPrim=(u8*)PrimBuffer[PrimFlipFlag];
|
||||
EndPrim=CurrPrim+(PRIMPOOL_SIZE);
|
||||
EndPrim=CurrPrim+PRIMPOOL_SIZE;
|
||||
|
||||
PrimListStart=PrimBuffer[0];
|
||||
PrimListEnd=PrimListStart+(PRIMPOOL_SIZE*2);
|
||||
|
@ -43,6 +43,11 @@ void PrimInit()
|
|||
/*****************************************************************************/
|
||||
void PrimDisplay()
|
||||
{
|
||||
if ((int)CurrPrim>=(int)EndPrim)
|
||||
{
|
||||
ASSERT(!"PRIM OVERFLOW");
|
||||
}
|
||||
|
||||
CAnimTex::AnimateTex();
|
||||
CPakTex::DMAPakTex();
|
||||
UnlinkOTagR(BaseOtPtr, MAX_OT_ALL, &DmaStart[PrimFlipFlag]);
|
||||
|
|
|
@ -272,7 +272,9 @@ void DoAssert( const char * Txt, const char * file, const int line )
|
|||
|
||||
VSync(0);
|
||||
VidSwapDraw();
|
||||
PrimDisplay();
|
||||
// PrimDisplay();
|
||||
DrawOTag(OtPtr);
|
||||
|
||||
while(DrawSync(1));
|
||||
|
||||
InitOTag(OtPtr, MAX_OT);
|
||||
|
@ -280,7 +282,9 @@ void DoAssert( const char * Txt, const char * file, const int line )
|
|||
|
||||
VSync(0);
|
||||
VidSwapDraw();
|
||||
PrimDisplay();
|
||||
// PrimDisplay();
|
||||
DrawOTag(OtPtr);
|
||||
|
||||
while(DrawSync(1));
|
||||
|
||||
F.dump();
|
||||
|
|
Loading…
Add table
Reference in a new issue