mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
Logging system rework
* use one central unified log with channels/priorities ad-hoc listener registration and de-registration * disable buffering by default * add multi-threaded ringbuffer implementation * use buffered listener for the gui (using the ringbuffer)
This commit is contained in:
parent
394b698e92
commit
21da317453
165 changed files with 1731 additions and 1519 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Utilities/Log.h"
|
||||
#include "PSF.h"
|
||||
|
||||
PSFLoader::PSFLoader(vfsStream& f) : psf_f(f)
|
||||
|
|
@ -43,7 +43,7 @@ bool PSFLoader::LoadHeader()
|
|||
if(!m_header.CheckMagic())
|
||||
return false;
|
||||
|
||||
if(m_show_log) ConLog.Write("PSF version: %x", m_header.psf_version);
|
||||
if(m_show_log) LOGF_NOTICE(LOADER, "PSF version: %x", m_header.psf_version);
|
||||
|
||||
m_psfindxs.clear();
|
||||
m_entries.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue