[Glide64] Make sure settings for game settings are saved
This commit is contained in:
parent
723ecb80b3
commit
f0e422742e
|
@ -312,7 +312,7 @@ extern "C" {
|
|||
|
||||
void ReadSettings();
|
||||
void ReadSpecialSettings(const char * name);
|
||||
void WriteSettings(bool saveEmulationSettings = false);
|
||||
void WriteSettings(void);
|
||||
|
||||
/******************************************************************
|
||||
Function: CaptureScreen
|
||||
|
|
|
@ -537,7 +537,7 @@ void ReadSpecialSettings(const char * name)
|
|||
g_settings->flame_corona = (g_settings->hacks & hack_Zelda) && !fb_depth_render_enabled;
|
||||
}
|
||||
|
||||
void WriteSettings(bool saveEmulationSettings)
|
||||
void WriteSettings(void)
|
||||
{
|
||||
SetSetting(Set_CardId, g_settings->card_id);
|
||||
#ifdef _WIN32
|
||||
|
@ -595,8 +595,6 @@ void WriteSettings(bool saveEmulationSettings)
|
|||
SetSetting(Set_ghq_hirs_dump, g_settings->ghq_hirs_dump);
|
||||
#endif
|
||||
|
||||
if (saveEmulationSettings)
|
||||
{
|
||||
SetSetting(g_romopen ? Set_filtering : Set_filtering_default, g_settings->filtering);
|
||||
SetSetting(g_romopen ? Set_fog : Set_fog_default, g_settings->fog);
|
||||
SetSetting(g_romopen ? Set_buff_clear : Set_buff_clear_default, g_settings->buff_clear);
|
||||
|
@ -622,7 +620,6 @@ void WriteSettings(bool saveEmulationSettings)
|
|||
{
|
||||
SetSetting(g_romopen ? Set_read_back_to_screen : Set_read_back_to_screen_default, 0);
|
||||
}
|
||||
}
|
||||
|
||||
FlushSettings();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue