/* Written by Wolfvak, specially sublicensed under the GPLv2 Read LICENSE for more details */ #include "common.h" #include "fsinit.h" #include "fsutil.h" #include "power.h" #include "rtc.h" #include "hid.h" #include "ui.h" #include #define PC_DUMPRAD (0x30) #define SP_DUMPLEN (0x60) #define XRQ_DUMPDATAFUNC(type, size) \ int XRQ_DumpData_##type(char *b, u32 s, u32 e) \ { \ char *c = b; \ while(s