mirror of
https://github.com/zeldaret/tmc
synced 2026-06-08 20:29:47 -04:00
8 lines
247 B
C++
8 lines
247 B
C++
#include "asset.h"
|
|
#include <util/file.h>
|
|
|
|
void BaseAsset::extractBinary(const std::vector<char>& baserom) {
|
|
auto file = util::open_file(path.string(), "w");
|
|
std::fwrite(baserom.data() + start, 1, static_cast<size_t>(size), file.get());
|
|
}
|