From 1a08caaedb06fe5c0662033bbfb9ce5f7c621731 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 21 Mar 2015 06:57:13 +0100 Subject: [PATCH] (PS3) Buildfixes --- Makefile.ps3.salamander | 2 +- menu/menu_entries_cbs_toggle.c | 2 +- settings.c | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile.ps3.salamander b/Makefile.ps3.salamander index 61e1354e27..69602129cc 100644 --- a/Makefile.ps3.salamander +++ b/Makefile.ps3.salamander @@ -18,7 +18,7 @@ endif STRIP = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-strip.exe -PPU_CFLAGS += -I. -Ilibretro-common/include -D__CELLOS_LV2__ -DIS_SALAMANDER -DRARCH_CONSOLE -DHAVE_SYSUTILS -DHAVE_SYSMODULES -DHAVE_RARCH_EXEC +PPU_CFLAGS += -I. -Ilibretro-common/include -Ideps/zlib -D__CELLOS_LV2__ -DIS_SALAMANDER -DRARCH_CONSOLE -DHAVE_SYSUTILS -DHAVE_SYSMODULES -DHAVE_RARCH_EXEC PPU_SRCS = frontend/frontend_salamander.c frontend/frontend_driver.c frontend/drivers/platform_ps3.c frontend/drivers/platform_null.c libretro-common/file/file_path.c libretro-common/file/dir_list.c libretro-common/string/string_list.c libretro-common/compat/compat.c libretro-common/file/config_file.c ifeq ($(HAVE_LOGGER), 1) diff --git a/menu/menu_entries_cbs_toggle.c b/menu/menu_entries_cbs_toggle.c index 88b9e3cab0..f7a77e20f5 100644 --- a/menu/menu_entries_cbs_toggle.c +++ b/menu/menu_entries_cbs_toggle.c @@ -423,7 +423,7 @@ static int action_toggle_video_resolution(unsigned type, const char *label, { global->console.screen.resolutions.current.idx--; global->console.screen.resolutions.current.id = - global->onsole.screen.resolutions.list + global->console.screen.resolutions.list [global->console.screen.resolutions.current.idx]; } break; diff --git a/settings.c b/settings.c index b1c4b1b85c..8a98b44659 100644 --- a/settings.c +++ b/settings.c @@ -4536,10 +4536,13 @@ static bool setting_append_list_audio_options( rarch_setting_group_info_t group_info; rarch_setting_group_info_t subgroup_info; settings_t *settings = config_get_ptr(); + global_t *global = global_get_ptr(); START_GROUP(group_info, "Audio Settings"); START_SUB_GROUP(list, list_info, "State", group_info.name, subgroup_info); + (void)global; + CONFIG_BOOL( settings->audio.enable, "audio_enable",