Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Preventing a homebrew from running on PPSSPP
10-13-2013, 02:26 PM (This post was last modified: 10-13-2013 02:33 PM by TheDax.)
Post: #2
RE: Preventing a homebrew from running on PPSSPP
Here are two I can think of:

1. I forget how querying flash0 works on the real PSP, but I would think if you look through our flash0's contents and only find the font folder, you're likely running on PPSSPP or JPCSP, since the real PSP undoubtedly requires all of the content to be present to function. That'd probably be the simplest way. Or, for a slight spin on that, check for flash0:/vsh/etc/version.txt. PPSSPP doesn't have a version.txt.

2. Another method could be(well, last time I checked, this was the case): kernel-only functions can be called from userland with no restrictions(I tried with sceKernelFindModuleByName), so check to see if you can call any of those with no error codes, without trying to enter kernel mode.

4GHz AMD 3900X, 32GB DDR4 RAM, 6GB Nvidia RTX 2060, Asus Crosshair 7 Hero (Wifi), Linux
How to ask useful questions: https://web.archive.org/web/20110214010944/http://support.microsoft.com/kb/555375
I'm not Dark_Alex, nor do I claim to be. Our nicknames are merely coincidence.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Preventing a homebrew from running on PPSSPP - TheDax - 10-13-2013 02:26 PM

Forum Jump: