mirror of
https://github.com/joel16/3DSident.git
synced 2024-11-23 03:29:45 +00:00
f8769ed82d
- System version now displays region ID: U = USA/CAN E = EUR/AUS J = JPN C = CHN K = KOR T = TWN - Minor code clean up + consistency. - Now displays home menu ID in misc tab. - WiFi information, SSID and password. Thanks to LiquidFenrir for his WiFi manager's network struct. - New colours: - Displays Homemenu ID - Displays IP address - Displays brightness Cyan for misc info. Purple for NNID. Green for WiFi slots. - Fixed buffer overflows thanks to GCC 7.1.0.
17 lines
504 B
C
17 lines
504 B
C
#ifndef UTILS_H
|
|
#define UTILS_H
|
|
|
|
#include <3ds.h>
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
#define ANY_KEY (KEY_TOUCH | KEY_A | KEY_B | KEY_X | KEY_Y | KEY_START | KEY_SELECT | \
|
|
KEY_UP | KEY_DOWN | KEY_LEFT | KEY_RIGHT | KEY_L | KEY_R | KEY_ZL | KEY_ZR | \
|
|
KEY_CSTICK_UP | KEY_CSTICK_DOWN | KEY_CSTICK_LEFT | KEY_CSTICK_RIGHT)
|
|
|
|
void getSizeString(char *string, uint64_t size);
|
|
void utf2ascii(char* dst, u16* src);
|
|
char * base64Encode(u8 const * bytesToEnc, size_t bufLen);
|
|
|
|
#endif |