Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot set PSP Model on RetroArch, Toukiden does not work properly~! #15306

Closed
2 of 5 tasks
xiejinglan opened this issue Jan 15, 2022 · 10 comments · Fixed by #16319
Closed
2 of 5 tasks

Cannot set PSP Model on RetroArch, Toukiden does not work properly~! #15306

xiejinglan opened this issue Jan 15, 2022 · 10 comments · Fixed by #16319
Labels
Libretro Issue on Libretro but not all ports.
Milestone

Comments

@xiejinglan
Copy link

Game or games this happens in

ULJM06290 - Toukiden

What area of the game / PPSSPP

QL4(8IRD)7}FKJWLS@E{QTU

What should happen

Hope to be able to set PSP Model

Logs

No response

Platform

libretro / Retroarch

Mobile phone model or graphics card

Pixel 4a

PPSSPP version affected

RetroArch 1.9

Last working version

No response

Graphics backend (3D API)

OpenGL / GLES

Checklist

  • Test in the latest git build in case it's already fixed.
  • Search for other reports of the same issue.
  • Try resetting settings or older versions and include if the issue is related.
  • Try without any cheats and without loading any save states.
  • Include logs or screenshots of issue.
@unknownbrackets unknownbrackets added the Libretro Issue on Libretro but not all ports. label Jan 15, 2022
@iota97
Copy link
Contributor

iota97 commented Jan 15, 2022

I wonder if we should just default to PSP-2000 rather than adding another option.

Not sure if this game is going to work anyway, for reference the message is "Ad hoc play on PSP-1000 not available." (OCR + Google translate).

@Panderner
Copy link
Contributor

It's looks like they forgot to add PSP Model selection for RetroArch core.

@xiejinglan
Copy link
Author

@iota97
I tried setting g_Config.iPSPModel=PSP_MODEL_SLIM in retro_init and recompiling it, but it doesn't seem to have any effect, the error message still exists, so I wonder if there is something else that affects this field instead of just changing this field worth it

@iota97
Copy link
Contributor

iota97 commented Jan 16, 2022

AFAIK that should be it. However if you load a savestate it will reset the PSP model (if I'm not mistaken) so be sure to restart the game and load a game save for testing.

Would be nice to know if it work on standalone version too.

@unknownbrackets
Copy link
Collaborator

g_Config.iPSPModel is processed whenever the CPU is initialized, and can't be changed while emulation is running. Retroarch isn't really built for emulators as optimized as PPSSPP (it's built for things like the SNES, which is 1% as powerful as the PSP), and runs into lots of conflicts and performance issues. It might be that timing of updating that value is one of them.

-[Unknown]

@iota97
Copy link
Contributor

iota97 commented Jan 16, 2022

If that the case I think he could test changing it from here:

Memory::g_PSPModel = g_Config.iPSPModel;

Why does a game check for PSP model for AdHoc anyway? I thought there weren't many difference beside the UMD cache.

@unknownbrackets
Copy link
Collaborator

Somewhere I've read that the PSP-1000 chipset had issues running the wifi chip while the CPU was clocked at 333 Mhz. Might've been a voltage issue.

-[Unknown]

@xiejinglan
Copy link
Author

I've tested setting g_Config.iPSPModel= PSP_MODEL_SLIM in CPU_Init; but still nothing changes.

@a7150607
Copy link

@unknownbrackets has nay way to fix it?

@xiejinglan
Copy link
Author

It's my own problem, set in the wrong place!

@unknownbrackets unknownbrackets added this to the v1.14.0 milestone Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Libretro Issue on Libretro but not all ports.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants