mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-08 21:21:50 +00:00
don't hardcode locations where info should be parsed from
This commit is contained in:
parent
7e8e3ece66
commit
e892e69929
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ extern short currentlyMounted;
|
||||||
|
|
||||||
int parseIntInput(char *in, int *out){
|
int parseIntInput(char *in, int *out){
|
||||||
if (in[0] == '@'){
|
if (in[0] == '@'){
|
||||||
if (str_int_find(argv[0], out))
|
if (str_int_find(in, out))
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -41,7 +41,7 @@ int parseIntInput(char *in, int *out){
|
||||||
|
|
||||||
int parseJmpInput(char *in, u64 *out){
|
int parseJmpInput(char *in, u64 *out){
|
||||||
if (in[0] == '?'){
|
if (in[0] == '?'){
|
||||||
if (str_jmp_find(argv[0], out))
|
if (str_jmp_find(in, out))
|
||||||
return -1;
|
return -1;
|
||||||
else
|
else
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue