mirror of
https://github.com/wiiu-env/PayloadLoaderInstaller.git
synced 2024-11-13 05:35:06 +01:00
Minor improvements and cleanups
This commit is contained in:
parent
cc2d20533f
commit
163135dd21
@ -41,11 +41,11 @@ void ApplicationState::changeState(eGameState newState) {
|
||||
menu.addText("Additional informations:");
|
||||
auto showCheckResult = [&] (const std::string &name, bool canPatch, bool patched) {
|
||||
if (patched) {
|
||||
menu.addText("[ X ] " + name + "is already patched!");
|
||||
menu.addText("[ X ] " + name + " is already patched!");
|
||||
} else if (canPatch) {
|
||||
menu.addText("[ X ] " + name + "can be patched!");
|
||||
menu.addText("[ X ] " + name + " can be patched!");
|
||||
} else {
|
||||
menu.addText("[ ] " + name + "can NOT be patched!");
|
||||
menu.addText("[ ] " + name + " can NOT be patched!");
|
||||
}
|
||||
};
|
||||
if (this->tmdValid) {
|
||||
@ -268,8 +268,6 @@ ApplicationState::ApplicationState() {
|
||||
void ApplicationState::checkPatchPossible() {
|
||||
DEBUG_FUNCTION_LINE("Check patch possible");
|
||||
|
||||
DEBUG_FUNCTION_LINE("CHECK FST");
|
||||
|
||||
InstallerService::eResults result;
|
||||
|
||||
this->fstAlreadyPatched = ((result = InstallerService::checkFSTAlreadyValid(this->appInfo->path, this->appInfo->fstHash)) == InstallerService::SUCCESS);
|
||||
|
@ -1,5 +0,0 @@
|
||||
//
|
||||
// Created by Maschell on 15.10.2020.
|
||||
//
|
||||
|
||||
#include "Input.h"
|
@ -33,7 +33,7 @@ public:
|
||||
if (OSIsAddressValid(0x00FFFFF8)) {
|
||||
uint64_t bootedFrom = *((uint64_t *) 0x00FFFFF8);
|
||||
if (
|
||||
bootedFrom == 0x000500101004E000L || // H&S JAP
|
||||
bootedFrom == 0x000500101004E000L || // H&S JPN
|
||||
bootedFrom == 0x000500101004E100L || // H&S USA
|
||||
bootedFrom == 0x000500101004E200L // H&S EUR
|
||||
) {
|
||||
|
@ -7,12 +7,10 @@
|
||||
#include <iosuhax.h>
|
||||
#include <iosuhax_devoptab.h>
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
#include "WiiUScreen.h"
|
||||
#include "InstallerService.h"
|
||||
|
||||
#include "ApplicationState.h"
|
||||
#include "VPADInput.h"
|
||||
#include "WPADInput.h"
|
||||
#include "../build/safe_payload.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user