1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-11-22 20:06:43 +00:00

don't hardcode locations where info should be parsed from

This commit is contained in:
Such Meme, Many Skill 2020-04-08 17:33:34 +02:00
parent 7e8e3ece66
commit e892e69929

View file

@ -30,7 +30,7 @@ extern short currentlyMounted;
int parseIntInput(char *in, int *out){
if (in[0] == '@'){
if (str_int_find(argv[0], out))
if (str_int_find(in, out))
return -1;
}
else
@ -41,7 +41,7 @@ int parseIntInput(char *in, int *out){
int parseJmpInput(char *in, u64 *out){
if (in[0] == '?'){
if (str_jmp_find(argv[0], out))
if (str_jmp_find(in, out))
return -1;
else
return 0;