mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix Kamen Rider Climax Heroes OOO - ULJS00331 loading
thanks @unknownbrackets
This commit is contained in:
parent
7213d27ea3
commit
2815cb281a
1 changed files with 7 additions and 0 deletions
|
@ -35,10 +35,13 @@
|
|||
|
||||
#include "../native/file/ini_file.h"
|
||||
|
||||
bool Loaded_httpmodule = false;
|
||||
const int SCE_ERROR_MODULE_BAD_ID = 0x80111101;
|
||||
const int SCE_ERROR_MODULE_ALREADY_LOADED = 0x80111102;
|
||||
const int SCE_ERROR_MODULE_NOT_LOADED = 0x80111103;
|
||||
const int SCE_ERROR_AV_MODULE_BAD_ID = 0x80110F01;
|
||||
const int PSP_MODULE_NET_HTTP = 261;
|
||||
const int PSP_MODULE_NET_HTTPSTORAGE = 264;
|
||||
|
||||
enum UtilityDialogType {
|
||||
UTILITY_DIALOG_NONE,
|
||||
|
@ -207,6 +210,10 @@ u32 sceUtilityLoadModule(u32 module)
|
|||
currentlyLoadedModules.insert(module);
|
||||
|
||||
INFO_LOG(SCEUTILITY, "sceUtilityLoadModule(%i)", module);
|
||||
if (module == PSP_MODULE_NET_HTTP) //Fix Kamen Rider Climax Heroes OOO - ULJS00331
|
||||
Loaded_httpmodule = true;
|
||||
if (module == PSP_MODULE_NET_HTTPSTORAGE && !Loaded_httpmodule)
|
||||
return SCE_KERNEL_ERROR_LIBRARY_NOTFOUND;
|
||||
// TODO: Each module has its own timing, technically, but this is a low-end.
|
||||
// Note: Some modules have dependencies, but they still resched.
|
||||
if (module == 0x3FF)
|
||||
|
|
Loading…
Add table
Reference in a new issue