Compare commits
3 Commits
c6bbfcac10
...
630133f77a
Author | SHA1 | Date | |
---|---|---|---|
630133f77a | |||
df30905389 | |||
7003a9c8a3 |
9
source/debug.c
Normal file
9
source/debug.c
Normal 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
6
source/debug.h
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef DEBUG_H
|
||||
#define DEBUG_H
|
||||
|
||||
void debug_pause();
|
||||
|
||||
#endif
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user