Compare commits

...

3 Commits

Author SHA1 Message Date
630133f77a add commented out debug header to main.c 2023-07-21 09:12:42 +03:00
df30905389 debugging header file 2023-07-21 09:07:34 +03:00
7003a9c8a3 debug pause function 2023-07-21 09:07:21 +03:00
3 changed files with 18 additions and 0 deletions

9
source/debug.c Normal file
View File

@ -0,0 +1,9 @@
// debug features for libreshop_client
#include <wiiuse/wpad.h>
void debug_pause() {
while(1) {
WPAD_ScanPads();
if (WPAD_ButtonsDown(0)) break;
}
}

6
source/debug.h Normal file
View File

@ -0,0 +1,6 @@
#ifndef DEBUG_H
#define DEBUG_H
void debug_pause();
#endif

View File

@ -6,6 +6,9 @@
#include "sandia/sandia.h"
// Uncomment if this is a development build
//#include "debug.h"
static void *xfb = NULL;
static GXRModeObj *rmode = NULL;