[nostalgia/tools/pack] Update for BufferWriter::buff() change
This commit is contained in:
parent
ae26838324
commit
d82ec27296
@ -122,7 +122,7 @@ static ox::Error copy(ox::FileSystem *src, ox::FileSystem *dest, ox::CRString pa
|
||||
if (currentFile == "/.nostalgia") {
|
||||
continue;
|
||||
}
|
||||
oxOutf("reading {}\n", name);
|
||||
oxOutf("reading {}\n", currentFile);
|
||||
oxRequire(stat, src->stat(currentFile.c_str()));
|
||||
if (stat.fileType == ox::FileType::Directory) {
|
||||
oxReturnError(dest->mkdir(currentFile.c_str(), true));
|
||||
@ -182,7 +182,7 @@ static ox::Error preload(core::TypeStore *ts, ox::FileSystem *romFs, Preloader *
|
||||
}
|
||||
|
||||
static ox::Error padbin(ox::BufferWriter *w, unsigned factor) noexcept {
|
||||
return w->write(nullptr, factor - w->data()->size() % factor);
|
||||
return w->write(nullptr, factor - w->buff().size() % factor);
|
||||
}
|
||||
|
||||
ox::Error appendBinary(ox::Buffer *binBuff, ox::Buffer *fsBuff, GbaPreloader *pl) noexcept {
|
||||
|
Loading…
x
Reference in New Issue
Block a user