mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
[GX] more build fixes
This commit is contained in:
parent
b670f204cd
commit
f4a40c5218
@ -14,10 +14,6 @@
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef HAVE_LIBRETRODB
|
||||
#define HAVE_LIBRETRODB
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
|
||||
#define HAVE_SHADERS
|
||||
#endif
|
||||
|
@ -963,12 +963,12 @@ static int create_string_list_rdb_entry_int(const char *desc, const char *label,
|
||||
static int deferred_push_rdb_entry_detail(void *data, void *userdata,
|
||||
const char *path, const char *label, unsigned type)
|
||||
{
|
||||
int ret = 0;
|
||||
#ifdef HAVE_LIBRETRODB
|
||||
content_playlist_t *playlist;
|
||||
char query[PATH_MAX_LENGTH];
|
||||
char path_rdl[PATH_MAX_LENGTH], path_base[PATH_MAX_LENGTH];
|
||||
unsigned i, j;
|
||||
int ret = 0;
|
||||
database_info_list_t *db_info = NULL;
|
||||
file_list_t *list = NULL;
|
||||
file_list_t *menu_list = NULL;
|
||||
@ -3041,6 +3041,7 @@ static int deferred_push_video_shader_preset_parameters(void *data, void *userda
|
||||
static int deferred_push_video_shader_parameters(void *data, void *userdata,
|
||||
const char *path, const char *label, unsigned type)
|
||||
{
|
||||
#ifdef HAVE_SHADER_MANAGER
|
||||
struct video_shader *shader = video_shader_driver_get_current_shader();
|
||||
if (!shader)
|
||||
return 0;
|
||||
@ -3048,6 +3049,9 @@ static int deferred_push_video_shader_parameters(void *data, void *userdata,
|
||||
return deferred_push_video_shader_parameters_common(data, userdata,
|
||||
path, label, type,
|
||||
shader, MENU_SETTINGS_SHADER_PARAMETER_0);
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
static int deferred_push_settings(void *data, void *userdata,
|
||||
|
@ -381,6 +381,7 @@ static void rarch_main_iterate_rdl(void)
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef HAVE_LIBRETRODB
|
||||
if (!driver.menu->rdl->iterating)
|
||||
{
|
||||
msg_queue_clear(g_extern.msg_queue);
|
||||
@ -392,6 +393,7 @@ static void rarch_main_iterate_rdl(void)
|
||||
}
|
||||
|
||||
database_info_write_rdl_iterate(driver.menu->rdl);
|
||||
#endif
|
||||
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user