no message
This commit is contained in:
parent
05e1e78115
commit
091901ddfa
|
@ -158,7 +158,11 @@ static void processDoFile(void* data, char* dst)
|
|||
|
||||
static bool forceExit(void* data)
|
||||
{
|
||||
return getStudioMode() != TIC_RUN_MODE;
|
||||
getSystem()->poll();
|
||||
|
||||
tic_mem* tic = ((Run*)data)->tic;
|
||||
|
||||
return tic->api.key(tic, tic_key_escape);
|
||||
}
|
||||
|
||||
void initRun(Run* run, Console* console, tic_mem* tic)
|
||||
|
|
|
@ -968,6 +968,7 @@ static System systemInterface =
|
|||
|
||||
.openSystemPath = openSystemPath,
|
||||
.preseed = preseed,
|
||||
.poll = pollEvent,
|
||||
};
|
||||
|
||||
#if defined(__EMSCRIPTEN__)
|
||||
|
|
|
@ -23,6 +23,7 @@ typedef struct
|
|||
void (*openSystemPath)(const char* path);
|
||||
|
||||
void (*preseed)();
|
||||
void (*poll)();
|
||||
|
||||
} System;
|
||||
|
||||
|
|
Loading…
Reference in New Issue