瀏覽代碼

ParseMemorySpan disable with BF_SMALL

Brian Fiete 8 月之前
父節點
當前提交
f812cf6eea
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      BeefySysLib/Common.cpp

+ 2 - 0
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;
 }