Reduce log level of some tested sceFont funcs.
This commit is contained in:
parent
fe8ada4d7e
commit
68affb4a54
1 changed files with 5 additions and 5 deletions
|
@ -755,7 +755,7 @@ u32 sceFontOpen(u32 libHandle, u32 index, u32 mode, u32 errorCodePtr) {
|
|||
return -1;
|
||||
}
|
||||
|
||||
INFO_LOG(SCEFONT, "sceFontOpen(%x, %x, %x, %x)", libHandle, index, mode, errorCodePtr);
|
||||
DEBUG_LOG(SCEFONT, "sceFontOpen(%x, %x, %x, %x)", libHandle, index, mode, errorCodePtr);
|
||||
FontLib *fontLib = GetFontLib(libHandle);
|
||||
if (fontLib == NULL) {
|
||||
*errorCode = ERROR_FONT_INVALID_LIBID;
|
||||
|
@ -797,7 +797,7 @@ u32 sceFontOpenUserMemory(u32 libHandle, u32 memoryFontAddrPtr, u32 memoryFontLe
|
|||
return 0;
|
||||
}
|
||||
|
||||
INFO_LOG(SCEFONT, "sceFontOpenUserMemory(%08x, %08x, %08x, %08x)", libHandle, memoryFontAddrPtr, memoryFontLength, errorCodePtr);
|
||||
DEBUG_LOG(SCEFONT, "sceFontOpenUserMemory(%08x, %08x, %08x, %08x)", libHandle, memoryFontAddrPtr, memoryFontLength, errorCodePtr);
|
||||
const u8 *fontData = Memory::GetPointer(memoryFontAddrPtr);
|
||||
Font *f = new Font(fontData, memoryFontLength);
|
||||
LoadedFont *font = fontLib->OpenFont(f, FONT_OPEN_USERBUFFER, *errorCode);
|
||||
|
@ -864,7 +864,7 @@ int sceFontClose(u32 fontHandle) {
|
|||
LoadedFont *font = GetLoadedFont(fontHandle, false);
|
||||
if (font)
|
||||
{
|
||||
INFO_LOG(SCEFONT, "sceFontClose(%x)", fontHandle);
|
||||
DEBUG_LOG(SCEFONT, "sceFontClose(%x)", fontHandle);
|
||||
FontLib *fontLib = font->GetFontLib();
|
||||
if (fontLib)
|
||||
fontLib->CloseFont(font);
|
||||
|
@ -895,7 +895,7 @@ int sceFontFindOptimumFont(u32 libHandle, u32 fontStylePtr, u32 errorCodePtr) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
INFO_LOG(SCEFONT, "sceFontFindOptimumFont(%08x, %08x, %08x)", libHandle, fontStylePtr, errorCodePtr);
|
||||
DEBUG_LOG(SCEFONT, "sceFontFindOptimumFont(%08x, %08x, %08x)", libHandle, fontStylePtr, errorCodePtr);
|
||||
|
||||
auto requestedStyle = PSPPointer<const PGFFontStyle>::Create(fontStylePtr);
|
||||
|
||||
|
@ -962,7 +962,7 @@ int sceFontFindFont(u32 libHandle, u32 fontStylePtr, u32 errorCodePtr) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
INFO_LOG(SCEFONT, "sceFontFindFont(%x, %x, %x)", libHandle, fontStylePtr, errorCodePtr);
|
||||
DEBUG_LOG(SCEFONT, "sceFontFindFont(%x, %x, %x)", libHandle, fontStylePtr, errorCodePtr);
|
||||
|
||||
auto requestedStyle = PSPPointer<const PGFFontStyle>::Create(fontStylePtr);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue