Skip to content

Commit

Permalink
Fix dmnt:cht issue
Browse files Browse the repository at this point in the history
  • Loading branch information
masagrator committed Jun 4, 2020
1 parent 9deccf6 commit 65aae08
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ include $(DEVKITPRO)/libnx/switch_rules
# NACP building is skipped as well.
#---------------------------------------------------------------------------------
APP_TITLE := Status-Monitor
APP_VERSION := 0.6.0
APP_VERSION := 0.6.1
TARGET := $(notdir $(CURDIR))
BUILD := build
SOURCES := source source/libstratosphere
Expand Down
10 changes: 7 additions & 3 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,11 @@ void CheckIfGameRunning(void*) {
svcSleepThread(1'000'000'000);
FILE* FPSoffset = fopen("sdmc:/SaltySD/FPSoffset.hex", "rb");
if ((FPSoffset != NULL)) {
if (Atmosphere_present == true) dmntchtForceOpenCheatProcess();
if (Atmosphere_present == true) {
bool out = false;
dmntchtHasCheatProcess(&out);
if (out == false) dmntchtForceOpenCheatProcess();
}
else svcSleepThread(1'000'000'000);
fread(&FPSaddress, 0x5, 1, FPSoffset);
FPSavgaddress = FPSaddress - 0x8;
Expand Down Expand Up @@ -414,7 +418,7 @@ class FullOverlay : public tsl::Gui {
FullOverlay() { }

virtual tsl::elm::Element* createUI() override {
auto rootFrame = new tsl::elm::OverlayFrame("Status Monitor", "v0.6.0");
auto rootFrame = new tsl::elm::OverlayFrame("Status Monitor", "v0.6.1");

auto Status = new tsl::elm::CustomDrawer([](tsl::gfx::Renderer *renderer, u16 x, u16 y, u16 w, u16 h) {

Expand Down Expand Up @@ -661,7 +665,7 @@ class MainMenu : public tsl::Gui {
MainMenu() { }

virtual tsl::elm::Element* createUI() override {
auto rootFrame = new tsl::elm::OverlayFrame("Status Monitor", "v0.6.0");
auto rootFrame = new tsl::elm::OverlayFrame("Status Monitor", "v0.6.1");
auto list = new tsl::elm::List();

auto Full = new tsl::elm::ListItem("Full");
Expand Down

0 comments on commit 65aae08

Please sign in to comment.