diff --git a/Common/Render/Text/draw_text_sdl.cpp b/Common/Render/Text/draw_text_sdl.cpp index 2fd0192f6a..2402cd6f97 100644 --- a/Common/Render/Text/draw_text_sdl.cpp +++ b/Common/Render/Text/draw_text_sdl.cpp @@ -261,7 +261,7 @@ void TextDrawerSDL::SetOrCreateFont(const FontStyle &style) { int ptSize = static_cast(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. diff --git a/ios/IAPManager.mm b/ios/IAPManager.mm index e40cbb544d..c61c6e5f3a 100644 --- a/ios/IAPManager.mm +++ b/ios/IAPManager.mm @@ -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