Change the condition under which assets are dumped inside a gdt:

Make the parameter --gdt to manually make the tool dump as a gdt
This commit is contained in:
Jan
2021-03-07 15:25:47 +01:00
parent 313e9e9f1a
commit b891f9527e
3 changed files with 9 additions and 9 deletions

View File

@ -228,7 +228,7 @@ class Unlinker::Impl
context.m_zone = zone;
context.m_base_path = outputFolderPath;
if(!m_args.m_raw)
if(m_args.m_use_gdt)
{
if (!OpenGdtFile(zone, zoneDefinitionFileFolder, gdtStream))
return false;
@ -240,7 +240,7 @@ class Unlinker::Impl
ObjWriting::DumpZone(context);
if(!m_args.m_raw)
if(m_args.m_use_gdt)
{
context.m_gdt->EndStream();
gdtStream.close();