mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-26 12:59:18 +01:00
Fix for dolcesdk
This commit is contained in:
parent
3c1fe9cea6
commit
7c4d20cf04
@ -34,8 +34,13 @@ SDL_SYS_OpenURL(const char *url)
|
|||||||
SDL_zero(boot_param);
|
SDL_zero(boot_param);
|
||||||
sceAppUtilInit(&init_param, &boot_param);
|
sceAppUtilInit(&init_param, &boot_param);
|
||||||
SDL_zero(browser_param);
|
SDL_zero(browser_param);
|
||||||
|
#if DOLCEVITA
|
||||||
|
browser_param.wbstr = (SceChar8*)url;
|
||||||
|
browser_param.wbstrLength = strlen(url);
|
||||||
|
#else
|
||||||
browser_param.str = url;
|
browser_param.str = url;
|
||||||
browser_param.strlen = strlen(url);
|
browser_param.strlen = strlen(url);
|
||||||
|
#endif
|
||||||
sceAppUtilLaunchWebBrowser(&browser_param);
|
sceAppUtilLaunchWebBrowser(&browser_param);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user