fix ra init on android (#963)

* fix ra init on android

* more

* more
This commit is contained in:
Logan McNaughton
2026-05-27 15:39:37 +02:00
committed by GitHub
parent dc6138076f
commit 81a3cea9c7
3 changed files with 41 additions and 35 deletions
+2 -1
View File
@@ -327,7 +327,8 @@ static void event_handler(const rc_client_event_t *event, rc_client_t *client) {
void ra_init_client(bool hardcore, bool challenge, bool leaderboard) {
// Create the client instance (using a global variable simplifies this
// example)
g_client = rc_client_create(read_memory, server_call);
if (!g_client)
g_client = rc_client_create(read_memory, server_call);
g_rdram = NULL;
g_rdram_size = 0;