summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureDecoder_Common.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2016-12-03 23:55:56 +0100
committerLéo Lam <leo@innovatetechnologi.es>2017-01-07 23:31:04 +0100
commit3c50c61606f97f2c6af22079343c94ea31eece80 (patch)
treeba500535751a43a9baff86493e5c83c83713d7ce /Source/Core/VideoCommon/TextureDecoder_Common.cpp
parent27e63632146a2252b56fd0bdc853dfe76bffecd2 (diff)
IOS HLE: Remove copy and pasted Open()/Close()
This removes Open() and Close() functions from devices whenever they did nothing more than the base class (setting m_Active, returning a default reply). Also, since IOS close commands practically always return FS_SUCCESS, writing the return code is moved to HandleCommand() in WII_IPC_HLE, which has two benefits: it's not duplicated all over the place (so people will not forget it) and it gets rid of having to check the force parameter, since HandleCommand() is always called for real IOS commands, so command_address is guaranteed to be valid.
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder_Common.cpp')
0 files changed, 0 insertions, 0 deletions