This commit is contained in:
Aurora
2016-04-02 22:02:08 +02:00
parent 956829864c
commit 993e564fbb
7 changed files with 10 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
#include "types.h"
#define HID_PAD (*(vu16 *)0x10146000 ^ 0xFFF)
#define HID_PAD (*(vu32 *)0x10146000 ^ 0xFFF)
#define BUTTON_X (1 << 10)
#define BUTTON_Y (1 << 11)
#define BUTTON_SELECT (1 << 2)

View File

@@ -26,7 +26,7 @@ void main(void)
f_mount(&fs, "0:", 1);
//Get pressed buttons
u16 pressed = HID_PAD;
u32 pressed = HID_PAD;
if(((pressed & BUTTON_X) && loadPayload("/aurei/payloads/x.bin")) ||
((pressed & BUTTON_Y) && loadPayload("/aurei/payloads/y.bin")) ||