From ea2c5294df4145a101bc8d9e466adf1461f82c45 Mon Sep 17 00:00:00 2001 From: Eladash Date: Sat, 4 Sep 2021 10:13:32 +0300 Subject: [PATCH] cellCamera: Anti-Log spam enhancement --- rpcs3/Emu/Cell/Modules/cellCamera.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellCamera.cpp b/rpcs3/Emu/Cell/Modules/cellCamera.cpp index 41d3d01298..16d6ec9194 100644 --- a/rpcs3/Emu/Cell/Modules/cellCamera.cpp +++ b/rpcs3/Emu/Cell/Modules/cellCamera.cpp @@ -564,7 +564,7 @@ error_code cellCameraGetType(s32 dev_num, vm::ptr type) s32 cellCameraIsAvailable(s32 dev_num) { - cellCamera.warning("cellCameraIsAvailable(dev_num=%d)", dev_num); + cellCamera.trace("cellCameraIsAvailable(dev_num=%d)", dev_num); if (g_cfg.io.camera == camera_handler::null) { @@ -727,7 +727,7 @@ error_code cellCameraGetAttribute(s32 dev_num, s32 attrib, vm::ptr arg1, vm error_code cellCameraSetAttribute(s32 dev_num, s32 attrib, u32 arg1, u32 arg2) { const auto attr_name = get_camera_attr_name(attrib); - cellCamera.todo("cellCameraSetAttribute(dev_num=%d, attrib=%d=%s, arg1=%d, arg2=%d)", dev_num, attrib, attr_name, arg1, arg2); + (attrib == CELL_CAMERA_LED ? cellCamera.trace : cellCamera.todo)("cellCameraSetAttribute(dev_num=%d, attrib=%d=%s, arg1=%d, arg2=%d)", dev_num, attrib, attr_name, arg1, arg2); auto& g_camera = g_fxo->get();