Skip to content

Commit

Permalink
Fix silly willy mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
CelestialAmber committed Sep 16, 2024
1 parent 8b46507 commit 01b6c91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/RVL_SDK/src/revolution/hbm/nw4hbm/ut/ut_ResFont.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ bool ResFont::SetResource(void* buffer) {
reinterpret_cast<char*>(block) + block->length);
}
} else {
if (header->version == NW4R_VERSION(1, 04)) {
if (!IsValidBinaryFile(header, MAGIC_RESFONT, NW4R_VERSION(1, 04),
if (header->version == NW4HBM_VERSION(1, 04)) {
if (!IsValidBinaryFile(header, MAGIC_RESFONT, NW4HBM_VERSION(1, 04),
2)) {
return false;
}
} else if (!IsValidBinaryFile(header, MAGIC_RESFONT,
NW4R_VERSION(1, 02), 2)) {
NW4HBM_VERSION(1, 02), 2)) {
return false;
}

Expand Down

0 comments on commit 01b6c91

Please sign in to comment.