diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-04-12 02:12:27 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-12 09:12:27 +0300 |
| commit | b52d288cd025ee6459caf3fc838b5108b45a0f75 (patch) | |
| tree | 4315dc61b5506ea048ed2676cb9b780f64f29c8e /src/JSystem/JMessage/resource.cpp | |
| parent | cc3e0856bfc1d7597c47c84fb428da5f8e0a5536 (diff) | |
functionvalue 100% (#2389)
* functionvalue 100%
* Fix ninja always thinking the build is dirty due to nonexistent dependent file
Diffstat (limited to 'src/JSystem/JMessage/resource.cpp')
| -rw-r--r-- | src/JSystem/JMessage/resource.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/JSystem/JMessage/resource.cpp b/src/JSystem/JMessage/resource.cpp index b3fac0ab0d..8de8effe4c 100644 --- a/src/JSystem/JMessage/resource.cpp +++ b/src/JSystem/JMessage/resource.cpp @@ -19,7 +19,8 @@ u16 JMessage::TResource::toMessageIndex_messageID(u32 lowerHalf, u32 upperHalf, u32 val = -1; bool check = true; - switch (mMessageID.get_formSupplement()) { + u8 sp0A = mMessageID.get_formSupplement(); + switch (sp0A) { case 0: if (upperHalf) { check = false; |
