mirror of
https://github.com/wiiu-env/wudd.git
synced 2024-11-22 01:49:15 +01:00
Improve logging
This commit is contained in:
parent
0da71f9420
commit
57f823a5de
@ -38,7 +38,6 @@ procHomeButtonDeniedCustom(void *context) {
|
|||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
initLogging();
|
initLogging();
|
||||||
DEBUG_FUNCTION_LINE("Hello from wudump!");
|
|
||||||
AXInit();
|
AXInit();
|
||||||
WHBProcInit();
|
WHBProcInit();
|
||||||
WiiUScreen::Init();
|
WiiUScreen::Init();
|
||||||
@ -64,7 +63,7 @@ int main(int argc, char **argv) {
|
|||||||
IMIsAPDEnabled(&isAPDEnabled);
|
IMIsAPDEnabled(&isAPDEnabled);
|
||||||
|
|
||||||
if (isAPDEnabled) {
|
if (isAPDEnabled) {
|
||||||
DEBUG_FUNCTION_LINE("Disable auto shutdown");
|
DEBUG_FUNCTION_LINE_VERBOSE("Disable auto shutdown");
|
||||||
IMDisableAPD();
|
IMDisableAPD();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -100,7 +99,7 @@ int main(int argc, char **argv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isAPDEnabled) {
|
if (isAPDEnabled) {
|
||||||
DEBUG_FUNCTION_LINE("Enable auto shutdown");
|
DEBUG_FUNCTION_LINE_VERBOSE("Enable auto shutdown");
|
||||||
IMEnableAPD();
|
IMEnableAPD();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -114,7 +113,7 @@ int main(int argc, char **argv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void main_loop() {
|
void main_loop() {
|
||||||
DEBUG_FUNCTION_LINE("Creating state");
|
DEBUG_FUNCTION_LINE_VERBOSE("Creating state");
|
||||||
std::unique_ptr<MainApplicationState> state = std::make_unique<MainApplicationState>();
|
std::unique_ptr<MainApplicationState> state = std::make_unique<MainApplicationState>();
|
||||||
CombinedInput baseInput;
|
CombinedInput baseInput;
|
||||||
VPadInput vpadInput;
|
VPadInput vpadInput;
|
||||||
@ -124,7 +123,7 @@ void main_loop() {
|
|||||||
WPAD_CHAN_2,
|
WPAD_CHAN_2,
|
||||||
WPAD_CHAN_3};
|
WPAD_CHAN_3};
|
||||||
|
|
||||||
DEBUG_FUNCTION_LINE("Entering main loop");
|
DEBUG_FUNCTION_LINE_VERBOSE("Entering main loop");
|
||||||
while (WHBProcIsRunning()) {
|
while (WHBProcIsRunning()) {
|
||||||
baseInput.reset();
|
baseInput.reset();
|
||||||
if (vpadInput.update(1280, 720)) {
|
if (vpadInput.update(1280, 720)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user