mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +00:00
Moved an Error to a Warning.
This commit is contained in:
parent
c6a7f8abf9
commit
1e2cc1eb0a
|
@ -9,6 +9,7 @@
|
|||
#include "AudioManager.h"
|
||||
#include "Log.h"
|
||||
#include "InputManager.h"
|
||||
#include <iostream>
|
||||
|
||||
std::vector<SystemData*> SystemData::sSystemVector;
|
||||
|
||||
|
@ -75,9 +76,9 @@ void SystemData::launchGame(Window* window, GameData* game)
|
|||
command = strreplace(command, "%BASENAME%", game->getBaseName());
|
||||
|
||||
LOG(LogInfo) << " " << command;
|
||||
LOG(LogInfo) << "==============================================";
|
||||
std::cout << "==============================================\n";
|
||||
int exitCode = system(command.c_str());
|
||||
LOG(LogInfo) << "==============================================";
|
||||
std::cout << "==============================================\n";
|
||||
|
||||
if(exitCode != 0)
|
||||
{
|
||||
|
@ -92,7 +93,7 @@ void SystemData::populateFolder(FolderData* folder)
|
|||
std::string folderPath = folder->getPath();
|
||||
if(!fs::is_directory(folderPath))
|
||||
{
|
||||
LOG(LogError) << "Error - folder with path \"" << folderPath << "\" is not a directory!";
|
||||
LOG(LogWarning) << "Error - folder with path \"" << folderPath << "\" is not a directory!";
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue