mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
iOS buildfix, SDL buildfix
This commit is contained in:
@@ -261,7 +261,7 @@ void TextDrawerSDL::SetOrCreateFont(const FontStyle &style) {
|
||||
int ptSize = static_cast<int>(style.sizePts / dpiScale_ * 1.25f);
|
||||
TTF_Font *font = TTF_OpenFont(useFont.c_str(), ptSize);
|
||||
if (!font) {
|
||||
bool exists = File::Exists(useFont);
|
||||
bool exists = File::Exists(Path(useFont));
|
||||
ERROR_LOG(Log::G3D, "Failed to load font file %s: exists=%d", useFont.c_str(), (int)exists);
|
||||
}
|
||||
// Still, even if it failed and font is nullptr, mark it in the map to avoid retrying.
|
||||
|
||||
@@ -215,6 +215,9 @@ static bool SafeStringEqual(NSString *a, NSString *b) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#ifndef USE_IAP
|
||||
|
||||
- (void)productsRequest:(nonnull SKProductsRequest *)request didReceiveResponse:(nonnull SKProductsResponse *)response {
|
||||
NSLog(@"Ignoring [productsRequest]");
|
||||
}
|
||||
@@ -223,4 +226,6 @@ static bool SafeStringEqual(NSString *a, NSString *b) {
|
||||
NSLog(@"Ignoring [paymentQueue]");
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user