mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Merge pull request #12787 from webgeek1234/libretro
libretro: Fix Android builds
This commit is contained in:
@@ -81,7 +81,9 @@ void TextDrawer::DrawStringBitmapRect(std::vector<uint8_t> &bitmapData, TextStri
|
||||
|
||||
TextDrawer *TextDrawer::Create(Draw::DrawContext *draw) {
|
||||
TextDrawer *drawer = nullptr;
|
||||
#if defined(_WIN32) && !PPSSPP_PLATFORM(UWP)
|
||||
#if defined(__LIBRETRO__)
|
||||
// No text drawer
|
||||
#elif defined(_WIN32) && !PPSSPP_PLATFORM(UWP)
|
||||
drawer = new TextDrawerWin32(draw);
|
||||
#elif PPSSPP_PLATFORM(UWP)
|
||||
drawer = new TextDrawerUWP(draw);
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "android/jni/app-android.h"
|
||||
#include <assert.h>
|
||||
|
||||
#if PPSSPP_PLATFORM(ANDROID)
|
||||
#if PPSSPP_PLATFORM(ANDROID) && !defined(__LIBRETRO__)
|
||||
|
||||
#include <jni.h>
|
||||
|
||||
|
||||
@@ -809,4 +809,8 @@ bool System_InputBoxGetWString(const wchar_t *title, const std::wstring &default
|
||||
|
||||
#if PPSSPP_PLATFORM(ANDROID) || PPSSPP_PLATFORM(IOS)
|
||||
std::vector<std::string> __cameraGetDeviceList() { return std::vector<std::string>(); }
|
||||
|
||||
void System_InputBoxGetString(const std::string &title, const std::string &defaultValue, std::function<void(bool, const std::string &)> cb) {
|
||||
cb(false, "");
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user