(3DS) Enable gfx_widgets / overlays

This commit is contained in:
MrHuu 2021-04-24 15:36:03 +02:00
parent d2af1e905c
commit 1235a7435e
3 changed files with 8 additions and 6 deletions

View File

@ -58,8 +58,8 @@ ifeq ($(GRIFFIN_BUILD), 1)
DEFINES += -DHAVE_SCREENSHOTS DEFINES += -DHAVE_SCREENSHOTS
DEFINES += -DHAVE_REWIND DEFINES += -DHAVE_REWIND
DEFINES += -DHAVE_THREADS DEFINES += -DHAVE_THREADS
#DEFINES += -DHAVE_GFX_WIDGETS DEFINES += -DHAVE_GFX_WIDGETS
#DEFINES += -DHAVE_OVERLAY DEFINES += -DHAVE_OVERLAY
#DEFINES += -DHAVE_SOCKET_LEGACY #DEFINES += -DHAVE_SOCKET_LEGACY
#-DHAVE_SSL -DHAVE_BUILTINMBEDTLS -DMBEDTLS_SSL_DEBUG_ALL #-DHAVE_SSL -DHAVE_BUILTINMBEDTLS -DMBEDTLS_SSL_DEBUG_ALL
#ssl is currently incompatible with griffin due to use of the "static" flag on repeating functions that will conflict when included in one file #ssl is currently incompatible with griffin due to use of the "static" flag on repeating functions that will conflict when included in one file

View File

@ -123,6 +123,8 @@ static void frontend_ctr_get_env(int* argc, char* argv[],
"filters/audio", sizeof(g_defaults.dirs[DEFAULT_DIR_AUDIO_FILTER])); "filters/audio", sizeof(g_defaults.dirs[DEFAULT_DIR_AUDIO_FILTER]));
fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_VIDEO_FILTER], g_defaults.dirs[DEFAULT_DIR_PORT], fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_VIDEO_FILTER], g_defaults.dirs[DEFAULT_DIR_PORT],
"filters/video", sizeof(g_defaults.dirs[DEFAULT_DIR_VIDEO_FILTER])); "filters/video", sizeof(g_defaults.dirs[DEFAULT_DIR_VIDEO_FILTER]));
fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_OVERLAY], g_defaults.dirs[DEFAULT_DIR_PORT],
"overlays/ctr", sizeof(g_defaults.dirs[DEFAULT_DIR_OVERLAY]));
fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_DATABASE], g_defaults.dirs[DEFAULT_DIR_PORT], fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_DATABASE], g_defaults.dirs[DEFAULT_DIR_PORT],
"database/rdb", sizeof(g_defaults.dirs[DEFAULT_DIR_DATABASE])); "database/rdb", sizeof(g_defaults.dirs[DEFAULT_DIR_DATABASE]));
fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_CURSOR], g_defaults.dirs[DEFAULT_DIR_PORT], fill_pathname_join(g_defaults.dirs[DEFAULT_DIR_CURSOR], g_defaults.dirs[DEFAULT_DIR_PORT],

View File

@ -513,7 +513,7 @@ static void* ctr_init(const video_info_t* video,
ctr->vsync = video->vsync; ctr->vsync = video->vsync;
ctr->current_buffer_top = 0; ctr->current_buffer_top = 0;
#ifdef HAVE_OVERLAY #if defined(HAVE_OVERLAY) || defined(HAVE_GFX_WIDGETS)
video_driver_set_rgba(); video_driver_set_rgba();
#endif #endif