summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureDecoder_Common.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2016-12-03 22:23:15 +0100
committerLéo Lam <leo@innovatetechnologi.es>2017-01-04 19:33:50 +0100
commitb65ad538bab6d56bda2a0e6dbea785c0cb291f43 (patch)
treea6b6c14f1c85fa7d7b83e26e7e6af4fd0340cca4 /Source/Core/VideoCommon/TextureDecoder_Common.cpp
parent9f164d7c337e3d6de13a08e239cd7922151cbb7c (diff)
IOS HLE: Refactor ExecuteCommand
ExecuteCommand was becoming pretty confusing with unused variables for some commands, confusing names (device ID != IOS file descriptor), duplicated checks, not keeping the indentation level low, and having tons of things into a single function. This commit gives more correct names to variables, deduplicates the device checking code, and splits ExecuteCommand so that it's easier to read. It's worth noting that some device checks have been forgotten in the past, which has caused a bug (which was recently fixed in 288e75f6).
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder_Common.cpp')
0 files changed, 0 insertions, 0 deletions