suyu/src/core/hle/service
Lioncash d66b43dadf file_util: Use an enum class for GetUserPath()
Instead of using an unsigned int as a parameter and expecting a user to
always pass in the correct values, we can just convert the enum into an
enum class and use that type as the parameter type instead, which makes
the interface more type safe.

We also get rid of the bookkeeping "NUM_" element in the enum by just
using an unordered map. This function is generally low-frequency in
terms of calls (and I'd hope so, considering otherwise would mean we're
slamming the disk with IO all the time) so I'd consider this acceptable
in this case.
2018-07-21 16:21:19 -04:00
..
acc HLE/ACC: Stub IManagerForApplication::GetAccountId to return an error. 2018-07-20 11:02:25 -05:00
am hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
aoc Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
apm apm: Improve stub for GetPerformanceConfiguration. 2018-07-20 15:20:01 -04:00
audio audren_u: Use a std::array instead of std::string for holding the audio interface/device name 2018-07-19 23:15:27 -04:00
bcat hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
fatal hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
filesystem file_util: Use an enum class for GetUserPath() 2018-07-21 16:21:19 -04:00
friend hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
hid hid: Use a ranged-for loops in UpdatePadCallback 2018-07-19 15:11:08 -04:00
lm Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
mm Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
nfp hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
nifm hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
ns file_util: Use an enum class for GetUserPath() 2018-07-21 16:21:19 -04:00
nvdrv Merge pull request #717 from lioncash/explicit 2018-07-19 16:08:07 -07:00
nvflinger nvflinger: Emplace Display instances directly 2018-07-19 11:50:12 -04:00
pctl hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
prepo service/prepo: Add missing header guard 2018-07-18 19:43:28 -04:00
set hle_ipc: Introduce generic WriteBuffer overload for multiple container types 2018-07-19 17:05:12 -04:00
sm hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
sockets Services/BSD: Corrected the return for StartMonitoring according to SwIPC. 2018-07-14 12:34:07 -05:00
spl hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
ssl Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
time hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
vi hle/service: Make constructors explicit where applicable 2018-07-19 12:25:02 -04:00
service.cpp Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
service.h core: Relocate g_service_manager to the System class 2018-04-20 19:44:32 -04:00