#include "asset.h" #include void BaseAsset::extractBinary(const std::vector& baserom) { auto file = util::open_file(path, "w"); std::fwrite(baserom.data() + start, 1, static_cast(size), file.get()); }