diff --git a/src/frontend-common/game_settings.cpp b/src/frontend-common/game_settings.cpp index 9d847c5d8..9bb0db85d 100644 --- a/src/frontend-common/game_settings.cpp +++ b/src/frontend-common/game_settings.cpp @@ -207,13 +207,13 @@ static void ParseIniSection(Entry* entry, const char* section, const CSimpleIniA entry->display_active_start_offset = static_cast(lvalue); lvalue = ini.GetLongValue(section, "DisplayActiveEndOffset", 0); if (lvalue != 0) - entry->display_active_end_offset = static_cast(lvalue); + entry->display_active_end_offset = static_cast(lvalue); lvalue = ini.GetLongValue(section, "DisplayLineStartOffset", 0); if (lvalue != 0) entry->display_line_start_offset = static_cast(lvalue); lvalue = ini.GetLongValue(section, "DisplayLineEndOffset", 0); if (lvalue != 0) - entry->display_line_end_offset = static_cast(lvalue); + entry->display_line_end_offset = static_cast(lvalue); lvalue = ini.GetLongValue(section, "DMAMaxSliceTicks", 0); if (lvalue > 0) entry->dma_max_slice_ticks = static_cast(lvalue);