yuzu-mainline/src
Lioncash 11e9bee91d common/file_util: Make GetCurrentDir() return a std::optional
nullptr was being returned in the error case, which, at a glance may
seem perfectly OK... until you realize that std::string has the
invariant that it may not be constructed from a null pointer. This
means that if this error case was ever hit, then the application would
most likely crash from a thrown exception in std::string's constructor.

Instead, we can change the function to return an optional value,
indicating if a failure occurred.
2019-05-23 14:24:13 -04:00
..
audio_core core/core_timing: Make callback parameters consistent 2019-03-24 18:12:17 -04:00
common common/file_util: Make GetCurrentDir() return a std::optional 2019-05-23 14:24:13 -04:00
core Merge pull request #2410 from lioncash/affinity 2019-05-19 13:59:52 -04:00
input_common general: Use deducation guides for std::lock_guard and std::unique_lock 2019-04-01 12:53:47 -04:00
tests kernel: Handle page table switching within MakeCurrentProcess() 2019-04-07 01:12:54 -04:00
video_core shader/decode/memory: Remove left in debug pragma 2019-05-22 17:08:50 -04:00
web_service general: Use deducation guides for std::lock_guard and std::unique_lock 2019-04-01 12:53:47 -04:00
yuzu Merge pull request #2455 from lioncash/config 2019-05-20 20:46:05 -04:00
yuzu_cmd common/file_util: Make ReadFileToString and WriteStringToFile consistent 2019-05-23 13:52:43 -04:00
.clang-format Remove special rules for Windows.h and library includes 2016-09-21 00:16:33 -07:00
CMakeLists.txt Merge pull request #2460 from lioncash/volatile 2019-05-14 06:34:53 -04:00