bunnei
69b46dd607
Merge pull request #5183 from lioncash/alias2
vfs: Use existing type aliases consistently
5 years ago
bunnei
c918c6480f
Merge pull request #5187 from Morph1984/revert-stdfs
fs: Revert all std::filesystem changes
5 years ago
bunnei
37194dd4e9
Merge pull request #5172 from lioncash/svc-wide
svc: Remove unnecessary casts
5 years ago
Morph
4de079b256
Revert "Merge pull request #5173 from lioncash/common-fs"
This reverts commit ce5fcb6bb2 , reversing
changes made to 6f41763061 .
5 years ago
Morph
8941cdb7d2
Revert "Merge pull request #5174 from ReinUsesLisp/fs-fix"
This reverts commit 5fe55b16a1 , reversing
changes made to e94dd7e2c4 .
5 years ago
Morph
dfee6321cd
Revert "Merge pull request #5176 from Morph1984/fix-createfile"
This reverts commit 6d6115475b , reversing
changes made to 5fe55b16a1 .
5 years ago
Morph
0195038c07
Revert "Merge pull request #5179 from ReinUsesLisp/fs-path"
This reverts commit 4e94d0d53a , reversing
changes made to 6d6115475b .
5 years ago
Morph
ac3ec5ed13
Revert "Merge pull request #5181 from Morph1984/5174-review"
This reverts commit cdb36aef9e , reversing
changes made to 5e9b77129f .
5 years ago
bunnei
cdb36aef9e
Merge pull request #5181 from Morph1984/5174-review
common/file_util: Address review comments of #5174
5 years ago
LC
5e9b77129f
Merge pull request #5184 from lat9nq/travis-linux-ccache-fix
travis/linux: Use correct ccache directory
5 years ago
bunnei
2d47a5fd41
Merge pull request #5123 from Morph1984/nim-IsLargeResourceAvailable
nim: Stub IsLargeResourceAvailable
5 years ago
lat9nq
3802474483
travis/linux: Use correct ccache directory
Changes the bound ccache directory to `/home/yuzu/.ccache` instead of
`/root/.ccache`, since the `/root` directory is not accessible by the
`yuzu` user in the guest container.
5 years ago
bunnei
d1a2b3fb18
Merge pull request #5162 from lioncash/copy-shader
gl_shader_decompiler: Elide unnecessary copies within DeclareConstantBuffers()
5 years ago
Lioncash
b1657b8c6b
vfs: Use existing type aliases consistently
Makes use of the VirtualDir and VirtualFile aliases across the board
instead of having a few isolated places that don't use it.
5 years ago
Morph
ec8548b414
common/file_util: Simplify the behavior of CreateFullPath
5 years ago
LC
4e94d0d53a
Merge pull request #5179 from ReinUsesLisp/fs-path
common/file_util: Let std::filesystem cast from UTF16 to std::string
5 years ago
ReinUsesLisp
bab9cae71f
common/file_util: Let std::filesystem cast from UTF16 to std::string
Fix invalid encoding paths when iterating over a directory on Windows.
5 years ago
Chloe
6d6115475b
Merge pull request #5176 from Morph1984/fix-createfile
vfs_real: Fix CreateFile for files without a file extension
5 years ago
Morph
b06d6e3646
vfs_real: Fix CreateFile for files without a file extension
5 years ago
Morph
5fe55b16a1
Merge pull request #5174 from ReinUsesLisp/fs-fix
common/file_util: Fix and deprecate CreateFullPath, add CreateDirs
5 years ago
ReinUsesLisp
5329834376
common/file_util: Fix and deprecate CreateFullPath, add CreateDirs
Fix CreateFullPath to have its intended previous behavior (whatever
that was), and deprecate it in favor of the new CreateDirs function.
Unlike CreateDir, CreateDirs is marked as [[nodiscard]] to avoid new
code ignoring its result value.
5 years ago
ReinUsesLisp
52f13f2339
common/file_util: Succeed on CreateDir when the directory exists
5 years ago
Rodrigo Locatti
e94dd7e2c4
Merge pull request #5142 from comex/xx-poll-events
network, sockets: Replace `POLL_IN`, `POLL_OUT`, etc. constants with an `enum class PollEvents`
5 years ago
Rodrigo Locatti
ce5fcb6bb2
Merge pull request #5173 from lioncash/common-fs
common/file_util: Make use of std::filesystem
5 years ago
Lioncash
20aad9e01a
file_util: Migrate remaining file handling functions over to std::filesystem
Converts creation and deletion functions over to std::filesystem,
simplifying our file-handling code.
Notably with this, CopyDir will now function on Windows.
5 years ago
bunnei
6f41763061
Merge pull request #5166 from lioncash/log-cast
core: Remove unnecessary enum casts in log calls
5 years ago
bunnei
05a703e15d
Merge pull request #5135 from Morph1984/applets-shadow
applets: Resolve variable shadowing
5 years ago
Lioncash
0e54aa17e6
file_util: Migrate Exists() and IsDirectory() over to std::filesystem
Greatly simplifies our file-handling code for these functions.
5 years ago
Lioncash
2de124e223
svc: Remove unnecessary casts
Simplifies and removes some casts. In all cases, these were generally
widening from a 32-bit unsigned type to a 64-bit unsigned type, so no
information would be lost from the conversion.
5 years ago
LC
aeb100cffe
Merge pull request #5171 from lat9nq/ci-unicorn-cleanup
ci: Remove `-DYUZU_USE_BUNDLED_UNICORN=ON`
5 years ago
lat9nq
f1d633cca7
ci: Remove `-DYUZU_USE_BUNDLED_UNICORN=ON`
Unicorn has been removed, yet CI still enables building with Unicorn.
This just cleans up a few leftovers by removing the variable from the
CMake parameters in CI.
5 years ago
bunnei
6057dc46e5
Merge pull request #5167 from lioncash/doc-memory
memory: Resolve -Wdocumentation warning for Write()
5 years ago
Lioncash
a44ff5ed31
memory: Resolve -Wdocumentation warning for Write()
Write() doesn't return anything, so the @returns tag shouldn't be
present.
5 years ago
bunnei
00c6254129
Merge pull request #5156 from comex/xx-raws
configure_motion_touch: Fix unescaped backslash in regex
5 years ago
Morph
51e6f8271a
Merge pull request #5165 from lioncash/copy-controller
controller: Avoid unnecessary copies in ConfigurationComplete()
5 years ago
Lioncash
6b7320add4
core: Remove unnecessary enum casts in log calls
Follows the video core PR. fmt doesn't require casts for enum classes
anymore, so we can remove quite a few casts.
5 years ago
Lioncash
215cfbb757
controller: Use std::move within ConvertToFrontendParameters()
Avoids unnecessary copies.
5 years ago
Lioncash
97dd67ad1c
controller: Avoid unnecessary copies in ConfigurationComplete()
Avoids unnecessary 1072 byte copies when querying info about
controllers.
5 years ago
Morph
607bb8d14b
Merge pull request #5020 from german77/AnalogfromButtonFix
Disable analog joystick from buttons by default
5 years ago
german
b57ba7bfb6
Disable analog joystick from buttons by default
5 years ago
Rodrigo Locatti
3415890dd5
Merge pull request #5164 from lioncash/contains
video_core: Make use of ordered container contains() where applicable
5 years ago
Rodrigo Locatti
4bd74ed4c7
Merge pull request #5163 from lioncash/concat
ast: Improve string concat readability in operator()
5 years ago
bunnei
f782aecf4d
Merge pull request #5153 from comex/xx-unix
CMakeLists,network: Create YUZU_UNIX macro to replace __unix__
5 years ago
Lioncash
09fa1d6a73
video_core: Make use of ordered container contains() where applicable
With C++20, we can use the more concise contains() member function
instead of comparing the result of the find() call with the end
iterator.
5 years ago
Lioncash
45c5b084fd
ast: Improve string concat readability in operator()
Provides an in-place format string to make it more pleasant to read.
5 years ago
Lioncash
edcbd47800
gl_shader_decompiler: Elide unnecessary copies within DeclareConstantBuffers()
Resolves a -Wrange-loop-analysis warning.
5 years ago
bunnei
5cd051eced
Merge pull request #5149 from comex/xx-map-interval
map_interval: Change field order to address uninitialized field warning
5 years ago
Rodrigo Locatti
12f3b13995
Merge pull request #5159 from lioncash/move-amend
shader_ir: std::move node within DeclareAmend()
5 years ago
Rodrigo Locatti
3ef35207c1
Merge pull request #5160 from lioncash/buffer-header
buffer_block: Remove unnecessary includes
5 years ago
Lioncash
5d2f18fbcd
buffer_block: Mark interface as nodiscard where applicable
Prevents logic errors from occurring from unused values.
5 years ago