set.mitm: mitm everything

We still only lie about firmware version to qlaunch/maintenance.

This is to prepare for loading settings off of the SD card.
This commit is contained in:
Michael Scire
2019-01-20 23:13:16 -08:00
parent f61f5feaf4
commit 4711d0565d
7 changed files with 222 additions and 37 deletions

View File

@@ -0,0 +1,24 @@
/*
* Copyright (c) 2018 Atmosphère-NX
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include <switch.h>
#include <stratosphere.hpp>
class VersionManager {
public:
static Result GetFirmwareVersion(u64 title_id, SetSysFirmwareVersion *out);
};