2023-07-21 06:07:21 +00:00
|
|
|
// debug features for libreshop_client
|
2023-07-21 06:32:06 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <gccore.h>
|
2023-07-21 06:07:21 +00:00
|
|
|
#include <wiiuse/wpad.h>
|
|
|
|
|
|
|
|
void debug_pause() {
|
|
|
|
while(1) {
|
|
|
|
WPAD_ScanPads();
|
|
|
|
if (WPAD_ButtonsDown(0)) break;
|
|
|
|
}
|
|
|
|
}
|
2023-07-21 06:32:06 +00:00
|
|
|
|
|
|
|
void debug_npause() {
|
|
|
|
printf("Press any button to continue...\n");
|
|
|
|
VIDEO_WaitVSync();
|
|
|
|
debug_pause();
|
|
|
|
}
|