From f812cf6eea23f52a3ac0535693fdebf28ce27c91 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Fri, 17 Jan 2025 10:45:59 -0800 Subject: [PATCH] ParseMemorySpan disable with BF_SMALL --- BeefySysLib/Common.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BeefySysLib/Common.cpp b/BeefySysLib/Common.cpp index 62d937a3..85fae5d5 100644 --- a/BeefySysLib/Common.cpp +++ b/BeefySysLib/Common.cpp @@ -1382,6 +1382,7 @@ void Beefy::BFFatalError(const char* message, const char* file, int line) bool Beefy::ParseMemorySpan(const StringImpl& str, void*& outPtr, int& outSize) { +#ifndef BF_SMALL if (str.StartsWith("@")) { int colon = (int)str.IndexOf(':'); @@ -1391,5 +1392,6 @@ bool Beefy::ParseMemorySpan(const StringImpl& str, void*& outPtr, int& outSize) outSize = (int)strtol(lenStr.c_str(), NULL, 10); return true; } +#endif return false; }