citra/src/common
Lioncash b3221c3180 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-09-22 21:18:56 +02:00
..
logging common/logging: Amend documentation comments 2018-09-21 16:26:21 +02:00
x64 Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
alignment.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
announce_multiplayer_room.h web_service: Change authentication system to use JWT (#4041) 2018-08-25 21:39:23 +02:00
assert.h reformat all files with clang-format 2018-06-29 16:56:12 +03:00
bit_field.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
bit_set.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
chunk_file.h reformat all files with clang-format 2018-06-29 16:56:12 +03:00
cityhash.cpp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
cityhash.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
CMakeLists.txt common: Implement a ring buffer 2018-09-08 22:09:26 +01:00
color.h common/color: Remove unnecessary const qualifiers on return types 2018-08-10 09:35:28 +08:00
common_funcs.h Merge pull request #4021 from FearlessTobi/port-709 2018-08-02 11:00:53 -06:00
common_paths.h file_util: Use an enum class for GetUserPath() 2018-09-22 21:18:56 +02:00
common_types.h Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
file_util.cpp file_util: Use an enum class for GetUserPath() 2018-09-22 21:18:56 +02:00
file_util.h file_util: Use an enum class for GetUserPath() 2018-09-22 21:18:56 +02:00
hash.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
linear_disk_cache.h Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
math_util.h math_util: Always initialize members of Rectangle 2018-08-10 10:11:25 +08:00
memory_util.cpp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
memory_util.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
microprofile.cpp Integrate the MicroProfile profiling library 2015-08-24 22:16:28 -03:00
microprofile.h Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
microprofileui.h Common: Remove section measurement from profiler (#1731) 2016-04-29 00:07:10 -07:00
misc.cpp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
param_package.cpp param_package: Take std::string by value in string-based Set() function 2018-08-01 17:21:11 +08:00
param_package.h param_package: Take std::string by value in string-based Set() function 2018-08-01 17:21:11 +08:00
quaternion.h Update the entire application to use the new clang format style 2018-03-09 10:54:43 -07:00
ring_buffer.h ring_buffer: Fix Push 2018-09-19 07:14:36 +01:00
scm_rev.cpp.in common: Parse Nightly/Canary build version 2018-06-20 09:30:26 +08:00
scm_rev.h common: Parse Nightly/Canary build version 2018-06-20 09:30:26 +08:00
scope_exit.h Update the entire application to use the new clang format style 2018-03-09 10:54:43 -07:00
string_util.cpp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
string_util.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
swap.h common/swap: Remove unnecessary const on return value of swap() 2018-07-30 21:30:15 +08:00
telemetry.cpp common: Add a generic interface for logging telemetry fields. 2017-05-24 19:16:21 -04:00
telemetry.h telemetry: Remove unnecessary Field constructor 2018-07-18 16:18:34 -04:00
thread_queue_list.h Update the entire application to use the new clang format style 2018-03-09 10:54:43 -07:00
thread.cpp Support mingw cross-compile 2016-12-05 19:09:16 +01:00
thread.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
threadsafe_queue.h remove polymorphism issue 2018-07-21 16:16:21 +02:00
timer.cpp Address review comments 2018-09-06 00:00:21 +02:00
timer.h common/timer: use std::chrono, avoid platform-dependent code 2018-07-22 15:40:07 +08:00
vector_math.h vector_math: Use variable template version of is_signed in Vec classes 2018-08-30 23:38:32 +02:00