int LPP_UtilsBrowserUpdate(void) { int res = -1; int stat = sceUtilityHtmlViewerGetStatus(); switch(stat) { case PSP_UTILITY_DIALOG_NONE : { res = lpp_UtilsBrowserParams.base.result; if(lpp_UtilsBrowserParams.memaddr) free(lpp_UtilsBrowserParams.memaddr); sceHttpEnd(); } break; case PSP_UTILITY_DIALOG_VISIBLE : { sceUtilityHtmlViewerUpdate(1); } break; case PSP_UTILITY_DIALOG_QUIT : { sceUtilityHtmlViewerShutdownStart(); } break; case PSP_UTILITY_DIALOG_FINISHED : break; default: break; } return res; }
void netTerm() { sceHttpSaveSystemCookie(); sceHttpsEnd(); sceHttpEnd(); sceSslEnd(); sceNetApctlTerm(); sceNetInetTerm(); sceNetTerm(); unloadNetModules(); }