diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-08-26 16:53:31 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-09-04 22:24:02 +0200 |
commit | 9664ce255db09f4501db642c1e82d8cf8f274a22 (patch) | |
tree | 5548a6d79f3806c64d7e0d6ee559f619dfe4c6c0 /src/core/file_sys/patch_manager.h | |
parent | main: Make game updates installable (diff) | |
download | yuzu-9664ce255db09f4501db642c1e82d8cf8f274a22.tar yuzu-9664ce255db09f4501db642c1e82d8cf8f274a22.tar.gz yuzu-9664ce255db09f4501db642c1e82d8cf8f274a22.tar.bz2 yuzu-9664ce255db09f4501db642c1e82d8cf8f274a22.tar.lz yuzu-9664ce255db09f4501db642c1e82d8cf8f274a22.tar.xz yuzu-9664ce255db09f4501db642c1e82d8cf8f274a22.tar.zst yuzu-9664ce255db09f4501db642c1e82d8cf8f274a22.zip |
Diffstat (limited to 'src/core/file_sys/patch_manager.h')
-rw-r--r-- | src/core/file_sys/patch_manager.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/file_sys/patch_manager.h b/src/core/file_sys/patch_manager.h index 2a39c473a..803bcb2a2 100644 --- a/src/core/file_sys/patch_manager.h +++ b/src/core/file_sys/patch_manager.h @@ -5,12 +5,19 @@ #pragma once #include <map> +#include <string> #include "common/common_types.h" #include "core/file_sys/vfs.h" namespace FileSys { -std::string FormatTitleVersion(u32 version, bool full = false); +enum class TitleVersionFormat : u8 { + ThreeElements, ///< vX.Y.Z + FourElements, ///< vX.Y.Z.W +}; + +std::string FormatTitleVersion(u32 version, + TitleVersionFormat format = TitleVersionFormat::ThreeElements); enum class PatchType { Update, |