Compare commits
No commits in common. "b15de193d572d0b7f8d695573b18580d899c2f61" and "c6bbfcac10dd87e7f3cd1a755942dbc662e0ad3b" have entirely different histories.
b15de193d5
...
c6bbfcac10
@ -1,17 +0,0 @@
|
|||||||
// debug features for libreshop_client
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <gccore.h>
|
|
||||||
#include <wiiuse/wpad.h>
|
|
||||||
|
|
||||||
void debug_pause() {
|
|
||||||
while(1) {
|
|
||||||
WPAD_ScanPads();
|
|
||||||
if (WPAD_ButtonsDown(0)) break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void debug_npause() {
|
|
||||||
printf("Press any button to continue...\n");
|
|
||||||
VIDEO_WaitVSync();
|
|
||||||
debug_pause();
|
|
||||||
}
|
|
@ -1,7 +0,0 @@
|
|||||||
#ifndef DEBUG_H
|
|
||||||
#define DEBUG_H
|
|
||||||
|
|
||||||
void debug_pause();
|
|
||||||
void debug_npause();
|
|
||||||
|
|
||||||
#endif
|
|
@ -6,9 +6,6 @@
|
|||||||
|
|
||||||
#include "sandia/sandia.h"
|
#include "sandia/sandia.h"
|
||||||
|
|
||||||
// Uncomment if this is a development build
|
|
||||||
//#include "debug.h"
|
|
||||||
|
|
||||||
static void *xfb = NULL;
|
static void *xfb = NULL;
|
||||||
static GXRModeObj *rmode = NULL;
|
static GXRModeObj *rmode = NULL;
|
||||||
|
|
||||||
@ -29,10 +26,8 @@ void logprint(int type, char *message) {
|
|||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
printf("\x1b[34m[\x1b[31m--\x1b[34m]");
|
printf("\x1b[34m[\x1b[31m--\x1b[34m]");
|
||||||
break;
|
|
||||||
case 3:
|
case 3:
|
||||||
printf("\x1b[31m!!\x1b[34m]");
|
printf("\x1b[31m!!\x1b[34m]");
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
printf(" ");
|
printf(" ");
|
||||||
}
|
}
|
||||||
@ -73,9 +68,6 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
printheader();
|
printheader();
|
||||||
logprint(0, "Welcome to LibreShop!\n");
|
logprint(0, "Welcome to LibreShop!\n");
|
||||||
#ifdef DEBUG_H
|
|
||||||
logprint(2, "Warning! You are running a DEBUG build.\n");
|
|
||||||
#endif
|
|
||||||
logprint(0, "Initializing network.\n");
|
logprint(0, "Initializing network.\n");
|
||||||
|
|
||||||
ret = if_config(localip, netmask, gateway, TRUE, 20);
|
ret = if_config(localip, netmask, gateway, TRUE, 20);
|
||||||
|
Loading…
Reference in New Issue
Block a user