Fix build.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
78dd08e329
commit
f9c9832262
1 changed files with 2 additions and 2 deletions
|
@ -714,12 +714,12 @@ namespace sa2
|
|||
|
||||
void SDLFrame::ResetHardware()
|
||||
{
|
||||
myHardwareConfig = CConfigNeedingRestart(GetPropertySheet().GetTheFreezesF8Rom());
|
||||
myHardwareConfig.Reload();
|
||||
}
|
||||
|
||||
bool SDLFrame::HardwareChanged() const
|
||||
{
|
||||
const CConfigNeedingRestart currentConfig(GetPropertySheet().GetTheFreezesF8Rom());
|
||||
const CConfigNeedingRestart currentConfig = CConfigNeedingRestart::Create();
|
||||
return myHardwareConfig != currentConfig;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue