[nostalgia/core] Remove unnecessary serialization and deserialization from type conversion
This commit is contained in:
@@ -36,7 +36,7 @@ static ox::Error doTransformations(ox::FileSystem *dest, const ox::String &fileP
|
||||
// load file
|
||||
oxRequireM(buff, dest->read(filePath.c_str()));
|
||||
if (filePath.endsWith(".ng")) {
|
||||
oxReturnError(core::convert<core::CompactTileSheet>(buff).moveTo(&buff));
|
||||
oxReturnError(core::convertBuffToBuff<core::CompactTileSheet>(buff, ox::ClawFormat::Metal).moveTo(&buff));
|
||||
}
|
||||
// do transformations
|
||||
oxReturnError(pathToInode(buff).moveTo(&buff));
|
||||
|
||||
Reference in New Issue
Block a user