Minor improvements and cleanups

This commit is contained in:
Maschell 2020-12-04 10:39:36 +01:00
parent cc2d20533f
commit 163135dd21
4 changed files with 4 additions and 13 deletions

View File

@ -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);

View File

@ -1,5 +0,0 @@
//
// Created by Maschell on 15.10.2020.
//
#include "Input.h"

View File

@ -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
) { ) {

View File

@ -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"