[keel] Update for Ox changes
This commit is contained in:
parent
5a021043f4
commit
7c3aaf99c2
@ -98,10 +98,10 @@ ox::Error preloadObj(
|
||||
oxReturnError(pl->endAlloc());
|
||||
oxReturnError(err);
|
||||
const keel::PreloadPtr p{.preloadAddr = static_cast<uint32_t>(a)};
|
||||
oxReturnError(ox::writeMC(&p).moveTo(&buff));
|
||||
oxReturnError(ox::writeMC(p).moveTo(&buff));
|
||||
} else {
|
||||
// strip the Claw header (it is not needed after preloading) and write back out to dest fs
|
||||
oxReturnError(ox::writeMC(&obj).moveTo(&buff));
|
||||
oxReturnError(ox::writeMC(obj).moveTo(&buff));
|
||||
}
|
||||
oxReturnError(romFs->write(path, buff.data(), buff.size()));
|
||||
return {};
|
||||
|
Loading…
Reference in New Issue
Block a user