From 0115c2f70ad326144e4de1b3e3309a29e8c3400c Mon Sep 17 00:00:00 2001 From: Megamouse Date: Wed, 5 Apr 2023 20:14:54 +0200 Subject: [PATCH] cellMic: minor format changes for readability --- rpcs3/Emu/Cell/Modules/cellMic.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellMic.cpp b/rpcs3/Emu/Cell/Modules/cellMic.cpp index cecf866520..409097803d 100644 --- a/rpcs3/Emu/Cell/Modules/cellMic.cpp +++ b/rpcs3/Emu/Cell/Modules/cellMic.cpp @@ -287,15 +287,21 @@ error_code microphone_device::open_microphone(const u8 type, const u32 dsp_r, co num_channels = 2; } break; - case microphone_handler::rocksmith: num_channels = 1; break; + case microphone_handler::rocksmith: + num_channels = 1; + break; case microphone_handler::null: - default: ensure(false); break; + default: + ensure(false); + break; } ALCenum num_al_channels; switch (num_channels) { - case 1: num_al_channels = AL_FORMAT_MONO16; break; + case 1: + num_al_channels = AL_FORMAT_MONO16; + break; case 2: // If we're using SingStar each device needs to be mono if (device_type == microphone_handler::singstar)