mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
g_fxo: implement logging for object creation/destruction.
Only logged at automated phase for initial/final processing.
This commit is contained in:
parent
ee46ad1ca9
commit
f71cdb4eb8
2 changed files with 27 additions and 1 deletions
|
@ -1762,4 +1762,16 @@ s32 error_code::error_report(const fmt_type_info* sup, u64 arg, const fmt_type_i
|
|||
return static_cast<s32>(arg);
|
||||
}
|
||||
|
||||
template <>
|
||||
void stx::manual_fixed_typemap<void>::init_reporter(const char* name, unsigned long long created)
|
||||
{
|
||||
sys_log.notice("Object '%s' was created [%u]", name, created);
|
||||
}
|
||||
|
||||
template <>
|
||||
void stx::manual_fixed_typemap<void>::destroy_reporter(const char* name, unsigned long long created)
|
||||
{
|
||||
sys_log.notice("Object '%s' was destroyed [%u]", name, created);
|
||||
}
|
||||
|
||||
Emulator Emu;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue