[nostalgia/tools/pack] Improve output and fix a sign conversion

This commit is contained in:
2022-12-01 00:15:37 -06:00
parent 8329bf9217
commit 0e0f43895a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ static ox::Error padbin(ox::BufferWriter *w, unsigned factor) noexcept {
ox::Error appendBinary(ox::Buffer *binBuff, ox::Buffer *fsBuff, GbaPreloader *pl) noexcept {
constexpr ox::StringView mediaHdr = "NOSTALGIA_MEDIA_HEADER__________";
constexpr ox::StringView preloadHdr = "NOSTALGIA_PRELOAD_HEADER________";
constexpr auto hdrSize = 32;
constexpr auto hdrSize = 32u;
static_assert(mediaHdr.bytes() == hdrSize);
static_assert(preloadHdr.bytes() == hdrSize);
ox::BufferWriter w(binBuff);