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

Fix compile errors

This commit is contained in:
Jeff 2024-06-22 13:22:21 +02:00
parent 51e8efc6a5
commit 11ebd537d8
3 changed files with 3 additions and 1 deletions

View file

@ -232,7 +232,7 @@ u8 nextToken(char** inPtr, void** val) {
if (!memcmp(t.strToken, in, (t.strToken[1] == '\0') ? 1 : 2)) { if (!memcmp(t.strToken, in, (t.strToken[1] == '\0') ? 1 : 2)) {
//gfx_printf("Token: '%s'\n", t.strToken); //gfx_printf("Token: '%s'\n", t.strToken);
ret = Token_Token; ret = Token_Token;
*val = t.token; *val = (void*)t.token;
if (t.strToken[1] != '\0') if (t.strToken[1] != '\0')
in++; in++;

View file

@ -1,6 +1,7 @@
#include "scriptError.h" #include "scriptError.h"
#include "compat.h" #include "compat.h"
#include <stdarg.h> #include <stdarg.h>
#include "../hid/hid.h"
s64 scriptCurrentLine; s64 scriptCurrentLine;
u8 scriptLastError = 0; u8 scriptLastError = 0;

View file

@ -18,6 +18,7 @@
#include <string.h> #include <string.h>
#include "../fs/fscopy.h" #include "../fs/fscopy.h"
#include "../utils/utils.h" #include "../utils/utils.h"
#include <display/di.h>
extern sdmmc_storage_t sd_storage; extern sdmmc_storage_t sd_storage;
extern bool is_sd_inited; extern bool is_sd_inited;