mirror of
https://github.com/PabloMK7/citra.git
synced 2025-10-11 20:10:03 +00:00
core: Remove unnecessary enum casts in log calls
Follows the video core PR. fmt doesn't require casts for enum classes anymore, so we can remove quite a few casts. Co-Authored-By: LC <712067+lioncash@users.noreply.github.com>
This commit is contained in:
parent
3f13e1cc24
commit
da908a9ed1
36 changed files with 136 additions and 162 deletions
|
@ -763,7 +763,7 @@ void Module::Interface::FlipImage(Kernel::HLERequestContext& ctx) {
|
|||
}
|
||||
|
||||
LOG_DEBUG(Service_CAM, "called, camera_select={}, flip={}, context_select={}",
|
||||
camera_select.m_val, static_cast<int>(flip), context_select.m_val);
|
||||
camera_select.m_val, flip, context_select.m_val);
|
||||
}
|
||||
|
||||
void Module::Interface::SetDetailSize(Kernel::HLERequestContext& ctx) {
|
||||
|
@ -847,7 +847,7 @@ void Module::Interface::SetFrameRate(Kernel::HLERequestContext& ctx) {
|
|||
}
|
||||
|
||||
LOG_WARNING(Service_CAM, "(STUBBED) called, camera_select={}, frame_rate={}",
|
||||
camera_select.m_val, static_cast<int>(frame_rate));
|
||||
camera_select.m_val, frame_rate);
|
||||
}
|
||||
|
||||
void Module::Interface::SetEffect(Kernel::HLERequestContext& ctx) {
|
||||
|
@ -874,7 +874,7 @@ void Module::Interface::SetEffect(Kernel::HLERequestContext& ctx) {
|
|||
}
|
||||
|
||||
LOG_DEBUG(Service_CAM, "called, camera_select={}, effect={}, context_select={}",
|
||||
camera_select.m_val, static_cast<int>(effect), context_select.m_val);
|
||||
camera_select.m_val, effect, context_select.m_val);
|
||||
}
|
||||
|
||||
void Module::Interface::SetOutputFormat(Kernel::HLERequestContext& ctx) {
|
||||
|
@ -901,7 +901,7 @@ void Module::Interface::SetOutputFormat(Kernel::HLERequestContext& ctx) {
|
|||
}
|
||||
|
||||
LOG_DEBUG(Service_CAM, "called, camera_select={}, format={}, context_select={}",
|
||||
camera_select.m_val, static_cast<int>(format), context_select.m_val);
|
||||
camera_select.m_val, format, context_select.m_val);
|
||||
}
|
||||
|
||||
void Module::Interface::SynchronizeVsyncTiming(Kernel::HLERequestContext& ctx) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue