mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Usb: Stub sceUsbstorBootSetCapacity().
Apparently many Lua based homebrew call this on startup and hang if it fails, but often otherwise don't use sceUsb.
This commit is contained in:
parent
8c72cc119e
commit
a140ec037a
1 changed files with 5 additions and 1 deletions
|
@ -212,6 +212,10 @@ static int sceUsbWaitStateCB(int state, u32 waitMode, u32 timeoutPtr) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int sceUsbstorBootSetCapacity(u32 capacity) {
|
||||
return hleReportError(HLE, 0, "unimplemented");
|
||||
}
|
||||
|
||||
const HLEFunction sceUsb[] =
|
||||
{
|
||||
{0XAE5DE6AF, &WrapI_CUU<sceUsbStart>, "sceUsbStart", 'i', "sxx"},
|
||||
|
@ -233,7 +237,7 @@ const HLEFunction sceUsbstor[] =
|
|||
|
||||
const HLEFunction sceUsbstorBoot[] =
|
||||
{
|
||||
{0XE58818A8, nullptr, "sceUsbstorBootSetCapacity", '?', "" },
|
||||
{0XE58818A8, &WrapI_U<sceUsbstorBootSetCapacity>,"sceUsbstorBootSetCapacity", 'i', "x" },
|
||||
{0X594BBF95, nullptr, "sceUsbstorBootSetLoadAddr", '?', "" },
|
||||
{0X6D865ECD, nullptr, "sceUsbstorBootGetDataSize", '?', "" },
|
||||
{0XA1119F0D, nullptr, "sceUsbstorBootSetStatus", '?', "" },
|
||||
|
|
Loading…
Add table
Reference in a new issue