aboutsummaryrefslogtreecommitdiff
path: root/GPU3D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'GPU3D.cpp')
-rw-r--r--GPU3D.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/GPU3D.cpp b/GPU3D.cpp
index 4d0dd7b..c28ebd0 100644
--- a/GPU3D.cpp
+++ b/GPU3D.cpp
@@ -841,6 +841,8 @@ void SubmitVertex()
+int logflag = 0;
+
void CmdFIFOWrite(CmdFIFOEntry& entry)
{
if (CmdFIFO->IsEmpty() && !CmdPIPE->IsFull())
@@ -852,7 +854,8 @@ void CmdFIFOWrite(CmdFIFOEntry& entry)
{
if (CmdFIFO->IsFull())
{
- printf("!!! GX FIFO FULL\n");
+ if (!logflag) printf("!!! GX FIFO FULL\n");
+ logflag = 1;
//NDS::debug(0);
return;
}
@@ -876,6 +879,8 @@ CmdFIFOEntry CmdFIFORead()
CheckFIFOIRQ();
}
+ logflag = 0;
+
return ret;
}