Some fixes
This commit is contained in:
parent
4e1aab66b2
commit
49a774c29b
@ -319,6 +319,7 @@ namespace fastfiles
|
|||||||
reallocate_asset_pool_multiplier<game::ASSET_TYPE_SOUND, 2>();
|
reallocate_asset_pool_multiplier<game::ASSET_TYPE_SOUND, 2>();
|
||||||
reallocate_asset_pool_multiplier<game::ASSET_TYPE_LOADED_SOUND, 2>();
|
reallocate_asset_pool_multiplier<game::ASSET_TYPE_LOADED_SOUND, 2>();
|
||||||
reallocate_asset_pool_multiplier<game::ASSET_TYPE_XANIM, 2>();
|
reallocate_asset_pool_multiplier<game::ASSET_TYPE_XANIM, 2>();
|
||||||
|
reallocate_asset_pool_multiplier<game::ASSET_TYPE_LOCALIZE, 2>();
|
||||||
}
|
}
|
||||||
|
|
||||||
void add_custom_level_load_zone(void* load, const char* name, bool localized, const size_t size_est)
|
void add_custom_level_load_zone(void* load, const char* name, bool localized, const size_t size_est)
|
||||||
|
@ -115,8 +115,8 @@ namespace gsc
|
|||||||
const auto script = assembler->output_script();
|
const auto script = assembler->output_script();
|
||||||
script_file_ptr->bytecodeLen = static_cast<int>(script.size());
|
script_file_ptr->bytecodeLen = static_cast<int>(script.size());
|
||||||
|
|
||||||
const auto buffer_size = script.size() + 1;
|
|
||||||
const auto script_size = script.size();
|
const auto script_size = script.size();
|
||||||
|
const auto buffer_size = script_size + stack.size() + 2;
|
||||||
|
|
||||||
const auto buffer = allocate_buffer(buffer_size);
|
const auto buffer = allocate_buffer(buffer_size);
|
||||||
std::memcpy(buffer, script.data(), script_size);
|
std::memcpy(buffer, script.data(), script_size);
|
||||||
|
@ -243,7 +243,6 @@ namespace mapents
|
|||||||
{
|
{
|
||||||
if (!should_load_addon_mapents())
|
if (!should_load_addon_mapents())
|
||||||
{
|
{
|
||||||
printf("db_find_xasset_header_stub %s\n", name);
|
|
||||||
return game::DB_FindXAssetHeader(type, name, allow_create_default);
|
return game::DB_FindXAssetHeader(type, name, allow_create_default);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user