2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-01-13 20:21:48 +00:00

feat: add fill in ContentWriter classes for writing with x64 hosts

This commit is contained in:
Jan Laupetin
2026-01-09 23:29:42 +00:00
parent 6ad71bd7a9
commit 0e7f86c489
9 changed files with 259 additions and 95 deletions

View File

@@ -306,7 +306,7 @@ namespace
{
std::ostringstream str;
MakeTypeWrittenVarNameInternal(info->m_definition, str);
str << ".WithInnerOffset(";
str << ".AtOffset(";
if (m_env.m_architecture_mismatch)
{
@@ -791,7 +791,7 @@ namespace
return;
}
LINEF("if (m_stream->ReusableShouldWrite({0}, {1}.WithInnerOffset({2})))",
LINEF("if (m_stream->ReusableShouldWrite({0}, {1}.AtOffset({2})))",
MakeMemberAccess(info, member, modifier),
MakeTypeWrittenVarName(info->m_definition),
MakeReusableInnerOffset(info->m_definition, member->m_member))