From 7c4d20cf0494cca7f3cdefaa43156b7ba82c1880 Mon Sep 17 00:00:00 2001 From: Ivan Epifanov Date: Fri, 12 Feb 2021 23:57:43 +0300 Subject: [PATCH] Fix for dolcesdk --- src/misc/vita/SDL_sysurl.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/misc/vita/SDL_sysurl.c b/src/misc/vita/SDL_sysurl.c index 42f6c456e..788480e16 100644 --- a/src/misc/vita/SDL_sysurl.c +++ b/src/misc/vita/SDL_sysurl.c @@ -34,8 +34,13 @@ SDL_SYS_OpenURL(const char *url) SDL_zero(boot_param); sceAppUtilInit(&init_param, &boot_param); SDL_zero(browser_param); +#if DOLCEVITA + browser_param.wbstr = (SceChar8*)url; + browser_param.wbstrLength = strlen(url); +#else browser_param.str = url; browser_param.strlen = strlen(url); +#endif sceAppUtilLaunchWebBrowser(&browser_param); return 0; }