Fix some Linux/Mac compile breaking stuff

This commit is contained in:
Laci bá
2021-11-14 15:00:55 +01:00
parent e24da32acf
commit 1586cf6f57
2 changed files with 11 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ SDL_mutex *blitmtx;
SDL_threadID eventthread;
static int exit_event = 0;
static int fullscreen_pending = 0;
uint32_t lang_id = 0x0409, lang_sys = 0x0409; // Multilangual UI variables, for now all set to LCID of en-US
static const uint16_t sdl_to_xt[0x200] =
{
@@ -1235,6 +1236,15 @@ uint32_t plat_language_code(char* langcode)
return 0;
}
/* Converts back the language code to LCID */
void
plat_language_code_r(uint32_t lcid, char* outbuf, int len)
{
/* or maybe not */
return;
}
void joystick_init(void) {}
void joystick_close(void) {}
void joystick_process(void) {}