mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
Silence logging of cellScreenShot
This commit is contained in:
parent
9245565085
commit
4dff8b16f1
@ -134,24 +134,31 @@ error_code cellScreenShotSetOverlayImage(vm::cptr<char> srcDir, vm::cptr<char> s
|
||||
|
||||
error_code cellScreenShotEnable()
|
||||
{
|
||||
cellScreenshot.warning("cellScreenShotEnable()");
|
||||
cellScreenshot.trace("cellScreenShotEnable()");
|
||||
|
||||
auto& manager = g_fxo->get<screenshot_manager>();
|
||||
std::lock_guard lock(manager.mutex);
|
||||
|
||||
manager.is_enabled = true;
|
||||
if (!std::exchange(manager.is_enabled, true))
|
||||
{
|
||||
cellScreenshot.warning("cellScreenShotEnable(): Enabled");
|
||||
}
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
error_code cellScreenShotDisable()
|
||||
{
|
||||
cellScreenshot.warning("cellScreenShotDisable()");
|
||||
cellScreenshot.trace("cellScreenShotDisable()");
|
||||
|
||||
auto& manager = g_fxo->get<screenshot_manager>();
|
||||
std::lock_guard lock(manager.mutex);
|
||||
|
||||
manager.is_enabled = false;
|
||||
if (std::exchange(manager.is_enabled, false))
|
||||
{
|
||||
cellScreenshot.warning("cellScreenShotDisable(): Disabled");
|
||||
}
|
||||
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
@ -220,7 +220,7 @@ u64 get_guest_system_time(u64 time)
|
||||
// Functions
|
||||
error_code sys_time_get_timezone(vm::ptr<s32> timezone, vm::ptr<s32> summertime)
|
||||
{
|
||||
sys_time.notice("sys_time_get_timezone(timezone=*0x%x, summertime=*0x%x)", timezone, summertime);
|
||||
sys_time.trace("sys_time_get_timezone(timezone=*0x%x, summertime=*0x%x)", timezone, summertime);
|
||||
|
||||
#ifdef _WIN32
|
||||
TIME_ZONE_INFORMATION tz{};
|
||||
|
Loading…
Reference in New Issue
Block a user