mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 18:23:43 +01:00
Adjust some log levels
This commit is contained in:
1 parent
b0ab7fbaf7
commit
abb57c620f
11 files changed
+29
-27
No files matched your search
@@ -371,18 +371,18 @@ void __KernelMemoryDoState(PointerWrap &p)
|
||||
void __KernelMemoryShutdown()
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
INFO_LOG(Log::sceKernel, "Shutting down volatile memory pool: ");
|
||||
volatileMemory.ListBlocks();
|
||||
DEBUG_LOG(Log::sceKernel, "Shutting down volatile memory pool");
|
||||
volatileMemory.ListBlocks(LogLevel::LDEBUG);
|
||||
#endif
|
||||
volatileMemory.Shutdown();
|
||||
#ifdef _DEBUG
|
||||
INFO_LOG(Log::sceKernel,"Shutting down user memory pool: ");
|
||||
userMemory.ListBlocks();
|
||||
DEBUG_LOG(Log::sceKernel,"Shutting down user memory pool");
|
||||
userMemory.ListBlocks(LogLevel::LDEBUG);
|
||||
#endif
|
||||
userMemory.Shutdown();
|
||||
#ifdef _DEBUG
|
||||
INFO_LOG(Log::sceKernel,"Shutting down \"kernel\" memory pool: ");
|
||||
kernelMemory.ListBlocks();
|
||||
DEBUG_LOG(Log::sceKernel,"Shutting down \"kernel\" memory pool");
|
||||
kernelMemory.ListBlocks(LogLevel::LDEBUG);
|
||||
#endif
|
||||
kernelMemory.Shutdown();
|
||||
tlsplThreadEndChecks.clear();
|
||||
@@ -823,7 +823,7 @@ public:
|
||||
else
|
||||
address = alloc->Alloc(size, type == PSP_SMEM_High, name);
|
||||
#ifdef _DEBUG
|
||||
alloc->ListBlocks();
|
||||
alloc->ListBlocks(LogLevel::LDEBUG);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@@ -1914,7 +1914,7 @@ SceUID sceKernelCreateTlspl(const char *name, u32 partition, u32 attr, u32 block
|
||||
u32 totalSize = alignedSize * count;
|
||||
u32 blockPtr = allocator->Alloc(totalSize, (attr & PSP_TLSPL_ATTR_HIGHMEM) != 0, StringFromFormat("TLS/%s", name).c_str());
|
||||
#ifdef _DEBUG
|
||||
allocator->ListBlocks();
|
||||
allocator->ListBlocks(LogLevel::LDEBUG);
|
||||
#endif
|
||||
|
||||
if (blockPtr == (u32)-1)
|
||||
|
||||
Reference in new issue
Block a user