mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-05-01 18:39:30 +02:00
Fixed property assignment to invalid variable for vertical resolution.
This commit is contained in:
@@ -88,15 +88,14 @@ bool SDL::Initialize(Configuration &config)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// check for a few other necessary Configurations
|
|
||||||
if(retVal)
|
if(retVal)
|
||||||
{
|
{
|
||||||
if(!config.GetProperty("vertical", hString))
|
if(!config.GetProperty("vertical", vString))
|
||||||
{
|
{
|
||||||
Logger::Write(Logger::ZONE_ERROR, "Configuration", "Missing property \"vertical\"");
|
Logger::Write(Logger::ZONE_ERROR, "Configuration", "Missing property \"vertical\"");
|
||||||
retVal = false;
|
retVal = false;
|
||||||
}
|
}
|
||||||
else if(hString == "stretch")
|
else if(vString == "stretch")
|
||||||
{
|
{
|
||||||
// Get current display mode of all displays.
|
// Get current display mode of all displays.
|
||||||
for(int i = 0; i < SDL_GetNumVideoDisplays(); ++i)
|
for(int i = 0; i < SDL_GetNumVideoDisplays(); ++i)
|
||||||
|
|||||||
Reference in New Issue
Block a user