diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2022-10-07 16:03:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 16:03:35 +0200 |
commit | b8777b6653fc6d07677130b7300bf8bd8a3cbc08 (patch) | |
tree | 376fb8e5b650d4b00e64752d7623acb21dd6c7f8 | |
parent | Merge pull request #6142 from lat9nq/prog_meta_ref_bind_address (diff) | |
parent | nfp_types: silence -Wtype-limits (diff) | |
download | yuzu-b8777b6653fc6d07677130b7300bf8bd8a3cbc08.tar yuzu-b8777b6653fc6d07677130b7300bf8bd8a3cbc08.tar.gz yuzu-b8777b6653fc6d07677130b7300bf8bd8a3cbc08.tar.bz2 yuzu-b8777b6653fc6d07677130b7300bf8bd8a3cbc08.tar.lz yuzu-b8777b6653fc6d07677130b7300bf8bd8a3cbc08.tar.xz yuzu-b8777b6653fc6d07677130b7300bf8bd8a3cbc08.tar.zst yuzu-b8777b6653fc6d07677130b7300bf8bd8a3cbc08.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nfp/nfp_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nfp/nfp_types.h b/src/core/hle/service/nfp/nfp_types.h index 867ea2f36..c09f9ddb6 100644 --- a/src/core/hle/service/nfp/nfp_types.h +++ b/src/core/hle/service/nfp/nfp_types.h @@ -167,7 +167,7 @@ struct AmiiboDate { bool IsValidDate() const { const bool is_day_valid = GetDay() > 0 && GetDay() < 32; - const bool is_month_valid = GetMonth() >= 0 && GetMonth() < 13; + const bool is_month_valid = GetMonth() > 0 && GetMonth() < 13; const bool is_year_valid = GetYear() >= 2000; return is_year_valid && is_month_valid && is_day_valid; } |