Revert "Project modernization (#630)"
This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
This commit is contained in:
@@ -15,7 +15,7 @@ uint8_t *mallocAndCreateUTF8ArrayFromString(int iID)
|
||||
if( result != S_OK )
|
||||
{
|
||||
app.DebugPrintf("sceCesUcsContextInit failed\n");
|
||||
return nullptr;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
uint32_t utf16Len;
|
||||
@@ -44,7 +44,7 @@ uint8_t *mallocAndCreateUTF8ArrayFromString(int iID)
|
||||
if( result != SCE_OK )
|
||||
{
|
||||
app.DebugPrintf("sceCesUtf16StrToUtf8Str: conversion error : 0x%x\n", result);
|
||||
return nullptr;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return strUtf8;
|
||||
|
||||
Reference in New Issue
Block a user