dolphin/Source/Core
Léo Lam 391644dbb5
IOS/FS: Add a scoped FD class to make it harder to leak FDs
This changes FileSystemProxy::Open to return a file descriptor wrapper
that will ensure the FD is closed when it goes out of scope.

By using such a wrapper we make it more difficult to forget to close
file descriptors.

This fixes a leak in ReadBootContent. I should have added such a class
from the beginning... In practice, I don't think this would have caused
any obvious issue because ReadBootContent is only called after an IOS
relaunch -- which clears all FDs -- and most titles do not get close
to the FD limit.
2021-04-01 21:34:58 +02:00
..
AudioCommon AudioCommon: Initialize before HW 2021-03-24 14:11:49 +01:00
Common Merge pull request #9571 from JosJuice/netplay-sync-more-settings 2021-03-27 01:38:33 +01:00
Core IOS/FS: Add a scoped FD class to make it harder to leak FDs 2021-04-01 21:34:58 +02:00
DiscIO Merge pull request #9545 from leoetlino/es-launch-timings 2021-03-27 01:47:28 +01:00
DolphinNoGUI DolphinNoGUI/PlatformX11: Work around X.h's None being undefined 2021-03-06 17:34:04 -08:00
DolphinQt GameList: Use titles from the Title Database for shortcut creation 2021-03-27 19:02:27 +01:00
InputCommon Merge pull request #9558 from iwubcode/dsu-multi-server-avoid-blocking 2021-03-16 10:12:32 +01:00
MacUpdater
UICommon [Updater] Check whether we've already had an update triggered 2021-03-11 02:48:46 -08:00
UpdaterCommon msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
VideoBackends Convert BPMemory to BitField and enum class 2021-03-06 19:27:19 -08:00
VideoCommon Refactor CP array constants slightly 2021-03-26 17:27:21 -07:00
WinUpdater msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
CMakeLists.txt
DolphinLib.ARM64.props msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
DolphinLib.props DiscIO: Move some code from DiscExtractor to new file DiscUtils 2021-03-09 20:34:24 +01:00
DolphinLib.vcxproj JitCommon: Signed 32-bit division magic constants 2021-03-07 18:27:36 +01:00
DolphinLib.vcxproj.user msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
DolphinLib.x64.props msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00