From 4b49d57f976ae89e8a21b3d6ad68de32a4f44090 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Wed, 3 Sep 2014 21:09:10 +0400 Subject: [PATCH] Small fix --- rpcs3/Emu/SysCalls/Modules/cellSysutil.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/rpcs3/Emu/SysCalls/Modules/cellSysutil.cpp b/rpcs3/Emu/SysCalls/Modules/cellSysutil.cpp index 4e911884eb..80f68f8002 100644 --- a/rpcs3/Emu/SysCalls/Modules/cellSysutil.cpp +++ b/rpcs3/Emu/SysCalls/Modules/cellSysutil.cpp @@ -156,7 +156,7 @@ int cellVideoOutGetState(u32 videoOut, u32 deviceIndex, vm::ptrWarning("cellVideoOutGetConfiguration(videoOut=%d, config_addr=0x%x, option_addr=0x%x)", videoOut, config.addr(), option.addr()); - //if (option) *option = {}; + if (option) *option = {}; switch(videoOut) { @@ -227,13 +227,13 @@ int cellVideoOutGetConfiguration(u32 videoOut, vm::ptrresolutionId = Emu.GetGSManager().GetInfo().mode.resolutionId; config->format = Emu.GetGSManager().GetInfo().mode.format; config->aspect = Emu.GetGSManager().GetInfo().mode.aspect; - //*config->reserved = {}; + *config->reserved = {}; config->pitch = Emu.GetGSManager().GetInfo().mode.pitch; return CELL_VIDEO_OUT_SUCCEEDED; case CELL_VIDEO_OUT_SECONDARY: - //*config = {}; // ??? + *config = {}; // ??? return CELL_VIDEO_OUT_SUCCEEDED; } @@ -448,7 +448,7 @@ int cellAudioOutGetState(u32 audioOut, u32 deviceIndex, vm::ptrstate = Emu.GetAudioManager().GetState(); state->encoder = Emu.GetAudioManager().GetInfo().mode.encoder; - //*state->reserved = {}; + *state->reserved = {}; state->downMixer = Emu.GetAudioManager().GetInfo().mode.downMixer; state->soundMode.type = Emu.GetAudioManager().GetInfo().mode.type; state->soundMode.channel = Emu.GetAudioManager().GetInfo().mode.channel; @@ -458,7 +458,7 @@ int cellAudioOutGetState(u32 audioOut, u32 deviceIndex, vm::ptrWarning("cellAudioOutGetConfiguration(audioOut=%d, config_addr=0x%x, option_addr=0x%x)", audioOut, config.addr(), option.addr()); - //if (option) *option = {}; + if (option) *option = {}; switch(audioOut) { case CELL_AUDIO_OUT_PRIMARY: config->channel = Emu.GetAudioManager().GetInfo().mode.channel; config->encoder = Emu.GetAudioManager().GetInfo().mode.encoder; - //*config->reserved = {}; + *config->reserved = {}; config->downMixer = Emu.GetAudioManager().GetInfo().mode.downMixer; return CELL_AUDIO_OUT_SUCCEEDED; case CELL_AUDIO_OUT_SECONDARY: - //*config = {}; + *config = {}; return CELL_AUDIO_OUT_SUCCEEDED; }