Fix for dolcesdk

This commit is contained in:
Ivan Epifanov 2021-02-12 23:57:43 +03:00 committed by Sam Lantinga
parent 3c1fe9cea6
commit 7c4d20cf04
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}