mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-21 21:34:25 +01:00
Fake some of the on screen keyboard
Now games that use it assume the user has input "000000" which seems to work for most games. Gets Pixel junk monsters deluxe and Worms battle island in-game
This commit is contained in:
1 parent
ffdc96a06a
commit
a2a4248381
9 files changed
+294
-24
No files matched your search
@@ -175,6 +175,22 @@ void GetString(std::string& _string, const u32 em_address)
|
||||
_string = stringBuffer;
|
||||
}
|
||||
|
||||
// Same as get string but read out 16bit
|
||||
void GetStringWide(std::string& _string, const u32 em_address)
|
||||
{
|
||||
char stringBuffer[2048];
|
||||
char *string = stringBuffer;
|
||||
char c;
|
||||
u32 addr = em_address;
|
||||
while ((c = (Read_U16(addr))))
|
||||
{
|
||||
*string++ = c;
|
||||
addr+=2;
|
||||
}
|
||||
*string++ = '\0';
|
||||
_string = stringBuffer;
|
||||
}
|
||||
|
||||
const char *GetAddressName(u32 address)
|
||||
{
|
||||
// TODO, follow GetPointer
|
||||
|
||||
Reference in new issue
Block a user