Age | Commit message (Collapse) | Author |
|
Clang (rightfully) warns that we are checking for the existence of
pointer to something just allocated on the stack, which is always true.
Instead, check whether GetModuleFileNameW failed.
Co-authored-by: Mai M <mathew1800@gmail.com>
|
|
vulkan_device: Block AMDVLK's VK_KHR_push_descriptor
|
|
vulkan_device: Workaround extension bug
|
|
A bug occurs in yuzu when VK_KHR_workgroup_memory_explicit_layout is
available but 16-bit integers are not supported in the host driver.
Disable usage of the extension when this case arises.
|
|
Recent AMD Vulkan drivers (22.5.2 or 2.0.226 for specifically Vulkan)
have a broken VK_KHR_push_descriptor implementation that causes a crash
in yuzu. Disable it for the time being.
|
|
vk_rasterizer: fix stencil test when two faces are disabled
|
|
general: Use Common::U16StringFromBuffer in place of QString::toStdU16String
|
|
video_core: Support new VkResult
|
|
|
|
Use auto and a more descriptive variable name.
Secondly, fix some C++ misconceptions or constructing too many objects.
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
Co-authored-by: Lioncash <mathew1800@gmail.com>
|
|
See ffd3afcf2
|
|
See ffd3afcf2
|
|
Qt's QString::toStdU16String doesn't work when compiling against the
latest libstdc++, at least when using Clang. This function effectively
does the same thing as the aforementioned one.
|
|
sirit: Allow using system spirv-headers
|
|
general: Avoid ambiguous format_to compilation errors
|
|
Ensures that we're using the fmt version of format_to.
These are also the only three outliers. All of the other formatters we
have are properly qualified.
|
|
|
|
service: hid: Disable correctly motion input
|
|
OpenGL: interpret face flips according to GL NDC
|
|
maxwell_dma: fix bytes_per_pixel
|
|
video_core/macro: clear code on upload address assignment
|
|
|
|
|
|
Update translations (2022-05-09)
|
|
|
|
video_core/macro: Add option to dump macros
|
|
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
|
|
video_core/macro_jit_x64: warn on invalid parameter access
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hle/result: Add ResultRange overload in ResultVal
|
|
std::expected is included in C++23
|
|
Also marks the implicit conversion operator as constexpr instead of consteval as the constructor is not constant evaluated.
|
|
yuzu: config: Improve analog stick mapping
|
|
hle/result: Implement ResultRange
|
|
A ResultRange defines an inclusive range of error descriptions within an error module.
This can be used to check whether the description of a given ResultCode falls within the range.
The conversion function returns a ResultCode with its description set to description_start.
|
|
Revert "gc_adapter: fix libusb import on GCC11.2"
|
|
This reverts commit f72f4377f4cbbe45e5a43bb67c7245737ffa135f.
|
|
Just to silence an intermittent error.
GCC11.2 complains cannot find 'libusb.h' during a fresh build.
|
|
ui: retranslate the network tab
|
|
Looks like it was just missed when it was added, as currently the Network Tab only has one item
RetranslateUI is used more commonly throughout the project
|
|
dist: add AppStream metadata
|
|
ui: let system locale control format of Custom RTC
|
|
The Custom RTC widget is under the influence of the computers System Locale.
The format strings are not necessarily related. As a small example, setting the Windows Language to Dansk, and then trying to use yuzu in English the requested AM/PM indicator is simply not shown
The display format for the Custom RTC field needs to be removed from src/yuzu/configuration/configure_system.ui
modifying the display format needs to be moved to src/yuzu/configuration/configure_system.cpp
|
|
The AppStream file is mostly copied from the one already used by the
Flatpak yuzu build:
https://github.com/flathub/org.yuzu_emu.yuzu/blob/62fc225acfa0178ddf61be68ad9be60841077263/org.yuzu_emu.yuzu.metainfo.xml
As it already defines the application id as org.yuzu_emu.yuzu I renamed
the yuzu.desktop and yuzu.xml files so that they match.
I've also made some minor tweaks to it, like fixing the capitalization
of "yuzu", adding a few keys and sorting them as presented in the
documentation.
Lastly, I added PrefersNonDefaultGPU=true to the .desktop file so that
yuzu is launched with the dedicated graphics card on Linux.
|
|
service: hid: Stub IsFirmwareUpdateNeededForNotification
|