From de741242c016971b8a5e9dd5f65acd6d58bd9e2b Mon Sep 17 00:00:00 2001 From: XargonWan Date: Wed, 25 Sep 2024 11:22:25 +0900 Subject: [PATCH] Added RetroDECK cases under custom ifdef to not interfere with the rest of the code - fixed undeclared string --- es-app/src/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/es-app/src/main.cpp b/es-app/src/main.cpp index 654403859..0ff6485f3 100644 --- a/es-app/src/main.cpp +++ b/es-app/src/main.cpp @@ -695,9 +695,12 @@ int main(int argc, char* argv[]) Log::open(); { + const std::string applicationName {"ES-DE"}; + #if defined(__RETRODECK__) - const std::string applicationName {"RetroDECK"}; + applicationName = "RetroDECK"; #endif + #if defined(__ANDROID__) LOG(LogInfo) << applicationName << " " << PROGRAM_VERSION_STRING << "-" << ANDROID_VERSION_CODE << " (r" << PROGRAM_RELEASE_NUMBER << "), built "