From 92f8b7113767311087fc106b9a3c98e91c68b0fd Mon Sep 17 00:00:00 2001 From: Zak Kurka Date: Sun, 21 Oct 2018 10:42:23 -0500 Subject: [PATCH] Make ApplyIPS static and private --- src/core/file_sys/ncch_container.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/core/file_sys/ncch_container.h b/src/core/file_sys/ncch_container.h index 098b8df8f..c1ee7f2c4 100644 --- a/src/core/file_sys/ncch_container.h +++ b/src/core/file_sys/ncch_container.h @@ -249,14 +249,6 @@ public: */ Loader::ResultStatus ReadRomFS(std::shared_ptr& romfs_file); - /** - * Attempts to patch a buffer using an IPS - * @param ips Vector of the patches to apply - * @param buffer Vector to patch data into - * @return Void - */ - void ApplyIPS(std::vector& ips, std::vector& buffer); - /** * Get the override RomFS of the NCCH container * Since the RomFS can be huge, we return a file reference instead of copying to a buffer @@ -302,6 +294,12 @@ public: ExHeader_Header exheader_header; private: + /** + * Attempts to patch a buffer using an IPS + * @param ips Vector of the patches to apply + * @param buffer Vector to patch data into + */ + static void ApplyIPS(std::vector& ips, std::vector& buffer); bool has_header = false; bool has_exheader = false; bool has_exefs = false;