diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2017-01-11 14:47:02 +0100 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2017-01-11 17:52:28 +0100 |
| commit | 36c4dda4ede7e9a79350046d654af1afa758aad0 (patch) | |
| tree | 6bf8fca5d4e6c272d9902684ac9b802bd08609f7 /Source/Core/VideoCommon/TextureDecoder_x64.cpp | |
| parent | f82d6c6fe1095a81a59d6b8afac7d566904e735d (diff) | |
IOS HLE: Simplify Reset() and SetDefaultContentFile()
Reset():
We only need to close IOS devices which were opened, and we can do that
simply by iterating over s_fdmap and closing any opened device.
With this change, s_device_map can be cleared at once.
SetDefaultContentFile():
We can just use s_es_handles which is guaranteed to contain three valid
ES devices. Gets rid of a downcast.
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder_x64.cpp')
0 files changed, 0 insertions, 0 deletions
