Commit c6e4c582 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Buildfixes

parent 113d16d6
......@@ -27,8 +27,10 @@ unsigned game_height = 480;
static void fallback_log(enum retro_log_level level, const char *fmt, ...)
{
(void)level;
va_list va;
(void)level;
va_start(va, fmt);
vfprintf(stderr, fmt, va);
va_end(va);
......@@ -112,9 +114,6 @@ static struct retro_rumble_interface rumble;
void retro_set_environment(retro_environment_t cb)
{
bool no_content = true;
environ_cb = cb;
static const struct retro_variable vars[] = {
{ "craft_resolution",
"Resolution (restart); 640x480|320x200|640x400|960x600|1280x800|1600x1000|1920x1200|2240x1400|2560x1600|2880x1800|3200x2000|3520x2200|3840x2400|320x240|320x480|360x200|360x240|360x400|360x480|400x224|480x272|512x224|512x240|512x384|512x512|640x224|640x240|640x448|720x576|800x480|800x600|960x720|1024x768|1280x720|1366x768|1600x900|1920x1080|2048x2048|4096x4096" },
......@@ -135,6 +134,9 @@ void retro_set_environment(retro_environment_t cb)
{ NULL, NULL },
};
environ_cb = cb;
cb(RETRO_ENVIRONMENT_SET_VARIABLES, (void*)vars);
cb(RETRO_ENVIRONMENT_SET_SUPPORT_NO_GAME, &no_content);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment