From 9cfaede4eb1e9a49fa454c465ccc8725710705b0 Mon Sep 17 00:00:00 2001 From: zilmar Date: Sat, 2 Apr 2016 20:01:37 +1100 Subject: [PATCH] [Glide64] Only add Texture config page when created --- Source/Glide64/Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Glide64/Config.cpp b/Source/Glide64/Config.cpp index fb0f15c7c..2be4fac6e 100644 --- a/Source/Glide64/Config.cpp +++ b/Source/Glide64/Config.cpp @@ -859,8 +859,8 @@ void COptionsSheet::UpdateTextureSettings(void) { m_pgTextureEnhancement = new CConfigTextureEnhancement; m_hTextureEnhancement = m_pgTextureEnhancement->Create(); + AddPage(m_hTextureEnhancement); } - AddPage(m_hTextureEnhancement); } else if (m_hTextureEnhancement != NULL) {