summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index aa1e915f8..50dc38790 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -2085,11 +2085,13 @@ static void Save_PATS()
SaveSettings(_settings, &_settings_game);
}
-extern const ChunkHandler _setting_chunk_handlers[] = {
- { 'OPTS', nullptr, Load_OPTS, nullptr, nullptr, CH_RIFF},
- { 'PATS', Save_PATS, Load_PATS, nullptr, Check_PATS, CH_RIFF | CH_LAST},
+static const ChunkHandler setting_chunk_handlers[] = {
+ { 'OPTS', nullptr, Load_OPTS, nullptr, nullptr, CH_RIFF },
+ { 'PATS', Save_PATS, Load_PATS, nullptr, Check_PATS, CH_RIFF },
};
+extern const ChunkHandlerTable _setting_chunk_handlers(setting_chunk_handlers);
+
static bool IsSignedVarMemType(VarType vt)
{
switch (GetVarMemType(vt)) {