From e892e69929416b636d384994e98e5aaaf41a2c75 Mon Sep 17 00:00:00 2001 From: "Such Meme, Many Skill" Date: Wed, 8 Apr 2020 17:33:34 +0200 Subject: [PATCH] don't hardcode locations where info should be parsed from --- source/tegraexplorer/script/functions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/tegraexplorer/script/functions.c b/source/tegraexplorer/script/functions.c index 8752d33..6a77921 100644 --- a/source/tegraexplorer/script/functions.c +++ b/source/tegraexplorer/script/functions.c @@ -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;