From 352b8e4cef2ff75dddae30fcf8114a0c9a8fb798 Mon Sep 17 00:00:00 2001 From: TwinAphex51224 Date: Sun, 29 Jan 2012 22:06:51 +0100 Subject: [PATCH] (PS3) Still broke, still crashes after 'loading texture image' --- Makefile.ps3 | 2 +- ps3/main.c | 11 ++--------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/Makefile.ps3 b/Makefile.ps3 index 93cc2a942d..4e85fd2756 100644 --- a/Makefile.ps3 +++ b/Makefile.ps3 @@ -4,7 +4,7 @@ ## ### ## -DEBUG = 0 +DEBUG = 1 CELL_BUILD_TOOLS = GCC DOWNLOAD_SHADERS = 1 diff --git a/ps3/main.c b/ps3/main.c index caed281aa8..8aaa16c005 100644 --- a/ps3/main.c +++ b/ps3/main.c @@ -107,7 +107,7 @@ static void default_settings(void) g_settings.rewind_enable = false; } -static bool init_settings(void) +static void init_settings(void) { if(!file_exists(SYS_CONFIG_FILE)) { @@ -117,8 +117,6 @@ static bool init_settings(void) } config_file_t * conf = config_file_new(SYS_CONFIG_FILE); - if (!conf) - return 1; CONFIG_GET_BOOL(video.smooth, "video_smooth"); CONFIG_GET_BOOL(video.second_pass_smooth, "video_second_pass_smooth"); @@ -134,8 +132,6 @@ static bool init_settings(void) CONFIG_GET_BOOL(rewind_enable, "rewind_enable"); config_file_free(conf); - - return 0; } static void get_path_settings(bool multiman_support) @@ -518,10 +514,7 @@ int main(int argc, char *argv[]) #endif get_path_settings(g_console.return_to_multiman_enable); - if(!init_settings()) - { - SSNES_ERR("Couldn't find config at path: \"%s\"\n", SYS_CONFIG_FILE); - } + init_settings(); #if(CELL_SDK_VERSION > 0x340000) if (g_console.screenshots_enable)