Added RetroDECK cases under custom ifdef to not interfere with the rest of the code - fixed undeclared string

This commit is contained in:
XargonWan 2024-09-25 11:22:25 +09:00
parent b61c5d4a1d
commit de741242c0

View file

@ -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 "