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