Small fix

This commit is contained in:
fed 2023-02-16 17:16:29 +01:00
parent adf00ff48a
commit 16d04d41dc
2 changed files with 1 additions and 2 deletions

View File

@ -171,7 +171,7 @@ namespace gsc
const auto script = assembler->output_script();
script_file_ptr->bytecodeLen = static_cast<int>(script.size());
script_file_ptr->buffer = game::Hunk_AllocateTempMemoryHigh(stack.size() + 1);
script_file_ptr->buffer = scriptfile_allocator.allocate_array<char>(stack.size() + 1);
std::memcpy(script_file_ptr->buffer, stack.data(), stack.size());
script_file_ptr->bytecode = allocate_buffer(script.size() + 1);

View File

@ -35,7 +35,6 @@ namespace language
game::LANGUAGE_RUSSIAN_PARTIAL,
};
std::unordered_set<game::language_t> asian_languages =
{
game::LANGUAGE_JAPANESE_FULL,