From beb5c3e77d89b75accc00c93fceb1ccb1ef7df02 Mon Sep 17 00:00:00 2001 From: zilmar Date: Tue, 23 Feb 2021 20:15:21 +1030 Subject: [PATCH] Enhancement: allow enhancment with no GS entries --- Source/Project64-core/N64System/Enhancement/Enhancement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64-core/N64System/Enhancement/Enhancement.cpp b/Source/Project64-core/N64System/Enhancement/Enhancement.cpp index e44ff7381..f9f74580e 100644 --- a/Source/Project64-core/N64System/Enhancement/Enhancement.cpp +++ b/Source/Project64-core/N64System/Enhancement/Enhancement.cpp @@ -311,7 +311,7 @@ void CEnhancement::CheckValid(void) m_OptionValue = ""; m_CodeOptionSize = 0; - if (m_Name.empty() || m_Entries.size() == 0) + if (m_Name.empty()) { return; }