Skip to content

Commit

Permalink
Updated to XCode 5.0 and MacOS X Maverick.
Browse files Browse the repository at this point in the history
  • Loading branch information
MacPro: Fabien Sanglard committed Oct 31, 2013
1 parent d3ac7bb commit b547a7d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
8 changes: 4 additions & 4 deletions engine/macosx/macosx.xcodeproj/project.pbxproj
Expand Up @@ -569,7 +569,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
Expand Down Expand Up @@ -597,7 +597,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_C_LANGUAGE_STANDARD = gnu99;
Expand All @@ -620,7 +620,7 @@
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "macosx/macosx-Prefix.pch";
GCC_VERSION = com.apple.compilers.llvmgcc42;
GCC_VERSION = "";
INFOPLIST_FILE = "macosx/macosx-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
Expand All @@ -633,7 +633,7 @@
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "macosx/macosx-Prefix.pch";
GCC_VERSION = com.apple.compilers.llvmgcc42;
GCC_VERSION = "";
INFOPLIST_FILE = "macosx/macosx-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
Expand Down
10 changes: 6 additions & 4 deletions engine/src/dEngine.c
Expand Up @@ -74,14 +74,16 @@ void dEngine_ReadConfig(void)


config = FS_OpenFile(CONFIG_PATH, "rt");
FS_UploadToRAM(config);

if (!config)
{

if (!config){
Log_Printf("Configuration file: data/config.cfg not found");
exit(0);
}


FS_UploadToRAM(config);


//renderer.resolution = 1;

LE_pushLexer();
Expand Down

0 comments on commit b547a7d

Please sign in to comment.