yuzu/src
Vitor K bd0c56c6e7 common: Port some changes from dolphin (#5127)
* IOFile: Make the move constructor and move assignment operator noexcept

Certain parts of the standard library try to determine whether or not a
transfer operation should either be a copy or a move. The prevalent notion
of move constructors/assignment operators is that they should not throw,
they simply move an already existing resource somewhere else.

This is typically done with 'std::move_if_noexcept'. Like the name says,
if a type's move constructor is noexcept, then the functions retrieves an
r-value reference (for move semantics), or an l-value (for copy semantics)
if it is not noexcept.

As IOFile deletes the copy constructor and copy assignment operators,
using IOFile with certain parts of the standard library can fail in
unexcepted ways (especially when used with various container
implementations). This prevents that.

* fix various instances of -1 being assigned to unsigned types

* do not assign in conditional statements

* File/IOFile: Check _tfopen_s properly

* common/file_util.cpp: address review comments

Co-authored-by: Lioncash <mathew1800@gmail.com>
Co-authored-by: Shawn Hoffman <godisgovernment@gmail.com>
Co-authored-by: Sepalani <sepalani@hotmail.fr>
2020-04-01 02:58:42 +02:00
..
audio_core cubeb_sink: Don't discard other channels when performing downmixing 2020-03-08 03:16:06 -04:00
common common: Port some changes from dolphin (#5127) 2020-04-01 02:58:42 +02:00
core Merge pull request #3524 from FearlessTobi/port-5106 2020-03-24 16:50:58 -04:00
input_common Merge pull request #3525 from FearlessTobi/linux-compile-error 2020-03-21 16:04:45 -04:00
tests core/memory: Migrate over memory mapping functions to the new Memory class 2019-11-26 21:53:34 -05:00
video_core Merge pull request #3565 from ReinUsesLisp/image-format 2020-03-27 14:08:54 -04:00
web_service httplib compatibility 2020-02-18 18:04:33 -08:00
yuzu Merge pull request #3453 from FearlessTobi/remove-pause-lock 2020-03-26 16:42:57 -04:00
yuzu_cmd bcat: Disable Boxcat backend by default 2020-03-17 15:24:26 +01:00
yuzu_tester Create an "Advanced" tab in the graphics configuration tab and add anisotropic filtering levels. 2020-02-27 21:34:00 -05:00
.clang-format Remove special rules for Windows.h and library includes 2016-09-21 00:16:33 -07:00
CMakeLists.txt CMake: Create thin archives on Linux 2020-01-19 12:52:09 +01:00