mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-13 00:08:26 -05:00
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:
@ -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();
|
||||
|
Reference in New Issue
Block a user