Removed bloat from the user-interface.
This commit is contained in:
parent
b65668144f
commit
a4640e21a0
2 changed files with 2 additions and 16 deletions
|
@ -130,13 +130,6 @@ namespace Common {
|
||||||
draw_text(0x1e0, 0x040, CYAN, "Lockpick_RCM");
|
draw_text(0x1e0, 0x040, CYAN, "Lockpick_RCM");
|
||||||
draw_text(0x2a0, 0x040, YELLOW, "can get newer keys on firmware 7.0.0+!");
|
draw_text(0x2a0, 0x040, YELLOW, "can get newer keys on firmware 7.0.0+!");
|
||||||
|
|
||||||
draw_set_rect(814, 452 + 42 * 0, 450, 42, FLAG_RED);
|
|
||||||
draw_set_rect(814, 452 + 42 * 1, 450, 42, FLAG_ORANGE);
|
|
||||||
draw_set_rect(814, 452 + 42 * 2, 450, 42, FLAG_YELLOW);
|
|
||||||
draw_set_rect(814, 452 + 42 * 3, 450, 42, FLAG_GREEN);
|
|
||||||
draw_set_rect(814, 452 + 42 * 4, 450, 42, FLAG_BLUE);
|
|
||||||
draw_set_rect(814, 452 + 42 * 5, 450, 42, FLAG_VIOLET);
|
|
||||||
|
|
||||||
if ( !(envIsSyscallHinted(0x60) && // svcDebugActiveProcess
|
if ( !(envIsSyscallHinted(0x60) && // svcDebugActiveProcess
|
||||||
envIsSyscallHinted(0x63) && // svcGetDebugEvent
|
envIsSyscallHinted(0x63) && // svcGetDebugEvent
|
||||||
envIsSyscallHinted(0x65) && // svcGetProcessList
|
envIsSyscallHinted(0x65) && // svcGetProcessList
|
||||||
|
@ -234,4 +227,4 @@ namespace Common {
|
||||||
*reinterpret_cast<u64 *>(temp_key.data() + i) = __bswap64(strtoul(key_string.substr(i * 2, 0x10).c_str(), NULL, 16));
|
*reinterpret_cast<u64 *>(temp_key.data() + i) = __bswap64(strtoul(key_string.substr(i * 2, 0x10).c_str(), NULL, 16));
|
||||||
return temp_key;
|
return temp_key;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,13 +32,6 @@
|
||||||
#define CYAN RGBA8_MAXALPHA(0, 0xff, 0xff)
|
#define CYAN RGBA8_MAXALPHA(0, 0xff, 0xff)
|
||||||
#define YELLOW RGBA8_MAXALPHA(0xff, 0xff, 0)
|
#define YELLOW RGBA8_MAXALPHA(0xff, 0xff, 0)
|
||||||
|
|
||||||
#define FLAG_RED RGBA8_MAXALPHA(0xe7, 0x00, 0x00)
|
|
||||||
#define FLAG_ORANGE RGBA8_MAXALPHA(0xff, 0x8c, 0x00)
|
|
||||||
#define FLAG_YELLOW RGBA8_MAXALPHA(0xff, 0xef, 0x00)
|
|
||||||
#define FLAG_GREEN RGBA8_MAXALPHA(0x00, 0x81, 0x1f)
|
|
||||||
#define FLAG_BLUE RGBA8_MAXALPHA(0x00, 0x44, 0xff)
|
|
||||||
#define FLAG_VIOLET RGBA8_MAXALPHA(0x76, 0x00, 0x89)
|
|
||||||
|
|
||||||
class Key;
|
class Key;
|
||||||
|
|
||||||
typedef std::vector<u8> byte_vector;
|
typedef std::vector<u8> byte_vector;
|
||||||
|
@ -69,4 +62,4 @@ namespace Common {
|
||||||
|
|
||||||
// reads "<keyname> = <hexkey>" and returns byte vector
|
// reads "<keyname> = <hexkey>" and returns byte vector
|
||||||
byte_vector key_string_to_byte_vector(std::string key_string);
|
byte_vector key_string_to_byte_vector(std::string key_string);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue