2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-11-18 03:02:07 +00:00

fix: add platform to test code

This commit is contained in:
Jan Laupetin
2025-10-21 23:45:19 +01:00
parent c9e6a1fc64
commit 94cc12f4af
23 changed files with 23 additions and 23 deletions

View File

@@ -20,7 +20,7 @@ namespace
"test,data,lol\n"
"lorem,ipsum");
Zone zone("MockZone", 0, GameId::IW4);
Zone zone("MockZone", 0, GameId::IW4, GamePlatform::PC);
MemoryManager memory;
AssetCreatorCollection creatorCollection(zone);

View File

@@ -277,7 +277,7 @@ namespace
]
})MATERIAL");
Zone zone("MockZone", 0, GameId::IW4);
Zone zone("MockZone", 0, GameId::IW4, GamePlatform::PC);
MemoryManager memory;
AssetCreatorCollection creatorCollection(zone);

View File

@@ -30,7 +30,7 @@ namespace test::game::iw4::menu::parsing::it
public:
MenuParsingItHelper()
: m_zone("MockZone", 0, GameId::IW4),
: m_zone("MockZone", 0, GameId::IW4, GamePlatform::PC),
m_creator_collection(m_zone),
m_ignored_asset_lookup(),
m_context(m_zone, &m_creator_collection, &m_ignored_asset_lookup)