Ppsspp: Chotto Shot (Japan) - UCJB98012 extremely bad lag

Created on 28 Apr 2018  路  8Comments  路  Source: hrydgard/ppsspp

v1.5.4-933-g386c9d4fc
it goes so slow it takes 15-20 mins to get to the titles screen
it keeps printing this in the log
41:54:125 bhCameraDevi E[HLE]: HLE\HLE.cpp:545 Unimplemented HLE function sceUsbWaitState
ppsspplog.zip

Needs hardware testing

All 8 comments

That's not "lag", this camera app is just awaiting usb state and since we don't emulate it at all we send and error which makes the app continuosly await.
We could simply lie here and send "all ok"(aka 0) for that function(or just replace a call to it via cwcheat with "move v0,zero" or "li v0,0"), but it wouldn't do much anyway without a camera which currently is only partially supported and only on one platform - android.

I think it can be closed. Also it can be labeled with feature request. Also it can be tagged with the future milestone.

Trying to implement sceUsbWaitState to fix this, but I don't understand what it should be doing so I'm going to give up. It has 3 parameters which supposedly are state(usb), waitmode and timeout.

What seems to work is returning usbState by this function, and that's basically what jpcsp is doing right now, not sure if it's worth adding a possibly wrong code just for the sake of one pointless app, so instead I'll just drop a ready to use cheat workaround here that speeds up boot:
_S UCJB-98012 _G Chotto Shot _C0 QuickBoot workaround _L 0xE00118AE 0x0003BA6C _L 0x2003BA6C 0x00001021 _C0 QuickBoot workaround [Disable] _L 0xE0011021 0x0003BA6C _L 0x2003BA6C 0x0E2518AE
this is also wrong, but at least affects only this app.

It's probably similar to the umd wait?

My guess is that:

  • sceUsbWaitState waits for state, with mode choosing an exact or bit and match, and timeout optional.
  • sceUsbWaitCancel probably makes all waits on all threads cancel.

But that's just a guess, would need testing to verify and implement.

-[Unknown]

It needs camera support this is done by #8521 I've tested Invizimals

It seems This game requires camera support like Invizimals and EyePet.

It's NOT a game. It's an utility app that comes with one of the two camera's available for PSP.

And really Panderner you should stop spamming obvious things for the sake of attention. It's an issue tracker and being captain obvious here is just annoying to people subscribed until everyone puts you on ignore.

It's NOT a game. It's an utility app that comes with one of the two camera's available for PSP.

And really Panderner you should stop spamming obvious things for the sake of attention. It's an issue tracker and being captain obvious here is just annoying to people subscribed until everyone puts you on ignore.

I don't spam, chotto shot is a editing software Which is edit photos and video clips using PSP camera. And this app is only available in Japan

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marosis picture marosis  路  6Comments

zminhquanz picture zminhquanz  路  6Comments

radiocaravan picture radiocaravan  路  6Comments

joelolopez picture joelolopez  路  3Comments

ewlkkf picture ewlkkf  路  6Comments