mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 18:40:09 +00:00
Add more logs
This commit is contained in:
parent
2aa004a1ce
commit
ff3a0d9a3c
5
deps/libui/libui_main.c
vendored
5
deps/libui/libui_main.c
vendored
@ -2,6 +2,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "ui.h"
|
#include "ui.h"
|
||||||
|
#include "../../verbosity.h"
|
||||||
|
|
||||||
static int onClosing(uiWindow *w, void *data)
|
static int onClosing(uiWindow *w, void *data)
|
||||||
{
|
{
|
||||||
@ -298,7 +299,9 @@ int libui_main(void)
|
|||||||
|
|
||||||
memset(&options, 0, sizeof (uiInitOptions));
|
memset(&options, 0, sizeof (uiInitOptions));
|
||||||
err = uiInit(&options);
|
err = uiInit(&options);
|
||||||
if (err != NULL) {
|
if (err != NULL)
|
||||||
|
{
|
||||||
|
RARCH_ERR("Failed to initialize uiInit\n");
|
||||||
fprintf(stderr, "error initializing libui: %s", err);
|
fprintf(stderr, "error initializing libui: %s", err);
|
||||||
uiFreeInitError(err);
|
uiFreeInitError(err);
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user