Add stub framework for .pbp demos (nowhere near working). Fix an OSK crash.
This commit is contained in:
parent
b603214777
commit
b9f45e4530
5 changed files with 95 additions and 24 deletions
|
@ -220,14 +220,16 @@ int PSPOskDialog::Init(u32 oskPtr)
|
|||
|
||||
inputChars = L"";
|
||||
|
||||
u16 *src = (u16 *) Memory::GetPointer(oskData.intextPtr);
|
||||
int c;
|
||||
while (c = *src++)
|
||||
{
|
||||
inputChars += c;
|
||||
if(c == 0x00)
|
||||
if (oskData.intextPtr) {
|
||||
u16 *src = (u16 *) Memory::GetPointer(oskData.intextPtr);
|
||||
int c;
|
||||
while (c = *src++)
|
||||
{
|
||||
break;
|
||||
inputChars += c;
|
||||
if(c == 0x00)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue