Skip to content

Commit

Permalink
Improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschell committed Jan 10, 2023
1 parent 0da71f9 commit 57f823a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ procHomeButtonDeniedCustom(void *context) {

int main(int argc, char **argv) {
initLogging();
DEBUG_FUNCTION_LINE("Hello from wudump!");
AXInit();
WHBProcInit();
WiiUScreen::Init();
Expand All @@ -64,7 +63,7 @@ int main(int argc, char **argv) {
IMIsAPDEnabled(&isAPDEnabled);

if (isAPDEnabled) {
DEBUG_FUNCTION_LINE("Disable auto shutdown");
DEBUG_FUNCTION_LINE_VERBOSE("Disable auto shutdown");
IMDisableAPD();
}

Expand Down Expand Up @@ -100,7 +99,7 @@ int main(int argc, char **argv) {
}

if (isAPDEnabled) {
DEBUG_FUNCTION_LINE("Enable auto shutdown");
DEBUG_FUNCTION_LINE_VERBOSE("Enable auto shutdown");
IMEnableAPD();
}

Expand All @@ -114,7 +113,7 @@ int main(int argc, char **argv) {
}

void main_loop() {
DEBUG_FUNCTION_LINE("Creating state");
DEBUG_FUNCTION_LINE_VERBOSE("Creating state");
std::unique_ptr<MainApplicationState> state = std::make_unique<MainApplicationState>();
CombinedInput baseInput;
VPadInput vpadInput;
Expand All @@ -124,7 +123,7 @@ void main_loop() {
WPAD_CHAN_2,
WPAD_CHAN_3};

DEBUG_FUNCTION_LINE("Entering main loop");
DEBUG_FUNCTION_LINE_VERBOSE("Entering main loop");
while (WHBProcIsRunning()) {
baseInput.reset();
if (vpadInput.update(1280, 720)) {
Expand Down

0 comments on commit 57f823a

Please sign in to comment.