Skip to content

Commit

Permalink
Another cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Namaneo committed Sep 11, 2023
1 parent 323702e commit 0d3f238
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/junie.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@

#define LOG(msg, ...) core_log_params(__FUNCTION__, msg, __VA_ARGS__)

#define IMPORT(name) __attribute__((import_module("env"), import_name(#name))) name
void IMPORT(junie_interop_video)(const JunieVideo *video);
void IMPORT(junie_interop_audio)(const JunieAudio *audio);
void IMPORT(junie_interop_variables)(const JunieVariable *variables);

typedef enum {
JUN_PATH_GAME = 0,
JUN_PATH_STATE = 1,
Expand Down Expand Up @@ -539,11 +544,6 @@ static void restore_memories()
restore_memory(RETRO_MEMORY_RTC, rtc_path);
}

#define IMPORT(name) __attribute__((import_module("env"), import_name(#name))) name
void IMPORT(junie_interop_video)(const JunieVideo *video);
void IMPORT(junie_interop_audio)(const JunieAudio *audio);
void IMPORT(junie_interop_variables)(const JunieVariable *variables);

static void core_thread(void *opaque)
{
while (!CTX.destroying) {
Expand Down

0 comments on commit 0d3f238

Please sign in to comment.