Make compatible with both libnx v2.0.0 and v1.6.0
This commit is contained in:
@ -24,6 +24,9 @@
|
||||
|
||||
#include <switch/types.h>
|
||||
|
||||
#define FB_WIDTH 1280
|
||||
#define FB_HEIGHT 720
|
||||
|
||||
#define GREEN RGBA8_MAXALPHA(0, 0xff, 0)
|
||||
#define RED RGBA8_MAXALPHA(0xff, 0, 0)
|
||||
#define CYAN RGBA8_MAXALPHA(0, 0xff, 0xff)
|
||||
@ -61,6 +64,9 @@ namespace Common {
|
||||
// print exit
|
||||
void wait_to_exit();
|
||||
|
||||
// refresh display
|
||||
void update_display();
|
||||
|
||||
void sha256(const u8 *data, u8 *hash, size_t length);
|
||||
// reads "<keyname> = <hexkey>" and returns byte vector
|
||||
byte_vector key_string_to_byte_vector(std::string key_string);
|
||||
|
Reference in New Issue
Block a user