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