bktr: Add logging on successful patch

This commit is contained in:
Zach Hilman
2018-08-28 22:38:35 -04:00
parent 2814ca3624
commit cbd517d8cc
3 changed files with 24 additions and 7 deletions

View File

@ -8,9 +8,13 @@
#include <string>
#include "common/common_types.h"
#include "core/file_sys/vfs.h"
#include "nca_metadata.h"
#include "romfs_factory.h"
namespace FileSys {
class NCA;
enum class TitleVersionFormat : u8 {
ThreeElements, ///< vX.Y.Z
FourElements, ///< vX.Y.Z.W
@ -36,7 +40,8 @@ public:
// Currently tracked RomFS patches:
// - Game Updates
VirtualFile PatchRomFS(VirtualFile romfs) const;
VirtualFile PatchRomFS(VirtualFile base, u64 ivfc_offset,
ContentRecordType type = ContentRecordType::Program) const;
// Returns a vector of pairs between patch names and patch versions.
// i.e. Update v80 will return {Update, 80}