Fixed stupid errors compiling with Xcode 5.1
parent
f77e44f7ad
commit
704f04b8ce
|
@ -12,7 +12,7 @@
|
|||
typedef const char* blargg_err_t; // 0 on success, otherwise error string
|
||||
|
||||
// Success; no error
|
||||
int const blargg_ok = 0;
|
||||
blargg_err_t const blargg_ok = 0;
|
||||
|
||||
// BLARGG_RESTRICT: equivalent to C99's restrict, where supported
|
||||
#if __GNUC__ >= 3 || _MSC_VER >= 1100
|
||||
|
|
|
@ -1645,8 +1645,7 @@ static int usf_info(void * context, const char * name, const char * value)
|
|||
|
||||
NSString * decodedUrl = [[url absoluteString] stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
|
||||
|
||||
if ( psf_load( [decodedUrl UTF8String], &source_callbacks, 0, 0, 0, psf_info_meta, &info, 0 ) <= 0)
|
||||
return NO;
|
||||
psf_load( [decodedUrl UTF8String], &source_callbacks, 0, 0, 0, psf_info_meta, &info, 0 );
|
||||
|
||||
return info.info;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue