From 06cc61eee10c369d543170bafc3a30b77a8e67cb Mon Sep 17 00:00:00 2001 From: Asher Baker Date: Fri, 25 Aug 2017 21:01:09 +0100 Subject: [PATCH] Never log gamedata failures as errors --- extension/extension.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extension/extension.cpp b/extension/extension.cpp index ea6eb8e..e956ce4 100644 --- a/extension/extension.cpp +++ b/extension/extension.cpp @@ -470,11 +470,11 @@ bool Accelerator::SDK_OnLoad(char *error, size_t maxlength, bool late) char gameconfigError[256]; if (!gameconfs->LoadGameConfigFile("accelerator.games", &gameconfig, gameconfigError, sizeof(gameconfigError))) { - smutils->LogError(myself, "WARNING: Failed to load gamedata file, console output and command line will not be included in crash reports: %s", gameconfigError); + smutils->LogMessage(myself, "WARNING: Failed to load gamedata file, console output and command line will not be included in crash reports: %s", gameconfigError); } else if (!gameconfig->GetMemSig("GetSpew", (void **)&GetSpew)) { smutils->LogMessage(myself, "WARNING: GetSpew not found in gamedata, console output will not be included in crash reports."); } else if (!GetSpew) { - smutils->LogError(myself, "WARNING: Sigscan for GetSpew failed, console output will not be included in crash reports."); + smutils->LogMessage(myself, "WARNING: Sigscan for GetSpew failed, console output will not be included in crash reports."); } #if defined _LINUX