fix t6 assembler error

This commit is contained in:
xensik 2022-03-18 00:37:53 +01:00
parent 673497efec
commit 95f2bc361a
2 changed files with 2 additions and 1 deletions

View File

@ -156,6 +156,7 @@ void assembler::assemble(const std::string& file, assembly::ptr& data)
header_.profile_count = 0;
header_.flags = 0;
header_.name = string_offset(filename_);
auto endpos = script_->pos();

View File

@ -140,7 +140,7 @@ std::set<std::string_view> paths
auto resolver::fs_to_game_path(const std::filesystem::path& file) -> std::filesystem::path
{
auto result = std::filesystem::path();
auto result = std::filesystem::path("", std::filesystem::path::format::generic_format);
auto root = false;
for (auto& entry : file)