From b27e03005955217269eea43be9da44090ac74f8b Mon Sep 17 00:00:00 2001
From: Albert Liu <45282415+ggdrt@users.noreply.github.com>
Date: Wed, 1 Apr 2020 06:10:31 -0700
Subject: [PATCH] GPU: Fix "Draw To Display Area" debug reporting

---
 src/core/gpu.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/gpu.cpp b/src/core/gpu.cpp
index bb0567864..7a56b9fb4 100644
--- a/src/core/gpu.cpp
+++ b/src/core/gpu.cpp
@@ -1145,7 +1145,7 @@ void GPU::DrawDebugStateWindow()
   if (ImGui::CollapsingHeader("GPU", ImGuiTreeNodeFlags_DefaultOpen))
   {
     ImGui::Text("Dither: %s", m_GPUSTAT.dither_enable ? "Enabled" : "Disabled");
-    ImGui::Text("Draw To Display Area: %s", m_GPUSTAT.dither_enable ? "Yes" : "No");
+    ImGui::Text("Draw To Display Area: %s", m_GPUSTAT.draw_to_display_area ? "Enabled" : "Disabled");
     ImGui::Text("Draw Set Mask Bit: %s", m_GPUSTAT.set_mask_while_drawing ? "Yes" : "No");
     ImGui::Text("Draw To Masked Pixels: %s", m_GPUSTAT.check_mask_before_draw ? "Yes" : "No");
     ImGui::Text("Reverse Flag: %s", m_GPUSTAT.reverse_flag ? "Yes" : "No");