[extractor] fix territory being set to wrong value (#2946)

Also fixes a minor issue where the JP sound bank wouldn't work (Jak 1).

Fixes #2793
This commit is contained in:
ManDude
2023-08-30 18:36:10 +01:00
committed by GitHub
parent f85ed7457d
commit 6e8b0e57c7
16 changed files with 61 additions and 37 deletions
+4
View File
@@ -511,3 +511,7 @@ void MakeSystem::set_constant(const std::string& name, const std::string& value)
void MakeSystem::set_constant(const std::string& name, bool value) {
m_goos.set_global_variable_to_symbol(name, value ? "#t" : "#f");
}
void MakeSystem::set_constant(const std::string& name, int value) {
m_goos.set_global_variable_to_int(name, value);
}