Get AO working on PPC.
parent
d643b4f559
commit
31a55fa219
|
@ -531,11 +531,16 @@
|
|||
GCC_ENABLE_FIX_AND_CONTINUE = YES;
|
||||
GCC_MODEL_TUNING = G5;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"GCC_PREPROCESSOR_DEFINITIONS[arch=i386]" = (
|
||||
"HAS_PSXCPU=1",
|
||||
"LSB_FIRST=1",
|
||||
"PATH_MAX=1024",
|
||||
);
|
||||
"GCC_PREPROCESSOR_DEFINITIONS[arch=ppc]" = (
|
||||
"HAS_PSXCPU=1",
|
||||
"LSB_FIRST=0",
|
||||
"PATH_MAX=1024",
|
||||
);
|
||||
HEADER_SEARCH_PATHS = aosdk;
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
INSTALL_PATH = "@loader_path/../Frameworks";
|
||||
|
@ -555,11 +560,16 @@
|
|||
FRAMEWORK_VERSION = A;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_MODEL_TUNING = G5;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"GCC_PREPROCESSOR_DEFINITIONS[arch=i386]" = (
|
||||
"HAS_PSXCPU=1",
|
||||
"LSB_FIRST=1",
|
||||
"PATH_MAX=1024",
|
||||
);
|
||||
"GCC_PREPROCESSOR_DEFINITIONS[arch=ppc]" = (
|
||||
"HAS_PSXCPU=1",
|
||||
"LSB_FIRST=0",
|
||||
"PATH_MAX=1024",
|
||||
);
|
||||
HEADER_SEARCH_PATHS = aosdk;
|
||||
INFOPLIST_FILE = Info.plist;
|
||||
INSTALL_PATH = "@loader_path/../Frameworks";
|
||||
|
|
|
@ -319,6 +319,7 @@ int ao_get_lib(char *fn, uint8 **buf, uint64 *length)
|
|||
[NSNumber numberWithInteger:totalFrames], @"totalFrames",
|
||||
[NSNumber numberWithInt:0], @"bitrate",
|
||||
[NSNumber numberWithBool:NO], @"seekable",
|
||||
@"host", @"endian",
|
||||
nil];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue