mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 15:40:44 +00:00
Ifdef LibretroDB code
This commit is contained in:
parent
dfd8d55f7a
commit
ff570dcdf4
@ -1,3 +1,9 @@
|
||||
HAVE_LIBRETRODB = 1
|
||||
|
||||
ifeq ($(HAVE_LIBRETRODB), 1)
|
||||
DEFINES += -DHAVE_LIBRETRODB
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_FBO), 1)
|
||||
DEFINES += -DHAVE_FBO
|
||||
endif
|
||||
@ -165,11 +171,13 @@ OBJ += frontend/frontend.o \
|
||||
|
||||
# LibretroDB
|
||||
|
||||
ifeq ($(HAVE_LIBRETRODB), 1)
|
||||
OBJ += libretrodb/bintree.o \
|
||||
libretrodb/rarchdb.o \
|
||||
libretrodb/query.o \
|
||||
libretrodb/rmsgpack.o \
|
||||
libretrodb/rmsgpack_dom.o
|
||||
endif
|
||||
|
||||
# Miscellaneous
|
||||
|
||||
|
@ -14,6 +14,8 @@
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#define HAVE_LIBRETRODB
|
||||
|
||||
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
|
||||
#define HAVE_SHADERS
|
||||
#endif
|
||||
@ -805,11 +807,13 @@ XML
|
||||
/*============================================================
|
||||
LIBRETRODB
|
||||
============================================================ */
|
||||
#ifdef HAVE_LIBRETRODB
|
||||
#include "../libretrodb/bintree.c"
|
||||
#include "../libretrodb/rarchdb.c"
|
||||
#include "../libretrodb/rmsgpack.c"
|
||||
#include "../libretrodb/rmsgpack_dom.c"
|
||||
#include "../libretrodb/query.c"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -3353,11 +3353,13 @@ static bool setting_data_append_list_main_menu_options(
|
||||
subgroup_info.name);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBRETRODB
|
||||
CONFIG_ACTION(
|
||||
"database_manager_list",
|
||||
"Database Manager",
|
||||
group_info.name,
|
||||
subgroup_info.name);
|
||||
#endif
|
||||
|
||||
if (g_settings.history_list_enable)
|
||||
{
|
||||
@ -5832,6 +5834,7 @@ static bool setting_data_append_list_path_options(
|
||||
list_info,
|
||||
SD_FLAG_ALLOW_EMPTY | SD_FLAG_PATH_DIR | SD_FLAG_BROWSER_ACTION);
|
||||
|
||||
#ifdef HAVE_LIBRETRODB
|
||||
CONFIG_DIR(
|
||||
g_settings.content_database,
|
||||
"content_database_path",
|
||||
@ -5846,6 +5849,7 @@ static bool setting_data_append_list_path_options(
|
||||
list,
|
||||
list_info,
|
||||
SD_FLAG_ALLOW_EMPTY | SD_FLAG_PATH_DIR | SD_FLAG_BROWSER_ACTION);
|
||||
#endif
|
||||
|
||||
CONFIG_DIR(
|
||||
g_settings.cheat_database,
|
||||
|
Loading…
x
Reference in New Issue
Block a user