From 161bd9d3d25fc75b15c9d664939c82aa2d732788 Mon Sep 17 00:00:00 2001 From: Jakly <102590697+Jaklyy@users.noreply.github.com> Date: Thu, 1 Aug 2024 16:46:05 -0400 Subject: [PATCH] Default zero dot display register to the 24 bit integer limit (#1968) * 0 dot disp defaults to the 24 bit integer limit * useless correction it goes through the reset function to set the variable on boot anyway but why not have the initialized state be correct too --- src/GPU3D.cpp | 2 +- src/GPU3D.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GPU3D.cpp b/src/GPU3D.cpp index 8da5527a..436f563c 100644 --- a/src/GPU3D.cpp +++ b/src/GPU3D.cpp @@ -192,7 +192,7 @@ void GPU3D::Reset() noexcept CmdStallQueue.Clear(); - ZeroDotWLimit = 0; // CHECKME + ZeroDotWLimit = 0xFFFFFF; GXStat = 0; diff --git a/src/GPU3D.h b/src/GPU3D.h index 15b31096..a12d4bc0 100644 --- a/src/GPU3D.h +++ b/src/GPU3D.h @@ -197,7 +197,7 @@ public: FIFO CmdStallQueue {}; - u32 ZeroDotWLimit = 0; + u32 ZeroDotWLimit = 0xFFFFFF; u32 GXStat = 0;