iOS buildfix, cleanup

This commit is contained in:
Henrik Rydgård committed 2023-06-20 16:10:13 +02:00
1 parent 575c428867
commit 8fa7cb2122
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -118,7 +118,6 @@ bool System_GetPropertyBool(SystemProperty prop) {
}
void System_Notify(SystemNotification notification) {}
void System_PostUIMessage(const std::string &message, const std::string &param) {}
void System_NotifyUserMessage(const std::string &message, float duration, u32 color, const char *id) {}
bool System_MakeRequest(SystemRequestType type, int requestId, const std::string &param1, const std::string &param2, int param3) {
switch (type) {
case SystemRequestType::SEND_DEBUG_OUTPUT:
+1 -1
View File
@@ -205,7 +205,7 @@ extern float g_safeInsetBottom;
graphicsContext = new IOSGraphicsContext();
graphicsContext->GetDrawContext()->SetErrorCallback([](const char *shortDesc, const char *details, void *userdata) {
System_NotifyUserMessage(details, 5.0, 0xFFFFFFFF, "error_callback");
g_OSD.Show(OSDType::MESSAGE_ERROR, details, 0.0f, "error_callback");
}, nullptr);
graphicsContext->ThreadStart();