diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-03-11 00:16:17 +0100 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-03-11 00:16:17 +0100 |
commit | 73f2ee5484d4b1836cd94becd65af2342b2cdaca (patch) | |
tree | 73cabb05d11e9750bb1728a55daf3e7007b9f6f6 /src/core/file_sys/system_archive | |
parent | set_sys: Use correct error codes in GetFirmwareVersion* (diff) | |
download | yuzu-73f2ee5484d4b1836cd94becd65af2342b2cdaca.tar yuzu-73f2ee5484d4b1836cd94becd65af2342b2cdaca.tar.gz yuzu-73f2ee5484d4b1836cd94becd65af2342b2cdaca.tar.bz2 yuzu-73f2ee5484d4b1836cd94becd65af2342b2cdaca.tar.lz yuzu-73f2ee5484d4b1836cd94becd65af2342b2cdaca.tar.xz yuzu-73f2ee5484d4b1836cd94becd65af2342b2cdaca.tar.zst yuzu-73f2ee5484d4b1836cd94becd65af2342b2cdaca.zip |
Diffstat (limited to 'src/core/file_sys/system_archive')
-rw-r--r-- | src/core/file_sys/system_archive/system_version.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/file_sys/system_archive/system_version.cpp b/src/core/file_sys/system_archive/system_version.cpp index 3fc5f9586..52df10f55 100644 --- a/src/core/file_sys/system_archive/system_version.cpp +++ b/src/core/file_sys/system_archive/system_version.cpp @@ -34,13 +34,13 @@ VirtualDir SystemVersion() { file->WriteObject(SystemVersionData::REVISION_MAJOR, 4); file->WriteObject(SystemVersionData::REVISION_MINOR, 5); file->WriteArray(SystemVersionData::PLATFORM_STRING, - std::min(sizeof(SystemVersionData::PLATFORM_STRING), 0x20ull), 0x8); + std::min<u64>(sizeof(SystemVersionData::PLATFORM_STRING), 0x20ull), 0x8); file->WriteArray(SystemVersionData::VERSION_HASH, - std::min(sizeof(SystemVersionData::VERSION_HASH), 0x40ull), 0x28); + std::min<u64>(sizeof(SystemVersionData::VERSION_HASH), 0x40ull), 0x28); file->WriteArray(SystemVersionData::DISPLAY_VERSION, - std::min(sizeof(SystemVersionData::DISPLAY_VERSION), 0x18ull), 0x68); + std::min<u64>(sizeof(SystemVersionData::DISPLAY_VERSION), 0x18ull), 0x68); file->WriteArray(SystemVersionData::DISPLAY_TITLE, - std::min(sizeof(SystemVersionData::DISPLAY_TITLE), 0x80ull), 0x80); + std::min<u64>(sizeof(SystemVersionData::DISPLAY_TITLE), 0x80ull), 0x80); return std::make_shared<VectorVfsDirectory>(std::vector<VirtualFile>{file}, std::vector<VirtualDir>{}, "data"); } |