mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-26 22:31:50 +00:00
ZoneLoading: Make AssetDumpers get the zone via their args
This commit is contained in:
@ -2,12 +2,12 @@
|
||||
|
||||
using namespace T6;
|
||||
|
||||
std::string AssetDumperRawFile::GetFileNameForAsset(RawFile* asset)
|
||||
std::string AssetDumperRawFile::GetFileNameForAsset(Zone* zone, RawFile* asset)
|
||||
{
|
||||
return std::string(asset->name);
|
||||
}
|
||||
|
||||
void AssetDumperRawFile::DumpAsset(RawFile* asset, FileAPI::File* out)
|
||||
void AssetDumperRawFile::DumpAsset(Zone* zone, RawFile* asset, FileAPI::File* out)
|
||||
{
|
||||
out->Write(asset->buffer, 1, asset->len);
|
||||
}
|
Reference in New Issue
Block a user