From 41fff233f29b6ee7274f4bf525052dcf0fa56c00 Mon Sep 17 00:00:00 2001 From: neonloop Date: Sat, 21 Aug 2021 00:10:44 +0000 Subject: Updates message display and adds loading message to pcsx --- core.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'core.c') diff --git a/core.c b/core.c index bbc9a58..da5c6a9 100644 --- a/core.c +++ b/core.c @@ -13,6 +13,7 @@ #include "overrides.h" #include "plat.h" #include "unzip.h" +#include "util.h" #define PATH_SEPARATOR_CHAR '/' @@ -390,9 +391,11 @@ static bool pa_environment(unsigned cmd, void *data) { break; } case RETRO_ENVIRONMENT_SET_MESSAGE: { /* 6 */ - /* Just warn for now. TODO: Display on the screen */ const struct retro_message *message = (const struct retro_message*)data; - PA_WARN(message->msg); + if (message) { + PA_INFO("%s\n", message->msg); + } + break; } case RETRO_ENVIRONMENT_GET_SYSTEM_DIRECTORY: { /* 9 */ -- cgit v1.2.3