| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
kernel: svc: Add OutputDebugString32, CreateCodeMemory32, ControlCodeMemory32
|
| |
| |
| |
| |
| | |
Very straightforward, they are just wrappers to the 64-bit version of
the SVC.
|
|\ \
| | |
| | | |
service/mnpp: Stub mnpp_app
|
| | |
| | |
| | |
| | | |
Used in Super Nintendo Entertainment System™ - Nintendo Switch Online
|
|\ \ \
| | | |
| | | | |
file_sys: Dump patched exefs rather than base
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
audio_core: Update current process revision
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Update CURRENT_PROCESS_REVISION from REV9 to REVA.
Used by Nintendo Entertainment System - Nintendo Switch Online 6.0.0 and
Super Nintendo Entertainment System - Nintendo Switch Online 3.0.0.
|
|\ \ \ \ \
| |_|_|_|/
|/| | | | |
common: fs_util: Add buffer to string view utility functions
|
| | | | |
| | | | |
| | | | |
| | | | | |
These functions allow to construct a string view from an input buffer, avoiding the copy done by the non string view counterparts. However, callers must be cognizant of the viewed buffer's lifetime to avoid a use-after-free.
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
svc: Set unique names for function tables
|
| | |_|/
| |/| | |
|
|\ \ \ \
| |_|/ /
|/| | | |
debugger: console: Set console output codepage to UTF-8
|
|/ / /
| | |
| | |
| | | |
This allows the console to display multi-byte encoded characters.
|
|\ \ \
| | | |
| | | | |
hid: Stub IsUsbFullKeyControllerEnabled
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Used by Splatoon 2, when opening the inventory from a LAN battle lobby.
Reference: https://switchbrew.org/wiki/HID_services
|
|\ \ \
| |_|/
|/| | |
common: Revise and fix the UUID implementation
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
The string constructor of UUID states:
Should the input string not meet the above requirements, an assert will be triggered and an invalid UUID is set instead.
|
| | |
| | |
| | |
| | | |
This completes the removal of the old UUID implementation.
|
| | | |
|
| | |
| | |
| | |
| | | |
This copies the internal bytes of the UUID into a u128 for backwards compatibility. This should not be used.
|
| | |
| | |
| | |
| | | |
This warning is triggered by GCC when copying into non-trivially default constructible types, as it uses the more restrictive std::is_trivial (which includes std::is_trivially_default_constructible) to determine whether memcpy is safe instead of std::is_trivially_copyable.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
This is a fixed and revised implementation of UUID that uses an array of bytes as its internal representation of a UUID instead of a u128 (which was an array of 2 u64s).
In addition to this, the generation of RFC 4122 Version 4 compliant UUIDs is also implemented.
|
|\ \ \
| | | |
| | | | |
yuzu: New hotkeys and mute audio on background
|
| | | | |
|
| | |/
| |/| |
|
|\ \ \
| | | |
| | | | |
yuzu: Add auto center on right click
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
hle: kernel: KCodeMemory: Correct m_page_group number of pages.
|
| | | |
|
|/ /
| |
| | |
Credits to @xerpi for finding this issue and pointing it out on #7519.
|
|\ \
| | |
| | | |
service: pm: Implement AtmosphereGetProcessInfo
|
| | | |
|
|\ \ \
| | | |
| | | | |
yuzu-cmd: config: Support motion inputs
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Motion inputs were not being read in by the config when yuzu-cmd boots
up. This adds support for those.
While we're at it, make a reference to the current player controls to
improve readability. Also updates the if statements in the Analog and
Button loops with curly braces to keep the style consistent.
|
|\ \ \ \
| |_|_|/
|/| | | |
main: Always remove the frameless window flag when restoring UI state
|
| | | |
| | | |
| | | |
| | | |
| | | | |
For unknown reasons, this flag may persist after the application has been closed.
Removing this flag when restoring the UI state ensures that a frameless window will not be shown on startup.
|
|\ \ \ \
| | | | |
| | | | | |
yuzu: config: Vibrate the controller while configuring vibration strength
|
| | | | | |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
yuzu: ui: Improve battery symbols
|
| |/ / / |
|
|\ \ \ \
| |_|_|/
|/| | | |
input_common: Remove unused core include
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
input_common: Use attributes for analog range modifiers
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Vulkan: Fix Scheduler Chunks when their FuncType is 0.
|
| |/ / / |
|
|\ \ \ \
| |_|_|/
|/| | | |
hle: kernel: KPageTable: Migrate locks to KScopedLightLock.
|
| | | |
| | | |
| | | |
| | | | |
- More accurately reflects real kernel behavior by using guest locks.
|
|\ \ \ \
| | | | |
| | | | | |
common_types: Remove NonCopyable struct
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Now that we're moved over to the YUZU_ defines, we can get rid of this
struct.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This allows for better compiler errors, where the compiler will state a
copy or move couldn't occur due to the relevant function being deleted.
Previously a compiler would warn about the relevant function not being
accessible (which, while true, isn't as informative as it could be).
|
|\ \ \ \ \
| | | | | |
| | | | | | |
yuzu: Disable auto repeat on hotkeys again
|
| | |_|/ /
| |/| | | |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
shaders: Implement U32x2 atomic fallbacks when device does not support int64
|
| | | | | |
|
| | | | | |
|
| |/ / / |
|
|\ \ \ \
| |_|_|/
|/| | | |
input_common: Add home and hard touch press buttons to UDP controllers
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
configure_filesystem: Add missing changeEvent() override
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This allows the dialog to be retranslated during runtime if the language
is changed.
|
| | |/
| |/|
| | |
| | | |
All other dialog types we have use CamelCase naming.
|
|\ \ \
| |/ /
|/| | |
hotkeys: Don't translate hotkey buttons
|
| | | |
|
|\ \ \
| | | |
| | | | |
common: wall_clock: Utilize constants for ms, us, and ns ratios
|
| | | |
| | | |
| | | |
| | | | |
In addition to requiring nanosecond precision, using the native clock requires that the hardware TSC has a precision greater than the emulated CPU and its clock counter.
|
| | |/
| |/| |
|
|\ \ \
| | | |
| | | | |
configure_motion_touch: Use functor versions of invokeMethod
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Same behavior, but ensures that the functions we're calling exist, since
they can be checked at compile-time.
|
|\ \ \ \
| |/ / /
|/| | | |
configure_input_player: Avoid unnecessary ParamPackage copies
|
| | | | |
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
Avoids churning allocations.
|
|\ \ \
| | | |
| | | | |
yuzu/game_list: Use non-deprecated version of QString's split() function
|
| | | |
| | | |
| | | |
| | | | |
The previous overload of split() was deprecated in 5.14.
|
|\ \ \ \
| |/ / /
|/| | | |
Update dynarmic.
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
common/file: Remove [[nodiscard]] from Open()
|
| |/ /
| | |
| | |
| | |
| | | |
Since this has a void return value, there's nothing that can actually be
used.
|
|\ \ \
| | | |
| | | | |
video_core/shader_cache: Take std::span in RemoveShadersFromStorage()
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | | |
Same behavior, but without the need to move into the function to avoid
an allocation.
|
|\ \ \
| | | |
| | | | |
Update translations (2022-02-01)
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
svc: Add 32 bit SynchronizePreemptionState
|
| |/ /
| | |
| | |
| | | |
Used by Espgaluda II
|
|\ \ \
| |/ /
|/| | |
Inline2Memory: Flush before writing buffer.
|
| | | |
|
| | | |
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
wall_clock: Use standard wall clock if rtsc frequency is too low
|
| |/ |
|
|\ \
| | |
| | | |
spirv_atomic: Define U32x2 storage buffers for 64-bit storage atomics
|
|/ /
| |
| |
| |
| |
| | |
Some drivers do not support 64-bit atomics, and fallback to atomically modifying U32x2 vectors. This change ensures that U32x2 storage vectors are defined in the spir-v shader when 64-bit atomics are used.
Fixes a hang on some devices, notably Intel GPUs, when booting Pokemon Legends Arceus
|
|\ \
| | |
| | | |
input_common: Add DS5 to HD rumble list
|
| | | |
|
|\ \ \
| | | |
| | | | |
hle: kernel: KScheduler: Fix deadlock with core waiting for a thread lock that has migrated.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Previously, it was possible for a thread migration to occur from core A to core B.
- Next, core B waits on a guest lock that must be released by a thread queued for core A.
- Meanwhile, core A is still waiting on the core B's current thread lock - resulting in a deadlock.
- Fix this by try-locking the thread lock.
- Fixes softlocks in FF8 and Pokemon Legends Arceus.
|
|\ \ \ \
| | | | |
| | | | | |
buffer_cache: Reduce stream buffer allocations when expanding from the left
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
The existing stream buffer optimization accounts for size increases at the end of the allocated buffer.
This adds the same optimization, increasing the size from the beginning of the buffer as well to reduce buffer allocations when expanding the same buffer from the left.
|
|\ \ \ \
| | | | |
| | | | | |
video_minimum_maximum: Implement src operand selectors
|
| |/ / /
| | | |
| | | |
| | | | |
Used by Pokemon Legends: Arceus
|
|\ \ \ \
| | | | |
| | | | | |
emit_spirv: Add Xfb execution mode when transform feedback is used
|
|/ / / /
| | | |
| | | |
| | | | |
Fixes Transform Feedback on Vulkan AMD drivers.
|
|\ \ \ \
| |/ / /
|/| | | |
input_common: Add option to configure gyro threshold
|
| | |/
| |/| |
|
|\ \ \
| | | |
| | | | |
common/xbyak_api: Make BuildRegSet() constexpr
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This allows us to eliminate any static constructors that would have been
emitted due to the function not being constexpr.
|
|\ \ \ \
| |/ / /
|/| | | |
Kernel Memory Updates (Part 4): Improve Un/MapPages, and more.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
video_core/macro: Move impl classes into their cpp files
|
| | | |
| | | |
| | | |
| | | | |
Necessary since memcpy is used.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Keeps the implementation hidden from the intended API and lessens the
header dependencies on the interpreter's header.
|
| | | |
| | | |
| | | |
| | | | |
Same behavior, but less code and header dependencies.
|
| | | |
| | | |
| | | |
| | | | |
Simplifies the function interface.
|
| | | |
| | | |
| | | |
| | | | |
Reduces the size of the impl class a tiny bit.
|
| | | |
| | | |
| | | |
| | | | |
This doesn't depend on class state and can just be a regular function.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Keeps the implementation internalized and also reduces API-facing header
dependencies.
Notably, this fully internalizes all of the xbyak externals.
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
Given it's intended to be an internal implementation class, we can move
it into the cpp file to ensure that.
This also lets us move some header dependencies into the cpp file as
well.
|
|\ \ \
| | | |
| | | | |
yuzu: Add setting to disable controller navigation
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
Update AMD FidelityFX Super Resolution™ to 1.0.2
|
| |/ /
| | |
| | |
| | | |
Updates yuzu's FSR implementation to 1.0.2
|
|\ \ \
| | | |
| | | | |
shader_recompiler: Remove unnecessary [[nodiscard]] specifier
|
| |/ /
| | |
| | |
| | |
| | | |
Since ConvertLegacyToGeneric has a void return value, there's nothing
that is actually returned by the function.
|
|\ \ \
| | | |
| | | | |
gpu: Remove obsoleted CDmaPusher() accessors
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Over time a few forward declarations became unnecessary, so we can
remove these to tidy up the header a little bit.
|
| |/ /
| | |
| | |
| | |
| | | |
These were obsoleted in 2c47f8aa1886522898b5b3a73185b5662be3e9f3 but
were accidentally overlooked.
|
|\ \ \
| | | |
| | | | |
vk_fsr: Replace comma operator with semicolon
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Generally, we should be ending statements with a semicolon not a comma
Resolves a clang diagnostic.
|
|\ \ \
| | | |
| | | | |
input_common/main: Pass MappingData by const reference in callbacks
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The default constructor of a UUID instance doesn't initialize the
underlying array.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Makes the checks a little more intuitive to read and doesn't construct
an extra UUID instance
|
| | | |
| | | |
| | | |
| | | | |
Ensures that the class always sees the types it needs.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Top-level const on a return by value can inhibit move semantics, and is
unnecessary.
|
| | | | |
|
| |/ /
| | |
| | |
| | | |
Avoids creating unnecessary 168 byte copies per callback invocation.
|
|\ \ \
| | | |
| | | | |
input_common/udp_client: Replace deprecated from_string()/to_ulong() functions
|
| | | |
| | | |
| | | |
| | | | |
These are deprecated and make_address variants and to_uint() should be used instead.
|
| |/ /
| | |
| | |
| | |
| | | |
We can also remove some redundant const on the return values, since
these don't do anything
|
|\ \ \
| | | |
| | | | |
kernel/k_affinity_mask: Remove duplicated assert
|
| |/ /
| | |
| | |
| | | |
This is already checked inside GetCoreBit()
|
|\ \ \
| | | |
| | | | |
hle: kernel: KThread: Improve Increment/Decrement RunningThreadCount.
|
| | | |
| | | |
| | | |
| | | | |
- Previously implementation was incorrect, and would occasionally underflow.
|
|\ \ \ \
| |_|/ /
|/| | | |
yuzu: Add modifiers for keyboard
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
Improve FFmpeg cmake file
|
| | |/
| |/|
| | |
| | | |
* Fix compilation if CUDA_INCLUDE_DIRS is empty/contains multiple paths
* Pass CMAKE_{C,CXX}_COMPILER_LAUNCHER to ffmpeg compiler
|
|\ \ \
| |/ /
|/| | |
yuzu: Add volume hotkeys
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
input_common: Report battery for UDP controllers
|
| |/ / |
|
|\ \ \
| |_|/
|/| | |
Various fixes to HLE service thread management
|
| | |
| | |
| | |
| | |
| | | |
- But do not enter the priority queue, as otherwise they will be scheduled.
- Allows dummy threads to use guest synchronization primitives.
|
| | |
| | |
| | |
| | | |
- These are already tracked by kernel's registered_objects member.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
- This does not appear to be necessary anymore.
|
| | |
| | |
| | |
| | |
| | | |
- Considering is_thread_waiting is never set, so we can remove IsThreadWaiting.
- KThread::EndWait will take the scheduler lock, so we can remove the redundant lock.
|
| | |
| | |
| | |
| | | |
- These are only used by host threads for locking and will never have a wait_queue.
|
| | |
| | |
| | |
| | | |
- These are only used by host threads for locking.
|
| | |
| | |
| | |
| | | |
- This will be used to ensure that we do not schedule dummy threads.
|
|\ \ \
| | | |
| | | | |
service: apm: Stub ISession SetCpuOverclockEnabled
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since we don't currently support CPU overclocking within the emulated system, this can be stubbed for now, like APM IsCpuOverclockEnabled.
- Used by Gravity Rider Zero
|
|\ \ \ \
| | | | |
| | | | | |
service: Update function tables
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|/ / / /
| | | |
| | | |
| | | | |
Switchbrew has the function names now.
|
|\ \ \ \
| | | | |
| | | | | |
Use Default Colorful theme by default outside of Windows
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
On OSes with system-wide theming this allows yuzu to follow system style, regardless of its exact coloration, working well with both light and dark system themes. Dark /Colorful, on the other hand, forces dark theme regardless of user preferences set in system settings, making for a poor default.
Use Colorful variation to keep in line with icon style of patron-voted Dark Colorful.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
shader_recompiler: fix potential OOB access
|
| | | | |
| | | | |
| | | | |
| | | | | |
Found by static analysis with PVS-Studio. Original check wasn't actually checking for OOB and would segfault in case of it.
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
common: bit_util: Add IsPow2 helper function
|
| | | | |
| | | | |
| | | | |
| | | | | |
Makes use of std::has_single_bit() to check whether the value is a power of 2.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
core/hid: Increment shake force
|
| | | | | |
| | | | | |
| | | | | | |
With the current settings 2p mode in pokemon let's go wasn't showing up. By making the shake more violent we can make it appear without any effort using the keyboard
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
video_core: unbreak build with FFmpeg 5.0
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
src/video_core/command_classes/codecs/codec.cpp:177:16: error: assigning to 'AVCodec *' from 'const AVCodec *' discards qualifiers
av_codec = avcodec_find_decoder(codec);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|\ \ \ \ \
| | | | | |
| | | | | | |
service/hid: Initialize applet_resource on SetNpadAnalogStickUseCenterClamp
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
vulkan_device: Fix sType for VkPhysicalDeviceShaderAtomicInt64Features
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Kernel Memory Updates (Part 3): Clear KMemoryManager pages & other fixes
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- Heap pages should be zero'd.
- Also explicitly passed along heap allocation option.
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
Xbox controller default name nit pick
|
| | |_|_|_|/
| |/| | | |
| | | | | | |
Discord User moon lacer pointed us that official name is 'Xbox' not 'XBox'
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
input_common: Reintroduce motion from mouse and use button names
|
| |/ / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Accurately implement thread exit
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- This is used to terminate a thread asynchronously after it has been exited.
- This fixes a crash that can occur in Pokemon Sword/Shield because a thread is incorrectly closed on svcExitThread, then, the thread is destroyed on svcCloseHandle while it is still scheduled.
- Instead, we now wait for the thread to no longer be scheduled on all cores before destroying it from KWorkerTaskManager, which is accurate to HOS behavior.
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- This makes our implementations of these more closely match HOS.
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- These primitives are used to dispatch asynchronous kernel tasks from KThread and KProcess.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- When the emulator crashes to desktop below, we don't even get this captured in a log, making such issues harder to debug.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
astc_decoder: Combine FastReplicate functions to work around new NV driver bug
|
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The new Nvidia drivers have a bug where the FastReplicateTo6 function produces a lookup into the REPLICATE_TO_8 table rather than the REPLICATE_TO_6 table.
This seems to be an optimization gone wrong. Combining the logic of the FastReplicate functions seems to address the bug.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
kernel: remove no-op code
|
| | |_|_|_|_|/
| |/| | | | |
| | | | | | | |
Found by static analysis with PVS-Studio. Nobody seems to really know what was it doing there.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
input_common: nitpick about SetHatButton usage
|
| | |/ / / / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
input_common: fix copy-paste error
|
| |/ / / / / /
| | | | | | |
| | | | | | | |
Found by static analysis with PVS-Studio.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
hid: fix std::transform call
|
| |/ / / / / /
| | | | | | |
| | | | | | | |
Found by static analysis with PVS-Studio.
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
hid: Correct assignment source for rotations
|
| |/ / / / /
| | | | | |
| | | | | | |
Found by static analysis with PVS-Studio
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Change default theme to Dark colorful
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Eliminates the usage of a magic number to indicate the default index of the themes array,
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Change default name for playstation controllers
|
| | |/ / /
| |/| | |
| | | | |
| | | | | |
Minor nitpick
Code is from narr
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
hle: kernel: Fix service_threads access to be thread safe V2.
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
- PR #7699 attempted to fix CreateServiceThread and ReleaseServiceThread to be thread safe, but inadvertently introduced a possible dead-lock.
- With this PR, we use a worker thread to manage the service thread list, allowing it only to be accessed by a single thread, and guaranteeing threads will not destroy themselves.
- Fixes a rare crash in Pokemon Sword/Shield, I've now run this game for ~12 hours non-stop and am quite confident this is a good solution for this issue.
|
|\ \ \ \
| |/ / /
|/| | | |
service/hid: Decrease motion update rate
|
| |/ /
| | |
| | | |
Motion stops working in Mario Tennis in swing mode if the update rate is too fast even when HW it updates at the same speed. 10ms it's the minimum period that the game needs to start working again.
|
|\ \ \
| | | |
| | | | |
hle: kernel: Fix service_threads access to be thread safe.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- CreateServiceThread and ReleaseServiceThread can be accessed by different threads, uses a lock to make this thread safe.
- Fixes a rare crash in Pokemon Sword/Shield that can occur when a new service thread is being created while an old one is being destroyed.
|
|\ \ \ \
| |/ / /
|/| | | |
Kernel Memory Updates (Part 2): SetProcessMemoryPermission, update permissions, and other minor changes.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
yuzu: main: Increase the open file limit on Windows to 8192
|
| | |_|/
| |/| |
| | | |
| | | | |
This is a temporary solution for now to accommodate for mods containing more than 4096 files.
|
|\ \ \ \
| |_|_|/
|/| | | |
core/hid: Reduce gyro threshold even more
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
cmake: make tests optional
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Kernel Memory Updates (Part 1): SetMemoryAttribute, and other minor changes.
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
yuzu: Add controller hotkeys
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
logging: adapt to changes in fmt 8.1
|
| | | | |
| | | | |
| | | | |
| | | | | |
... to common/logging/formatter.h
|
| | | | |
| | | | |
| | | | |
| | | | | |
... requirements for fmt stays at ^8.0.1
|
| | | | | |
|
| | |/ /
| |/| | |
|
|\ \ \ \
| |_|_|/
|/| | | |
input_common: Handle errors on TAS scripts
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
input_common: Fix UDP controller mappings
|
| | | | |
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
input_common: Allow to only have acceleration motion data
|
| | | |
|
| |/ |
|
|\ \
| | |
| | | |
video_core/memory_manager: Fixes for sparse memory management
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
externals/dynarmic: update to the latest revision
|
|/ / /
| | |
| | |
| | | |
... to resolve compilation errors with fmt 8.1
|
|\ \ \
| |_|/
|/| | |
configure_per_game: Initialize tabs after loading custom configuration
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Changes tab initialization to happen after the configuration is loaded,
which means that it no longer happens as member initializers in the
ConfigurePerGame constructor. Removes the cluster of
??_tab->SetConfiguration's that I added earlier to get around this issue
initially.
Fixes a regression in #6774
|
|\ \ \
| | | |
| | | | |
glsl: Remove unreachable return
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
Update translations (2022-01-05)
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Add support for linking against system Opus
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
core:hle:service:nvflinger Implement few type in bufferqueue query method
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
gpu: Add shut down method to synchronize threads before destruction
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit e7733544779f2706d108682dd027d44e7fa5ff4b, reversing
changes made to abbbdc2bc027ed7af236625ae8427a46df63f7e7.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
ShaderDecompiler: Add a debug option to dump the game's shaders.
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
gpu: Use std::stop_token in WaitFence for VSync thread
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
Fixes a hang that may occur when stopping emulation and the VSync thread is blocked on the syncpoint condition variable.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
core/hid: Add fallback to fullkey controllers
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
yuzu: Fix UI elements not updating correctly
|
| |/ / / / / |
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
controller_applet: Only populate supported controllers
|
| |/ / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
core: hle: kernel: Implement thread pinning.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- We largely had the mechanics in place for thread pinning, this change hooks these up.
- Validated with tests https://github.com/Atmosphere-NX/Atmosphere/blob/master/tests/TestSvc/source/test_thread_pinning.cpp.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
vk_texture_cache: Use 3D scale helpers for MSAA texture scaling on Intel Windows drivers
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes a crash when scaling MSAA textures in titles such as Sonic Colors Ultimate.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
shaders: Add fixes for NVIDIA drivers 495+
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
some drivers have a bug bitwise converting floating point cbuf values to uint variables. This adds a workaround for these drivers to make all cbufs uint and convert to floating point as needed.
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Works around an nvidia driver bug, where casting the integer attributes to float and back to an integer always returned 0.
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
texture_cache/util: Fix s32 overflow when resolving overlaps
|
| | |_|_|_|_|/
| |/| | | | | |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
externals: Update dynarmic to 28714ee7
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Reduces compilation times on MSVC.
|
|\ \ \ \ \ \ \
| |_|_|_|/ / /
|/| | | | | | |
core/hid: Fix controller type validation
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
core: hle: kernel: Updated implementation of svcSetHeapSize.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- Updates our svcSetHeapSize with latest HOS, furthermore allowing heap size to properly be extended/shrunk.
- Validated with tests https://github.com/Atmosphere-NX/Atmosphere/blob/master/tests/TestSvc/source/test_set_heap_size.cpp.
|
|\ \ \ \ \ \ \
| |_|_|_|_|/ /
|/| | | | | | |
Increase boost requirement to 1.78.0
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Liu's finding, this allows to build yuzu on VS 2022.
Ignore at will.
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
vk_texture_cache: Fix invalidated pointer access
|
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | | |
The vulkan ImageView held a reference to its source image for rescale status checking. This pointer is sometimes invalidated when the texture cache slot_images container is resized.
To avoid an invalid pointer dereference, the ImageView now holds a reference to the container itself.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
core: hle: kernel: Implement SetMemoryPermission.
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | | |
- Not seen in any games yet, but validated with kernel tests.
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
emit_glasm_context_get_set: Fix GetAttribute return value type.
|
| | |_|/ /
| |/| | |
| | | | |
| | | | | |
GetAttribute expects an F32 result type at the IR level, this fixes the return value of attributes which were not returning an F32
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
core: hle: kernel: KThread: X18 should be a cryptographically random number.
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
- This was added with firmware 11.0.0 (https://switchbrew.org/wiki/11.0.0).
- X18 is OR'd by kernel with 1, to make sure it is odd.
|
|\ \ \ \
| |_|/ /
|/| | | |
blit_image: Remove unused function
|
|/ / / |
|
|\ \ \
| |/ /
|/| | |
main: Fix wake lock (prevent sleep) in Flatpak
|
| | | |
|
| | |
| | |
| | |
| | | |
... by using the XDP system
|
|\ \ \
| | | |
| | | | |
hle: kernel: svc: GetInfo: Fix error checking with IdleTickCount.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- Enforce tha the supplied handle is invalid, not valid.
- This gets Witcher 3 booting.
|
|\ \ \ \
| |_|/ /
|/| | | |
Convert all legacy attributes to generic attributes
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \ |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Vulkan: Fix Primitive Restart and implement Logical Operations
|
| | | | | | |
|
| | | | | | |
|
| | |_|_|/
| |/| | | |
|
|\ \ \ \ \
| |_|_|_|/
|/| | | | |
build: enable VA-API on FreeBSD
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
main: Make separate render window fullscreen toggle on the monitor it resides in
|
| | | | | | |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Toggling borderless fullscreen on the separate render window made it fullscreen on the monitor which the main yuzu window resided in.
This change allows the render window to go fullscreen on the monitor it resides in, independent of the main window location.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Allow overriding SCM version info
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
If the build is from a non-repository, these functions will return empty. This
patch allows using defines to CMake to set version info such as
-DGIT_BRANCH=master.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
service/hid: Improve console motion accuracy
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
dist/XDG: add more file associations
|
| | |/ / / /
| |/| | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
core: hle: Remove global HLE lock.
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- This was added early on as a hack to protect against some concurrency issues.
- It's not clear that this serves any purpose anymore, and if it does, individual components should be fixed rather than using a global recursive mutex.
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
kernel: Manually destroy the current process during shut down
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
Avoids a memory leak.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
core/hid: Cancel any vibration after the test
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
core: loader: kip: Minimal changes to fix KIP loading.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- Allows us to boot KIP (kernal apps), useful for testing the kernel.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
[Patch v2] externals/ffmpeg: refactor ffmpeg searching and handling in cmake
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
... to avoid leaving variable undefined in the current scope
|
| | | | | | | | |
|
| | |/ / / / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
externals/CMakeLists: fix detection/init of Switch controllers in SDL 2.0.18
|
| | | | | | | | |
|
| | |_|/ / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Enable SDL_THREADS and SDL_ATOMIC
Also set SDL_WAYLAND=OFF due to build issue
Closes #7572
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
[input_common] Fixed thread hang
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
MSVC supplied with VS2022 generates "warning C4189: 'CALIBRATION_THRESHOLD':
local variable is initialized but not referenced" which is treated as an
error.
Circumvent it by moving constexpr variable directly into body of lambda function.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Caused worker_thread to be stuck in Stage1Completed state until job's destruction.
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|_|_|_|_|/
|/| | | | | | |
video_core: Refactoring post A.R.T. merge
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The image view itself can be queried to see if it is being rescaled or not, removing the need to pass the upscale/down shift factors from the texture cache.
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
reduces much of the duplication between the color/depth variants
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This reverts commit d20f91da11fe7c5d5f1bd4f63cc3b4d221be67a4, reversing
changes made to 5082712b4e44ebfe48bd587ea2fa38767b7339cb.
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
game_list: Add persistent setting for the favorites row expanded state
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Previously, the favorites row was always expanded on launch. This change introduces a persistent setting that allows the favorites row's expanded state to be remembered between launches.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Update video core popup
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Old version had formatting issues, and I want to provide an answer to the most common reason this pops up in the first place, outdated drivers.
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|/ / /
|/| | | | | | | |
Fix blit image/view not compatible
|
| | |/ / / / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
yuzu/main: Fix host memory byte units. GB to GiB
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
I have `134850146304` bytes of ram and Yuzu was saying that I had `125.59 GB`
of ram. But `125.59` is actually the amount of gi**bi**bytes I have. In
gi**ga**bytes I would have `134.9`.
Additionally, I changed the `1024 / 1024 / 1024` here into the `_GiB`
user-literals that I added a while ago(#6519).
https://www.wolframalpha.com/input/?i=134850146304+bytes
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
Revert "video_core/codecs: refactor ffmpeg searching and handling in cmake"
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
video_core/codecs: refactor ffmpeg searching and handling in cmake
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
... this would resolve some edge-cases where multiple devices are
present and ffmpeg is unable to auto-supply the hw surfaces
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* this resolves the todo items in the CMakeLists.txt
* a version requirement check for ffmpeg is added to catch issues early
* for future-proof reasons, nasm/yasm is now only required when build on
x86/AMD64 systems
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
common/cpu_detect: Remove CPU family and model
|
| | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | | |
We currently do not make use of these fields, remove them for now.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
maxwell_to_vk: Add ASTC_2D_8X5_UNORM
|
| | | | | | | | | |
|
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Used by Lego City Undercover
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
qt_software_keyboard: Fix out of bounds array access
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
We were unconditionally accessing the keyboard_buttons array, even if the bottom_osk_index was for the numberpad, leading to an out of bounds array access. Fix this by accessing the proper array for the current button when the index is for the numberpad.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
core/hid: Fix faulty analog triggers
|
|/ / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
common/input: Avoid numerous large copies of CallbackStatus
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
CallbackStatus instances aren't the cheapest things to copy around
(relative to everything else), given that they're currently 520 bytes in
size and are currently copied numerous times when callbacks are invoked.
Instead, we can pass the status by const reference to avoid all the
copying.
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Given these return void, these can be omitted.
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
input/SDL: Update SDL hints
|
| | |/ / / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED is no longer needed thanks to new default in SDL 2.0.18.
SDL_HINT_JOYSTICK_HIDAPI_XBOX is reported to cause conflicts with native driver Xbox driver on Linux, and Xbox controllers don't benefit from hidapi anyways.
|
|\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
input_poller/input_mapping: Silence several -Wdocumentation warnings
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
param tags are supposed to specify the parameter name without any
quoting.
Silences several -Wdocumentation warnings.
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Silences quite a bit of -Wdocumentation warnings, given the @param tag
is only intended to be used to identify function parameters, not what it
contains.
|
|\ \ \ \ \ \ \ \ \
| |_|_|/ / / / / /
|/| | | | | | | | |
input_engine: Minor object churn cleanup
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
We can make use of try_emplace() to insert values only if they don't
already exist.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
We can use iterators to avoid looking up into maps twice in the getter
functions.
At the same time we can also avoid copying the ControllerData structs,
since they're 264 bytes in size.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
These types are part of the InputCommon namespace.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Avoids creating copies of several object instances (some of which being
over 100 bytes in size).
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Copies the BasicMotion instance once instead of twice.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Allows avoiding std::function allocations.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Avoids copies where reasonably applicable
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Avoids creating copies of the struct where not necessary.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
We can allow the name to be moved into, allowing allocations to be
avoided.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
The callback map is a member variable, so this will always be empty on
initial construction.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Silences -Wextra-semi warnings
|
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This is a void function, so it doesn't need this.
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
tas_input: Minor cleanup
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
We don't need to copy the whole pair
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Resolves a -Wextra-semi warning
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
clear() when empty is simply a no-op, so we can get rid of the check
here and let the stdlib do it for us.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Gets rid of indirect includes and includes only what the interface
needs.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
While we're in the same area, we can also avoid performing std::stoi in
a loop when it only needs to be performed once.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This is only using the input facilities, so we don't need to use the
fully-fleged stringstream.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Same behavior, but without the potential for extra allocations.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This also means we can get rid of the dependency on <regex>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Parameters shouldn't have the colon by their name.
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Prevents these values from potentially clashing with anything in other
headers.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Remove erroneous #pragma once
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
build: remove remaining bits of Unicorn
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Unicorn has been removed in fc6db97a09e2de5eff10131ddcab9cf8fb2f736c
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
build: update cubeb and remove the result_of comment
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Cubeb doesn't use result_of anymore, it has been dropped in commit
mozilla/cubeb@75d9d125ee655ef80f3bfcd97ae5a805931042b8
|
|\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
Kernel: Improve threading & scheduling V3
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Fixes a crash in Megadimension Neptunia VII.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Fixes a potential deadlock on service thread shutdown.
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- This would have limited value, and would be a mess to handle properly.
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Useful purely for debugging.
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | |/ / / / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Texture Cache: Fix mismatching image/views on blits
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
kernel: svc: Implement ProcessMemory and CodeMemory SVCs
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Co-authored-by: Mai M. <mathew1800@gmail.com>
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Co-authored-by: Mai M. <mathew1800@gmail.com>
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Used by Skyline modding framework
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
profiler: Use QWheelEvent position().toPoint()
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
QWheelEvent::pos() is deprecated. Make use of position().toPoint() instead.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
renderer_vulkan: Add R16G16_UINT
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
- Used by Immortals Fenyx Rising
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
service/notif: Add notif:a and stub ListAlarmSettings, Initialize
|
| | |_|_|_|/ / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
Used by ring fit adventure 1.2.0
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ /
|/| | | | | | | | |
service/hid: Implement SetNpadJoyAssignmentMode
|
| |/ / / / / / / |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Support multiple videos playing
|
| | | | | | | | | |
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Fixed #7502
|
| | |_|_|/ / / / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
shader_recompiler/backend: Minor organization and refactoring to reduce compile time overhead
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
emit_spirv.h is included in video_core, which was propagating further includes that video_core did not depend on.
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | |_|/ / / / / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
(README) changed the color of Discord badge to use the new color
|
| | |_|_|_|_|/ / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / /
|/| | | | | | | | |
CMakeLists: Specify /Zm200 when compiling in MSVC
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This increases the memory heap size for constructing precompiled headers to 2x the default.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
input_common: Update SDL to 2.0.18
|
| | |/ / / / / /
| |/| | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
service/hid: Stub SetNpadCaptureButtonAssignment and ClearNpadCaptureButtonAssignment
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Used by ring fit adventure 1.2.0
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Add support for subsdk8 and subsdk9
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
general: Add missing copyright notices
|
|/ / / / / / |
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
core/hid: Add missing controller type
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
native_clock: Wait for less time in EstimateRDTSCFrequency
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
In my testing, waiting for 200ms provided the same level of precision as the previous implementation when estimating the RDTSC frequency.
This significantly improves the yuzu executable launch times since we reduced the wait time from 3 seconds to 200 milliseconds.
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
core/hid: Ensure only valid npad are connected
|
|/ / / / / |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
video_core/codecs: more robust ffmpeg hwdecoder selection logic
|
| | | | |
| | | | |
| | | | |
| | | | | |
... to fix build on Flatpak (and self-builds)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* skip impersonated VAAPI implementaions ("imposter detection")
* place VAAPI priority below CUDA/NVDEC/CUVID
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
general: Replace high_resolution_clock with steady_clock
|
| |/ / /
| | | |
| | | |
| | | | |
On some OSes, high_resolution_clock is an alias to system_clock and is not monotonic in nature. Replace this with steady_clock.
|
|\ \ \ \
| | | | |
| | | | | |
service: am: ISelfController: Stub SaveCurrentScreenshot
|
| |/ / /
| | | |
| | | |
| | | | |
- Used by Disney Magical World 2: Enchanted Edition
|
|\ \ \ \
| |/ / /
|/| | | |
yuzu: Implement basic controller UI navigation
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Update translations (2021-12-01)
|
|/ / / / |
|
|\ \ \ \
| |/ / /
|/| | | |
service: friend: Implement GetCompletionEvent
|
|/ / /
| | |
| | |
| | | |
- Used by Super Bomberman R Online
|
|\ \ \
| | | |
| | | | |
core: hid: Post kraken cleanup
|
| | | |
| | | |
| | | |
| | | | |
Allows us to be more explicit with the representation of button states and use the provided bit manipulation operators
|
| | | |
| | | |
| | | |
| | | | |
We were previously truncating this to a u32 as there were no known buttons that used the full 64 bits of this type. Fix this now that we know they are used.
|
| | | |
| | | |
| | | |
| | | | |
This represents a bitmask for all pressed buttons
|
| | | |
| | | |
| | | |
| | | | |
This also moves the use of DisableConfiguration to the destructor.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Add missing pixel format mapping
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
qt_controller: Fix input when the controller applet is ignored
|
|/ / |
|
|\ \
| | |
| | | |
TextureCache: Eliminate format deduction as full depth conversion has been supported.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Core: Stub services and functions needed for checkpoint
|
| | | |
| | | |
| | | |
| | | | |
Used in checkpoint homebrew
|
| | | |
| | | |
| | | |
| | | | |
Used in checkpoint homebrew
|
| | | |
| | | |
| | | |
| | | | |
Used in checkpoint homebrew
|
|\ \ \ \
| |/ / /
|/| | | |
settings: Add debug setting to enable all controllers
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Project Kraken: Input rewrite
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Fix compiler bug
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Set top margin to 6 on Right Stick, LeftStick, Face Buttons, D-Pad.
Change property on Input Device QComboBox from minimumSize to minimumContentsLength.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
start lion review
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Fix GC controller
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
review fixes
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
video_core/codecs: fix multiple decoding issues on Linux
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* when someone installed Intel video drivers on an AMD system, the
decoder will select the Intel VA-API decoding driver and yuzu will
crash due to incorrect driver selection; the fix will check if the
currently about-to-use driver is loaded in the kernel
* when using NVIDIA driver on Linux with a ffmpeg that does not have
CUDA capability enabled, the decoder will crash; the fix simply
making the decoder prefers the VDPAU driver over CUDA on Linux
|
|\ \ \ \ \
| | | | | |
| | | | | | |
CMakeLists: Update fmt to 8.0.1
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
Ensures that we're using the latest version of fmt.
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Replace "Light" theme by "Default"
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reflects the current behavior: Light = System default. If your
system is set to dark theme, then Light = Dark, which is a bit confusing
for the end user.
In this PR, I propose to change "Light" with "Default". This way, the
user has "Default" and "Default Colorful", which will apply the system
theme. Now that the Flatpak respects the system theme, I think this
makes much more sense.
I also simplified the theme update. Before the code was branching
between the default theme and the others, but I think we can have
something simpler by forcing the default theme if no theme is defined in
the settings, or if the selected theme doesn't exist. And if there's an
error, tell the theme name in the error message.
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Refactor menu states and shortcuts in GMainWindow.
- Removed "Start", since it was always disabled unless it was "Continue"
which has now been moved to "Pause".
- Allow hotkeys to be used while in fullscreen.
- Removed the load amiibo hotkey.
|
|\ \ \ \
| | | | |
| | | | | |
configure_general: Allow framerate cap to be used in custom game configs
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
kernel: svc: Implement SetProcessMemoryPermission
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- Used by Skyline modding framework
|
| | |_|/ /
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Added TAS controls to the menu under Tools
|
| | | | | | |
|
| | | | | | |
|
| | |/ / /
| |/| | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Add InstructionCacheOperationRaised handler for 'ic ivau' instruction
|
| | | | | |
|
| | | | | |
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
general: Resolve comments in PR #7368
|
| | | | | |
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | | |
Fix screenshot dimensions when at 1x scale
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This was regressed by ART.
Prior to ART, the screenshots were saved at the title's framebuffer resolution. A misunderstanding of the existing logic led to screenshot dimensions becoming dependent on the host render window size.
This changes the behavior to match how it was prior to ART at 1x, with screenshots now always being the title's framebuffer dimensions scaled by the resolution scaling factor.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix crash on exit due to static scoped dummy threads
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
service: pm: Implement AtmosphereGetProcessId
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- Used by Skyline modding framework
|
| | | | | | |
|
| | |/ / /
| |/| | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Fix ART Blit detection regression and add D24S8 <-> RGBA8 conv to Vulkan
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | |_|/
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
Fix image update/download error when width too small
|
| | |/ /
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
main: Shorten AMD FSR status bar text
|
| | | | |
| | | | |
| | | | |
| | | | | |
By default, no AA is applied, not FXAA
|
| | | | |
| | | | |
| | | | |
| | | | | |
AMD officially markets FSR as AMD FidelityFX™️ Super Resolution
|
| | |/ /
| |/| |
| | | |
| | | | |
AMD'S FIDELITYFX SR -> FSR
|
|\ \ \ \
| | | | |
| | | | | |
Move the cmake submodule checkout command to a new line
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Presently, if you forget to initialize the git submodules before
running cmake, there'll be a helpful message that reminds you to do so.
However, on narrow terminals (e.g. 80 wide) there's a word wrap that
includes a new line in the middle of the git command, precluding easy
copy-paste. This moves the entire git command to its own line to avoid
such tragedies.
Before:
```
CMake Error at CMakeLists.txt:59 (message):
Git submodule externals/inih/inih not found. Please run: git submodule
update --init --recursive
```
After:
```
CMake Error at CMakeLists.txt:59 (message):
Git submodule externals/inih/inih not found. Please run:
git submodule update --init --recursive
```
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Replace keys error pop up
|
| | | | | |
| | | | | |
| | | | | | |
Fight me.
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
video_core: Implement S8_UINT format
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
It should be noted that on Windows, only nvidia gpus support this format natively as of this commit.
|
| | | | | | |
|
| | |_|/ /
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
gl_texture_cache: Implement pixel format conversions for copies
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This allows the usage of the FormatConversionPass to be applied to more than the previously used BGR conversion scenarios.
|
| |/ / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Prevent window flickering when holding Esc
|
| | |/ / /
| |/| | |
| | | | | |
Reported on discord by Levlight. Don't try to exit fullscreen if it's already off.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
ci: Don't fetch submodules when fetching PRs
|
| | |/ / /
| |/| | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
hotkeys: Don't allow hotkeys to spam
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Project A.R.T. Advanced Rendering Techniques
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes Bayonetta 2 on AMD
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The submodule adds a lot of unneeded bloat due its addition of samples that contain large media files that are difficult to compress.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Also adds descriptions and the settings to the default config.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This only needs to happen once per game boot, so we can just call it
during CreateGPU and be done with it, avoiding the need to call it in
the frontends.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes a bug on BOTW where some objects were no longer being rendered after blitting
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Plus some code deduplication
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Blitting or resolving multisampled images requires the dimensions of the src and dst to be equal for valid usage, making them difficult for resolution scaling using the current implementation.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes screenshots at non integer scaling
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We don't need to reconstruct new textures every time we ScaleUp/ScaleDown. We can scale up once, and revert to the original texture whenever scaling down.
Fixes memory leaks due to glDeleteTextures being deferred for later handling on some drivers
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes scaling in Super Mario Party
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Thanks for everything!
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Shows the resolution scale as "Scale: {}x" in the status bar, where {} is a floating point value representing the current resolution scaling factor.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | |/ / /
| |/| | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
CMakeLists: Update catch to 2.13.7
|
|/ / / /
| | | |
| | | |
| | | | |
Keeps the testing libraries up to date.
|
|\ \ \ \
| | | | |
| | | | | |
codecs: Implement VP8 video decoding support
|
| | | | |
| | | | |
| | | | |
| | | | | |
These functions were composing the entire frame, not just the headers. Rename to more accurately describe them.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Enables frame decoding with FFmpeg
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | | |
shader: Spirv support legacy attribute v2
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| |_|_|_|/
|/| | | | |
ci: Print traceback on patch merge failure
|
| | | | | |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Logging: Impl refactor
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Loop on stop_token and remove final_entry in Entry.
Move Backend thread out of Impl Constructor to its own function.
Add Start function for backend thread.
Use stop token in PopWait and check if entry filename is nullptr before logging.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
program_metadata: Add default ThreadInfo capability
|
|/ / / / / |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
applets/swkbd: Skip text checking if the text has been confirmed
|
| | | | |
| | | | |
| | | | |
| | | | | |
The text check message can be encoded in UTF-8.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Confirm means that the text has already been checked by the application to be correct, but is asking the user for confirmation.
The confirmation text itself seems to be corrupted though, this needs to be investigated.
Fixes the software keyboard in Famicom Detective Club: The Missing Heir
|
| | | |
| | | |
| | | | |
- Used by Just Dance 2022
|
| | | |
| | | |
| | | | |
- Used by Dragon Quest Builders
|
|\ \ \ \
| | | | |
| | | | | |
general: Get the current process program id directly from the system
|
| | | | |
| | | | |
| | | | |
| | | | | |
This allows us to avoid including KProcess' header file in files that only need to get the current process' program id.
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
core: Reorder perf_stats destruction order on Shutdown
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
Avoids the gpu_core using perf_stats after it's been freed.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
service: aoc: Stub more 13.x functions used by Animal Crossing
|
| | | | |
| | | | |
| | | | |
| | | | | |
Used by Animal Crossing: New Horizons v2.0.0 DLC
|
| | | | |
| | | | |
| | | | |
| | | | | |
Used by Animal Crossing: New Horizons v2.0.0 DLC
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
core: Reduce unused header includes
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
service/acc: Rename Unknown160 to InitializeApplicationInfoV2
|
|/ / / / / |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
service: acc: Stub acc:u0 '160'
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
- Used by Animal Crossing: New Horizons v2.0.0
Since the name is currently unknown, '160' is used as a placeholder.
|
|\ \ \ \
| | | | |
| | | | | |
svc: Correct WaitSynchronization num_handles param type
|
|/ / / /
| | | |
| | | |
| | | | |
num_handles is a s32
|
|\ \ \ \
| | | | |
| | | | | |
ShaderCache: Order Phi Arguments from farthest away to nearest.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
gl_rasterizer: Remove unused includes
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This removes unused includes, especially the core includes which were causing this file to be recompiled every time files included by those headers are modified.
|
|\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
common, result: Implement a subset of std::expected and use it in ResultVal
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is made obsolete by the presence of implicit constructors.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This amends the documentation slightly to reflect the updated interface.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Common::Expected effectively provides the same functions as ResultVal, so we can implement it with this.
This can be replaced with std::expected with minimal effort should it be standardized in the C++ Standard Template Library.
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
This implementation is based on and is a subset of the proposed implementation of std::expected
https://github.com/TartanLlama/expected/blob/master/include/tl/expected.hpp
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Fix memory leak v2
|
| | | | | |
|
| | | | | |
|
| | |_|/
| |/| | |
|
|\ \ \ \
| |_|/ /
|/| | | |
Update translations (2021-11-01)
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
profile_manager: Resize any image bigger than 256p
|
| |/ / |
|
|\ \ \
| |_|/
|/| | |
emit_spirv_image: Fix depth image implicit lod sample in non-fragment stages
|
| | |
| | |
| | |
| | | |
Ensures all drivers behave the same way in this case.
|
|\ \ \
| | | |
| | | | |
yuzu_cmd, yuzu qt: Use SDL to disable the screen saver
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Disables the screen saver when a game boots using SDL2 so that it works
on any supported platform.
|
|\ \ \ \
| | | | |
| | | | | |
file_sys/ns: Add Brazilian Portuguese to the list of ApplicationLanguage
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
It seems that Nintendo finally filled that last empty spot in ApplicationLanguage for a total of 16 supported languages.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
hle/result: Remove cv-qualifiers from Arg in MakeResult
|
| | |_|_|/
| |/| | |
| | | | |
| | | | | |
This removes the const qualification for types when MakeResult(arg) is used in a const member function, allowing for automatic deduction and removing the need to manually specify the non-const type as the template argument.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
hle/result: Add move assignment operator in ResultVal
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
While we're at it, we can also declare these copy/move constructor/assignment as noexcept.
|
| | |_|/ /
| |/| | |
| | | | |
| | | | | |
ResultVal was missing a move assignment operator, add it.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
gl_device: Force GLASM on NVIDIA drivers 495-496
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
GLSL shaders currently do not render correctly on the recent NVIDIA
drivers. This adds a check that forces assembly shaders for these
drivers since they seem unaffected and adds a warning informing of the
decision.
Developers can disable the check by enabling graphics debugging.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
CMakeLists: Document the /GT compile option
|
|/ / / / / |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Build System: Build with JCC Erratum Mitigation
|
| | | | | |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
per_game_ui: Geometry Property Removal and Minor Rewording to the Per Game UI
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
ui: fix crash when closing configure window
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This crash happens 100% of the time (on Linux at least), you just need
to open the configure window and click OK.
It seems to happen when the tabs are destroyed and once all the tabs are
destroyed, a final signal is sent with `index == -1`. So `debug_tab_tab`
doesn't exist anymore when this happens, so the crash.
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
SVC: Implement svcInfo:IdleTickCount
|
| | | | |
| | | | |
| | | | |
| | | | | |
Used by the Witcher 3
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fixup channel submit IOCTL syncpoint parameters
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The current arguments worked by happenstance as games only ever submit
one syncpoint and request one fence back, if a game were to do something
other than this then the arguments would've been parsed entirely wrong.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
TexturePass: Fix clamping of images as this allowed negative indices.
|
| |/ / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fixed ARM_Dynamic_64 Step
|
|/ / / / / / |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Vulkan Rasterizer: Fix viewport issue
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Vulkan Rasterizer: Correct DepthBias/PolygonOffset on Vulkan.
|
| | | | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Revert "input_common: Fix data race on GC implementation"
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
input_common: Fix data race on GC implementation
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
cmake: Update conan to support Visual Studio 2022
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
VS2022 seems to introduce an optimization when moving vectors to check for equality of the element values. AlignmentAllocator needed to overload the equality operator to fix compilation of its usage in vector moving.
|
| | | | | | | | | |
|
|/ / / / / / / / |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
tas_ui: Add a Help Link to the TAS Page on the yuzu Website, Along with Minor Grammar Changes
|
| | |_|_|/ / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
remove_accident
fix_whoopsie
|
|\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
settings: Remove std::chrono usage
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Alleviates the dependency on chrono for all files that include settings.h
|
|\ \ \ \ \ \ \
| |_|_|_|_|_|/
|/| | | | | | |
KPageTable: Perform ranged invalidation when unmapping code memory
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Co-Authored-By: Fernando S. <1731197+FernandoS27@users.noreply.github.com>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
A series of fixes to queries and indexed samplers.
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
A few fixes on Vulkan and Rasterizer Caching
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
main: fix typo in warning message
|
| | |_|_|_|_|_|/ /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / /
|/| | | | | | | | |
Update translations (2021-10-16)
|
|/ / / / / / / / |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
main: Add missing make_unique for ui
|
|/ / / / / / / / |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
NVHost_Ctrl: Force wait if the gpu falls behind too long.
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
.ci/transifex: Mark docker.sh as executable
|
|/ / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
qt_web_browser: Add missing QApplication include
|
| |/ / / / / / / / |
|
|/ / / / / / / / |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
yuzu: Remove all remaining global system instances
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Allows it to be a forward declaration in other header files.
|
| | | | | | | | | |
|
|/ / / / / / / / |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
.ci: Use Github Actions to update translation source files
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
string_util: Prevent out of bounds access in u16string_view buffer
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Makes use of std::string_view in StringFromFixedZeroTerminatedBuffer and add bounds checking
|
| | |_|_|_|/ / / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Check "Hide mouse on inactivity" by default
|
| | |_|/ / / / / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
yuzu: Use make_unique instead of operator new for constructing ui
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| |/ / / / / / / /
|/| | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* main: Slightly refactor NCA entry installation in InstallNCA
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | | |
Let's yuzu_cmd use a network interface. Also adds it to the default ini.
|
| |/ / / / / /
|/| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* better_description
* Revert "better_description"
This reverts commit 3a152a6ba6f2d6e02530b69a8194e4db302c8acd.
* better_nvdec_wording
* best_performance
* update_word_stuff
* another_update
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
yuzu qt: Remove global system instances
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
vic: Use the minimum of surface/frame dimensions when writing the final frame to the GPU
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Addresses possible buffer overflow behavior.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
input_common/sdl: Fix joystick range
|
| | |/ / / / / / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |_|_|/ / / / / /
|/| | | | | | | | |
main: Add option to reset window size to 900p
|
| | |/ / / / / /
| |/| | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
externals: Update dynarmic to cce7e4ee
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
Update configure_tas.ui
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Remove the geometry property again(7045) after 7090 re-added.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
h264: Use max allowed max_num_ref_frames when using CPU decoding
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
Port citra-emu/citra#5811: "Build system: remove references to travis"
|
|/ / / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Co-Authored-By: Vitor K <vitor-kiguchi@hotmail.com>
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
This moves all GenerateYuzuPath calls outside of the platofrm-specific #ifdefs, replacing them with assignments to paths.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
Fix a few warnings
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- configure_input_player_widget.cpp: always better to use `const auto &`
whenever possible
- profiler.cpp: `ev->pos()` is deprecated, replace with
`ev->position()`, which returns floats, thus the addition of
`.toPoint()` (same as what's happening in `pos()`)
- game_list.cpp: `QString::SplitBehavior` is deprecate, use `Qt::`
namespace instead
|
|\ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / /
|/| | | | | | | | | | |
ci: Use ubuntu-latest vmImage where applicable
|
|/ / / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Not specifying the vmImage defaults to ubuntu-16.04, which will be deprecated soon and is experiencing brownouts.
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|/ / / / / / /
|/| | | | | | | | | |
applets/web: Fallback to loader to get the manual romfs if none is found
|
| |/ / / / / / / / |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
vic: Allow surface to be higher than frame
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Touhou Genso Wanderer Lotus Labyrinth R decodes 1920x1080 videos into 1920x1088 surface.
Only allow mismatch for height, since larger width would result in increasingly offset rows and somewhat defeat entire purpose of this check.
|
|\ \ \ \ \ \ \ \ \
| |_|/ / / / / / /
|/| | | | | | | | |
vic: Implement RGBX8 video frame format
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This is a work around to avoid buffer overflow errors until multi channel/multi stream decoding is supported.
|
| | | | | | | | | |
|
| | |/ / / / / /
| |/| | | | | | |
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
service: Reduce header include overhead
|
| | | | | | | | |
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
gpu: Migrate implementation to the cpp file
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Avoids a destruction data race that may occur on the vsync thread
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This seems to only be used to protect a later gpu function call. So we can move the lock into that call instead.
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
(Minor Change) Hint (?) Button Removal and Spacing Change to the TAS Window
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Previously, the dialog buttons would be floating in-place when the dialog is stretched downwards.
This change ensures that the dialog buttons always stay at the bottom of the window.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
common/logging: Reduce dependent header include overhead
|
| | | | | | | | | | |
|
| | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
This reduces the load of requiring to include std::chrono in all files which include log.h
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
service: Replace all service event creation with ServiceContext::CreateEvent
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
The service context helps to manage all created events and allows us to close them upon destruction.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
vk_graphics_pipeline: Force patch list topology when tessellation is used
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Fixes a crash on some drivers when tessellation is used but the IA topology is not patch list.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
prevent access violation from iob in Memory::IsValidVirtualAddress
|
| | |_|_|/ / / / / / /
| |/| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
core: Fix memory leak
|
| | | | | | | | | | | | |
|
| | |_|_|_|/ / / / / /
| |/| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
Qt: Update to Qt 5.15.2
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Required by Qt 5.15's QtWebEngine
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
main: Don't add an extra separator when the title version is absent
|
| | |_|_|_|_|/ / / / / /
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Some titles, such as homebrew, do not have any version string. Because
yuzu hard codes the title bar string assuming a version string is
preset, booting homebrew causes yuzu to add an extra separator with no
content between.
This uses a lambda expression to prevent that from happening.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / / /
|/| | | | | | | | | | | |
network: Do not log IP address
|
| | |_|_|_|/ / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Logging this may be a privacy concern for some users.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
input_common: Add alternative string for joycons
|
| | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / / /
|/| | | | | | | | | | | |
core: Properly shutdown and exit the running application when ISelfController::Exit is called
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This also moves the call to the end to ensure services are properly destructed on exit.
|
| | | | | | | | | | | | |
|
|/ / / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This allows ISelfController::Exit to stop the currently running application. This is typically used by homebrew to exit back to the homebrew menu after calling consoleExit with libnx.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
Remove Boxcat BCAT backend
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
The current implementation of BoxCat as it stands is non-functional due to the reliance on a server providing BCAT files.
This implementation will eventually be replaced with one that allows the use of local BCAT files dumped from a Nintendo Switch.
|
| | | | | | | | | | | | |
|
| | |_|_|/ / / / / / /
| |/| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
ci: Use latest ubuntu image for mainline/patreon step 1
|
| | |_|/ / / / / / / /
| |/| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / /
|/| | | | | | | | | | |
applets: Use subdirectory of main data directory for QtWebEngine storage
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Previously, an unrelated directory was used for this. Keep everything together for consistency.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
buffer_cache, maxwell_dma: Minor refactoring and code fixes
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Loop through the tmp_intervals by reference, rather than by copy, and fix gl clear buffer size calculation.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
style: Remove extra space preceding the :: operator
|
| | |_|/ / / / / / / / /
| |/| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
gl_texture_cache: Unify BGR copy passes using PBOs
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
The BGR copies no longer use shaders.
|
| | | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / / / /
|/| | | | | | | | | | | | |
Fixed invalid iterator usage
|
|/ / / / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
audin_u: stub Start, RegisterBufferEvent, AppendAudioInBufferAuto
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
|
| |/ / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This also moves IAudioIn's definition to the header.
Required for Splatoon 2 LAN play.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / / / / /
|/| | | | | | | | | | | |
Hide XInput bypass on non-Windows OSes
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This way, if someone copies their Windows config to other OS, they won't be stuck without web applet for no apparent reason.
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Follow-up to #6950. This option is a no-op on other OSes and only serves to spread confusion there.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
vk_texture_cache: Disable cube compatibility flag on non-mesa AMD GCN4 and earlier
|
| | |_|_|_|_|_|_|_|_|/ /
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Fixes rainbow textures on BOTW.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Update function tables to FW 13.0.0
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
|/ / / / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
video_core: Fix jthread related hangs when stopping emulation
|
| | |_|_|_|/ / / / / / /
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
jthread on some compilers is more picky when it comes to the order in which objects are destroyed.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
service: bsd: Stub Read
|
|/ / / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
- Used by Diablo II: Resurrected
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
service: bsd: Implement Read
|
|/ / / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
- Used by Diablo II: Resurrected
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
general: Update style to clang-format-12
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
|/ / / / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ / / / /
|/| | | | | | | | | | | |
common/uuid: Add validity checking functions to interface
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
The default constructor of UUID doesn't initialize its data members, so
we need to directly initialize it to be invalid.
|
| | |/ / / / / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Given we have a function to invalidate, we should also have ones to
query the validity. Also makes the code more straightforward to read.
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|_|/ / /
|/| | | | | | | | | | |
Fix "Unknown C standard control flag" warning
|
| | |_|/ / / / / / /
| |/| | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|/ / / / / / /
|/| | | | | | | | | |
Debug Config Ui: Clean-up and nits
|
| | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
Remove redundent label, rearange checkboxs to keep same 3 per column layout, remove unneeded properties.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
Tas configure ui nits
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Numerize names, remove unneeded properties and spacer.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Text looked cramped on my pc (Ubuntu 21.04). Re-flowed text as well for nicer read.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
vk_swapchain: Use immediate present mode when mailbox is unavailable and FPS is unlocked
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Allows drivers that do not support VK_PRESENT_MODE_MAILBOX_KHR the ability to present at a framerate higher than the monitor's refresh rate when the FPS is unlocked.
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / / /
|/| | | | | | | | | |
Spir-V: Rescale the frag depth to 0,1 mode when -1,1 mode is used in Vulkan.
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|/ / / / / / /
|/| | | | | | | | | |
videocore: Use std::jthread for worker threads
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | |_|_|/ / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
Useful for jthreads which make use of the threadsafe queues.
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / /
|/| | | | | | | | |
input_common: TAS with script playback & recording
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
To keep the TAS inputs synced to the game speed even through lag spikes and loading zones, deeper access is required.
First, the `TAS::UpdateThread` has to be executed exactly once per frame. This is done by connecting it to the service method the game calls to pass parameters to the GPU: `Service::VI::QueueBuffer`.
Second, the loading time of new subareas and/or kingdoms (SMO) can vary. To counteract that, the `CPU_BOOST_MODE` can be detected: In the `APM`-interface, the call to enabling/disabling the boost mode can be caught and forwarded to the TASing system, which can pause the script execution if neccessary and enabled in the settings.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
During script playback/recording, the user has to see what happens currently. For that, a new label has been added to the bottom-left corner, always displaying the current state of the TASing system.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
First of all, TASing requires a script to play back. The user can select the parent directory at `System -> Filesystem`, next to an option to pause TAS during loads: This requires a "hacky" setup deeper in the code and will be added in the last commit.
Also, Hotkeys are being introduced: CTRL+F5 for playback start/stop, CTRL+F6 for re-reading the script and CTRL+F7 for recording a new script.
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The base playback system supports up to 8 controllers (specified by `PLAYER_NUMBER` in `tas_input.h`), which all change their inputs simulataneously when `TAS::UpdateThread` is called.
The recording system uses the controller debugger to read the state of the first controller and forwards that data to the TASing system for recording. Currently, this process sadly is not frame-perfect and pixel-accurate.
Co-authored-by: Naii-the-Baf <sfabian200@gmail.com>
Co-authored-by: Narr-the-Reg <juangerman-13@hotmail.com>
|
|\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
Remove audio stretching
|
| | | | | | | | |
|
| | | | | | | | |
|
| | |/ / / / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
input_common: Add advanced setting for 8 player support
|
| | |_|_|/ / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
ngct: Stub Match
|
| | |_|/ / / /
| |/| | | | |
| | | | | | | |
Needed for Cruis'n Blast
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
vulkan_debug_callback: Ignore InvalidCommandBuffer-VkDescriptorSet errors
|
| | |_|/ / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This validation error is spammed on some titles, asserting that VkDescriptorSet 0x0[] was destroyed.
This is likely a validation layer bug when using VK_KHR_push_descriptor, which can avoid using traditional VkDescriptorSet. It should be safe to ignore for now.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
vulkan_device: Reorder Float16Int8 declaration
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This variable was going out of scope before its usage in the vulkan device creation, causing a crash on very specific drivers.
|
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This reverts commit 62e88d0e7455e37840db7e2a8e199bc6ca176966, reversing
changes made to edf3da346f4ec0ca492b427f4f693d56e84abc52.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
vfs: Partially implement GetFileTimeStampRaw
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Gets rid of homebrew warnings using this func
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
renderers: Log total pipeline count
|
|/ / / / / / |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
core: Destroy main_process during shutdown
|
| | |/ / /
| |/| | |
| | | | |
| | | | | |
The main_process was never being cleaned up, causing a noticeable memory leak after subsequent launches. This change cleans up the memory during Core Shutdown, mitigating the leak.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Vulkan: Disable VK_EXT_SAMPLER_FILTER_MINMAX in GCN AMD
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Vulkan: Blacklist Int8Float16 Extension on AMD on driver 21.9.1
|
| | |_|_|/
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
common_funcs: Add enum flag bitwise shift operator overloads
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This adds bitwise shift operator overloads (<<, >>, <<=, >>=) in the macro DECLARE_ENUM_FLAG_OPERATORS(type)
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Vulkan/Descriptors: Increase sets per pool on AMD propietary driver.
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
vk_rasterizer: Fix dynamic StencilOp updating when two faces are enabled
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This function was incorrectly using the stencil_two_side_enable register when dynamically updating the StencilOp.
|
|\ \ \ \ \ \ \
| |_|_|_|/ / /
|/| | | | | | |
FS: Mark recursive CreateDirectory as inaccurate and temporary
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
vk_state_tracker: Remove unused function
|
| |/ / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
shaders: Fix warp instructions on 64-thread warp devices
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
account: EnsureTokenIdCacheAsync
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Closes #2547, #6946
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
FS: Recursively create directories for CreateDirectory
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Co-authored-by: Mai M. <mathew1800@gmail.com>
|
| | |_|_|_|/ / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Originally we only created the parent directory, this caused issues for creating directories which also contained subdirectories, eg `/Folder1/Folder2`
This allows the ultimate mod manager homebrew to at least boot
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
main: Apply confirm exit setting in exit locked scenarios
|
| | |_|_|/ / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Some titles set an exit lock through HLE, which prompts an exit confirmation when stopping emulation if the system is locked.
This change allows bypassing this confirmation if the setting to confirm exits has been disabled by the user.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
hid/am: Stub SetTouchScreenConfiguration and implement GetNotificationStorageChannelEvent
|
| | | | | | | | | |
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
common: Move error handling functions out of common_funcs
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
This allows us to avoid implicitly including <string> every time common_funcs.h is included.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
api_version: Update and add AtmosphereTargetFirmware
|
| |/ / / / / / / |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
nvdec: Add GPU video decoding for all capable drivers and platforms
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
GPU decoding seems to be more picky when it comes to the maximum number of reference frames.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Some system configurations may see visual regressions or lower performance using GPU decoding compared to CPU decoding. This setting provides the option for users to specify their decoding preference.
Co-Authored-By: yzct12345 <87620833+yzct12345@users.noreply.github.com>
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Adds {h264_,vp9_}{nvdec,vdpau} hwaccels.
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Allows the use of VAAPI gpu decoders on system installed ffmpeg as well.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Supplements the VAAPI intel gpu decoder by implementing the D3D11VA decoder for Windows, and CUVID/VDPAU for Nvidia and AMD on drivers linux respectively.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
vk_rasterizer: Only clear depth/stencil buffers when specified in attachment aspect mask
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Silences validation errors for clearing the depth/stencil buffers of framebuffer attachments that were not specified to have depth/stencil usage.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
vk_swapchain: Prefer linear swapchain format when presenting sRGB images
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Silences validation errors when creating sRGB image views of linear swapchain images
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Fixes broken sRGB when presenting from a secondary GPU.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
renderer_vulkan: Wait on present semaphore at queue submit
|
| | |_|_|_|/ / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
The present semaphore is being signalled by the call to acquire the
swapchain image. This semaphore is meant to be waited on when rendering
to the swapchain image. Currently it is waited on when presenting, but
moving its usage to be waited on in the command buffer submission allows
for proper usage of this semaphore.
Fixes the device lost when launching titles on the Intel Linux Mesa driver.
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / / / /
|/| | | | | | | | | | |
nvflinger: Use external surface format for framebuffer creation
|
| | |_|_|_|_|_|_|/ /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
The format member the IGBPBuffer may not always specify the correct desired format. Using the external format member ensures a valid format is provided when creating the framebuffer.
Fixes homebrew using the wrong framebuffer format.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
renderer_vulkan: Spirv support glsl legacy attribute
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
Fix blend equation enum error
|
| | |/ / / / / / / / /
| |/| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
core: hle: service: buffer_queue: Improve management of KEvent.
|
| | |_|_|_|_|_|/ / / /
| |/| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
Second part of Golden's PR #6976
|
| |/ / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / /
|/| | | | | | | | | | |
Rename all shader cache strings to pipeline cache
|
|/ / / / / / / / / /
| | | | | | | | | |
| | | | | | | | | | |
After Hades, both OpenGL and Vulkan use a pipeline cache instead of single stages of the graphics pipeline. Renamed the Remove menu entries to match.
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
core: cpu_manager: Use jthread.
|
| | |/ / / / / / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
core: hle: service: nvflinger/vi: Improve management of KEvent.
|
|/ / / / / / / / |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
structured_control_flow: Add DemoteCombinationPass
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Nested demote branches add complexity with combining the condition if it has not been initialized yet. Skip them for the time being.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This is only needed on select drivers when a fragment shader discards/demotes.
|
| | |_|_|_|_|/ /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Some drivers misread data when demotes are interleaved in the program. This moves demote branches to be checked at the end of the program.
Fixes "wireframe" issue in Pokemon SwSh on some drivers
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|_|/ /
|/| | | | | | | |
common/logging: Add missing include
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Project <tentative title>: Rework Garbage Collection.
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| |/ / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
emit_spirv_context_get_set: Fix Get FrontFace return value
|
| | |_|/ / / /
| |/| | | | |
| | | | | | |
| | | | | | | |
The IR expects GetAttribute to return an F32 value. This case was returning a U32 instead.
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
vk_blit_screen: Fix non-accelerated texture size calculation
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Addresses the potential OOB access in UnswizzleTexture.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
nifm/network_interface: Cleanup and populate fields in GetCurrentNetworkProfile
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Populates the current_address, subnet_mask, and gateway fields from the selected network interface.
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
vp9_types: Remove unusued VP9 info struct members
|
| | | | | | | | | |
|
| | |_|/ / / / /
| |/| | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
ngct: Stub NGCT:U service
|
| | |/ / / / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Revert "logging: Display backtrace on crash"
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
logging: Display backtrace on crash
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This implements backtraces so we don't have to tell users how to use gdb anymore.
This prints a backtrace after abort or segfault is detected. It also fixes the log getting cut off with the last line containing only a bracket. This change lets us know what caused a crash not just what happened the few seconds before it.
I only know how to add support for Linux with GCC. Also this doesn't work outside of C/C++ such as in dynarmic or certain parts of graphics drivers. The good thing is that it'll try and just crash again but the stack frames are still there so the core dump will work just like before.
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
Revert "kernel: Various improvements to scheduler"
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
vulkan_device: Add a check for int8 support
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Silences validation errors when shaders use int8 without specifying its support to the API
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
GPU_MemoryManger: Fix GetSubmappedRange.
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
logging: Fix log filter during initialization
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The log filter was being ignored on initialization due to the logging instance being initialized before the config instance, so the log filter was set to its default value.
This fixes that oversight, along with using descriptive exceptions instead of abort() calls.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
kernel: Optimize GetHostThreadID
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
CMakeLists: Ensure proper numerusform tags are generated for pluralized translations
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
If we don't set an explicit source and target language for the base
english translation, then we'll generate an incorrect number of
<numerusform> tags (which Transifex doesn't like).
|
|\ \ \ \ \ \ \ \ \
| | |_|_|/ / / / /
| |/| | | | | | | |
logging: Simplify and make thread-safe
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This simplifies the logging system.
This also fixes some lost messages on startup.
The simplification is simple. I removed unused functions and moved most things in the .h to the .cpp. I replaced the unnecessary linked list with its contents laid out as three member variables. Anything that went through the linked list now directly accesses the backends. Generic functions are replaced with those for each specific use case and there aren't many. This change increases coupling but we gain back more KISS and encapsulation.
With those changes it was easy to make it thread-safe. I just removed the mutex and turned a boolean atomic. I was planning to use this thread-safety in my next PR about stacktraces. It was actually async-signal-safety at first but I ended up using a different approach. Anyway getting rid of the linked list is important for that because have the list of backends constantly changing complicates things.
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / /
|/| | | | | | | | |
settings: Amend language_index maximum setting range
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The maximum is now 17 with the addition of Brazilian Portuguese
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
video_core: eliminate constant ternary
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
`via_header_index` is already checked above, so it would never be true in this branch
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
dynarmic: Update and enable DYNARMIC_IGNORE_ASSERTS
|
| | | | | | | | | | |
|
| | |_|_|/ / / / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
SPIR-V: Merge two ifs in EmitGetAttribute
|
| | |/ / / / / / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
applet_error: Fix 64-bit error code conversion
|
| |/ / / / / / / / |
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / /
|/| | | | | | | | |
Replace QPoint with QPointF where applicable
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Previously, floats were implicitly cast to integers
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
qt_software_keyboard: fix copy-paste error
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fix crash in logging in CreateStrayLayer
|
|/ / / / / / /
| | | | | | |
| | | | | | | |
It was trying to log value of layer_id which is specifically known not to exist, potentially leading to segfault. Log display_id instead.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fix check is thread current in GetThreadContext
|
|/ / / / / / /
| | | | | | |
| | | | | | | |
Misplaced break made it only check for the first core.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
kernel: Various improvements to scheduler
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- This would have limited value, and would be a mess to handle properly.
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Useful purely for debugging.
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
Fix LAN Play
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The header "combaseapi.h" of mingw-w64 defines "interface" as "struct".
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
GetAvailableNetworkInterfaces
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
network interface combobox
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| |\ \ \ \ \ \ \ |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This commit renames the "Services" tab to "Network" and adds a combobox that allows the user to select the network interface that yuzu should use. This new setting is now used to get the local IP address in Network::GetHostIPv4Address. This prevents yuzu from selecting the wrong network interface and thus using the wrong IP address. The return type of Network::GetHostIPv4Adress has also been changed.
|
| |\ \ \ \ \ \ \ \ |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
If non-blocking sockets are used, they generate a lot of Errno::AGAIN errors when they didn't receive any data. These errors shouldn't be logged.
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Service::NIFM::IGeneralService::GetCurrentIpConfigInfo currently hardcodes 192.168.1.100 as the IP address, which prevents LAN play from working correctly.
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
F_SETFL/F_GETFL are the correct commands to set a socket to be non-blocking
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ / /
|/| | | | | | | | | |
decoders: Optimize memcpy for the other functions
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / / /
|/| | | | | | | | | |
threadsafe_queue: Fix deadlock
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This fixes a lost wakeup in SPSCQueue. If the reader is in just the right position, the writer's notification will be lost and this will be a problem if the writer then does something to wait on the reader.
This was discovered to affect my upcoming stacktrace PR. I don't think any performance decrease will be noticeable because an uncontended mutex is smart enough to skip the syscall. This PR might also resolve some rare deadlocks but I don't know of any examples.
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / /
|/| | | | | | | | |
input_common: Disable sdl raw input mode
|
| |/ / / / / / / |
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
vic: Specify sws_scale height stride.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Silences a sws_scale runtime warning about unaligned strides.
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|_|/ /
|/| | | | | | | |
externals: Update sdl2 to 2.0.16
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
settings: Fix MSVC issues
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
According to https://stackoverflow.com/questions/469508, we run into a
MSVC bug (since VS 2005) when using diamond inheritance for
RangedSetting.
This explicitly implements those functions in RangedSetting. GetValue is
implemented as just calling the inherited version. The explicit
converson operator is reimplemented. I opted for this over ignoring the
warning with a pragma since this specifies the inherited behavior, and I
have now less faith in MSVC to pick the right one.
In addition, we mark destructors as virtual to silence what I believe is
a fair MSVC compilation error.
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
settings: Implement settings ranges
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Addresses PR review
Co-authored-by: PixelyIon <pixelyion@protonmail.com>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Addresses review feedback.
Co-authored-by: Mai M. <mathew1800@gmail.com>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fixes a theoretical scenario where a Setting is using the BasicSetting's
GetValue function. In practice this probably only happens on yuzu-cmd,
where there is no need for a Setting's additional features. Need to fix
regardless.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Clamps the setting's values against the specified minimum and maximum
values.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
texture_cache: Split out template definitions
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
main: Avoid stopping emulation when taking a screenshot
|
| | |_|_|_|_|_|_|/
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
memory: Clean up code
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | |/ / / / / / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
configure_general: Swap positions of speed limit and frame limit options
|
| | |_|_|/ / / / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
vp9: Ensure the first frame is complete
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Silences a runtime error due to the first frame missing the frame data, and being set to hidden despite being a key-frame.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
yuzu-cmd/CMakeLists: Correct attribution for this function.
|
|/ / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Respect Vulkan bufferImageGranularity
|
| | |_|_|_|_|_|/ /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
input_common: Improve SDL joystick and hide toggle option
|
| | |_|_|/ / / / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |_|_|/ / / / / /
|/| | | | | | | | |
Add description to fast gpu time option
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
add description too fast gpu time
|
|\ \ \ \ \ \ \ \ \
| |_|/ / / / / / /
|/| | | | | | | | |
common: uuid: Add hash function for UUID
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Used when UUID is a key in an unordered_map. The hash is produced by XORing the high and low 64-bits of the UUID together.
|
|\ \ \ \ \ \ \ \ \
| |_|_|/ / / / / /
|/| | | | | | | | |
nvdec: Better logging for unimplemented codecs
|
| | |_|_|_|_|/ /
| |/| | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
yuzu-cmd: hide mouse cursor when started fullscreen
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Exposed the SDL_ShowCursor function to EmuWindow baseclass. When creating the window (GL or VK) in fullscreen it now automatically hides the cursor.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
settings_ui: Add emulated joystick position dot to controller preview
|
| | | | | | | | | | |
|
| | |_|_|_|_|/ / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |_|_|/ / / / / /
|/| | | | | | | | |
astc_decoder: Various performance and memory optimizations
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This reduces the amount of over dispatching when there are odd dimensions (i.e. ASTC 8x5), which rarely evenly divide into 32x32.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Alleviates the dependency on the swizzle table and a uniform which is constant for all ASTC texture sizes.
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This buffer was a list of EncodingData structures sorted by their bit length, with some duplication from the cpu decoder implementation.
We can take advantage of its sorted property to optimize its usage in the shader.
Thanks to wwylele for the optimization idea.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Moves leftover values that are no longer used by the gpu decoder back to the cpp implementation.
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ /
|/| | | | | | | | |
nvdec: Fix VP9 reference frame refreshes
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This was mainly used to keep track of mapped buffers for later unmapping. Since unmap is no longer implemented, this no longer seves a valuable purpose.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
With reference frames refreshes fix, we no longer need to buffer two frames in advance.
We can also remove other unused or otherwise unneeded variables.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This resolves the artifacting when decoding VP9 streams.
|
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Skip unmapping nvdec buffers to avoid breaking the continuity of the VP9 reference frame addresses, and the risk of invalidating data before the async GPU thread is done with it.
|
|\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
assert: Avoid empty macros
|
| | | | | | | | |
|
| | |_|_|_|/ /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
common: uuid: Add hex string to UUID constructor
|
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | | |
This allows for easily converting a hex string into a Common::UUID, which is backed by a 128 bit unsigned integer.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
applet_swkbd: Include the null terminator in the buffer size calculation
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Some games may interpret the read string as a null-terminated string instead of just reading the string up to buffer_size.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
hex_util: Fix incorrect array size in AsArray
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Although this isn't used, this is a potential bug as HexStringToArray will perform an out-of-bounds read.
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
config: Read connected setting for controllers
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Currently yuzu will read the mapping but does not connect a controller
despite adding subsequent configurations for it. Read the `connected`
setting for now as a boolean like the Qt frontend.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* nvdec: VA-API
* Verify formatting
* Forgot a semicolon for Windows
* Clarify comment about AV_PIX_FMT_NV12
* Fix assert log spam from missing negation
* vic: Remove forgotten debug code
* Address lioncash's review
* Mention VA-API is Intel/AMD
* Address v1993's review
* Hopefully fix CMakeLists style this time
* vic: Improve cache locality
* vic: Fix off-by-one error
* codec: Async
* codec: Forgot the GetValue()
* nvdec: Address ameerj's review
* codec: Fallback to CPU without VA-API support
* cmake: Address lat9nq's review
* cmake: Make VA-API optional
* vaapi: Multiple GPU
* Apply suggestions from code review
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
* nvdec: Address ameerj's review
* codec: Use anonymous instead of static
* nvdec: Remove enum and fix memory leak
* nvdec: Address ameerj's review
* codec: Remove preparation for threading
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
config: Only read/write current_user on global config
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
network: fix ternary operator in Socket::SendTo
|
|/ / / / / |
|
| |_|/ /
|/| | |
| | | | |
This makes UnswizzleTexture up to two times faster. It is the main bottleneck in NVDEC video decoding.
|
| | | |
| | | |
| | | | |
Makes the default game list folder icons 48x48 by default instead of 64x64, and allows for selecting small (24x24) and large (72x72) icon sizes.
|
|\ \ \ \
| | | | |
| | | | | |
service: set: Correct copy amount in GetAvailableLanguageCodes
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
renderer_vulkan: Implement screenshots
|
| | | | |
| | | | |
| | | | |
| | | | | |
OpenGL and Vulkan images render in different coordinate systems. This allows us to specify the coordinate system of the screenshot within each renderer
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Allows specifying the framebuffer and render area dimensions, rather than being hard coded for the render window.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
vk_rasterizer: Flip viewport on Y_NEGATE
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Matches OpenGL's behavior. I don't believe this register flips geometry,
but we have to try to match behavior on both backends.
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
cmake, ci: Build bundled FFmpeg with yuzu
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Enables CCache on externals if available.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Drops usage of CMAKE_DEPENDENT_OPTION to allow using
YUZU_USE_BUNDLED_FFMPEG as an option on any platform. CI then now builds
FFmpeg always, netting about 10 MB less used on the AppImage.
Also somewhat fixes YUZU_USE_BUNDLED_QT so that it can be used even if
CMake doesn't clean up its state after running the first find_package.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
hle: api_version: Update HOS version to 12.1.0
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
Keeps us up to date with reporting the system version.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
service: ns, set: Add PT_BR (Brazilian Portuguese)
|
| | | | | | | |
|
| | | | | | | |
|
| | |_|_|/ /
| |/| | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
emu_window: Remove global system instance
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
It was just the one in emu_window_sdl2, but since _gl and _vk inherit
from it, they all needed adjustments.
Leaves just the one auto system& in main().
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
renderer_vulkan: Add setting to log pipeline statistics
|
| | |_|_|_|/
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Use VK_KHR_pipeline_executable_properties when enabled and available to
log statistics about the pipeline cache in a game.
For example, this is on Turing GPUs when generating a pipeline cache
from Super Smash Bros. Ultimate:
Average pipeline statistics
==========================================
Code size: 6433.167
Register count: 32.939
More advanced results could be presented, at the moment it's just an
average of all 3D and compute pipelines.
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
applet_swkbd: Correct string buffer size calculation
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
The buffer size here does not include the initial 8 bytes.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
shader: Fold UnpackFloat2x16 and PackFloat2x16
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Simplifies the code a bit when possible. These instructions should be
no-ops codegen wise.
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
shader: Fold integer FMA from Nvidia's pattern
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fold shaders doing "a * b + c" on integers from the pattern generated by
Nvidia's GL compiler.
On a somewhat complex compute shader it reduces the code size by 16
instructions from 2 matches on Turing GPUs.
On Intel as extracted from KHR_pipeline_executable_properties:
Before the optimization:
```
Instruction Count: 2057
Basic Block Count: 45
Scratch Memory Size: 14752
Spill Count: 232
Fill Count: 261
SEND Count: 610
Cycle Count: 11325
```
After the optimization:
```
Instruction Count: 2046
Basic Block Count: 44
Scratch Memory Size: 13728
Spill Count: 219
Fill Count: 268
SEND Count: 604
Cycle Count: 11367
```
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Simplify a bit the logic.
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
service: ns: Map ZH_TW and ZH_CN to Traditional/Simplified Chinese
|
| | | | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|_|_|_|/ /
|/| | | | | | |
common: uuid: Return a lower-case hex string in Format
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
shader: Mark ConvertF16F32 and ConvertF32F16 as fp16 instructions
|
| | |_|_|_|_|/
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes instances where fp16 types are not declared on SPIR-V but they are
used. This shouldn't happen on master, as it's been uncovered by an
additional optimization pass.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
host_memory: enable fastmem on FreeBSD
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
src/common/host_memory.cpp:360:14: error: use of undeclared identifier
'memfd_create'
fd = memfd_create("HostMemory", 0);
^
|
| | |_|_|_|/ /
| |/| | | | |
| | | | | | |
| | | | | | | |
HW.Memory <Critical> common/host_memory.cpp:HostMemory:492: Fastmem unavailable, falling back to VirtualBuffer for memory allocation
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
general: Implement FullscreenMode enumeration
|
| |\ \ \ \ \ \ \
| | | |_|/ / / /
| | |/| | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
We don't need to manually apply this setting now that a template can do
this for us.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Prevents us from using an unclear 0 or 1 to describe the fullscreen
mode.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
applets/web: Addressing QT Navigation issues in Linux
|
| | | | | | | | | |
|
| | |_|_|_|/ / /
| |/| | | | | |
| | | | | | | |
| | | | | | | | |
Focusing on the first link element fixes element navigation upon loading the web applet in games such as Super Mario Odyssey
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|/ / /
|/| | | | | | | |
cmake: unbreak libusb detection on FreeBSD
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
CMake Error at externals/libusb/CMakeLists.txt:120 (add_library):
Cannot find source file:
libusb/libusb/core.c
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .h .hh .h++
.hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .ispc
CMake Error at externals/libusb/CMakeLists.txt:120 (add_library):
No SOURCES given to target: usb
ld: error: undefined symbol: libusb_interrupt_transfer
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::SendVibrations()) in archive src/input_common/libinput_common.a
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::GetGCEndpoint(libusb_device*)) in archive src/input_common/libinput_common.a
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::AdapterInputThread()) in archive src/input_common/libinput_common.a
ld: error: undefined symbol: libusb_error_name
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::SendVibrations()) in archive src/input_common/libinput_common.a
ld: error: undefined symbol: libusb_control_transfer
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::CheckDeviceAccess()) in archive src/input_common/libinput_common.a
ld: error: undefined symbol: libusb_kernel_driver_active
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::CheckDeviceAccess()) in archive src/input_common/libinput_common.a
ld: error: undefined symbol: libusb_close
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::CheckDeviceAccess()) in archive src/input_common/libinput_common.a
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::ClearLibusbHandle()) in archive src/input_common/libinput_common.a
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::Reset()) in archive src/input_common/libinput_common.a
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::Setup()) in archive src/input_common/libinput_common.a
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::AdapterScanThread()) in archive src/input_common/libinput_common.a
ld: error: undefined symbol: libusb_detach_kernel_driver
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::CheckDeviceAccess()) in archive src/input_common/libinput_common.a
ld: error: undefined symbol: libusb_claim_interface
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::CheckDeviceAccess()) in archive src/input_common/libinput_common.a
ld: error: undefined symbol: libusb_get_config_descriptor
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::GetGCEndpoint(libusb_device*)) in archive src/input_common/libinput_common.a
ld: error: undefined symbol: libusb_release_interface
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::ClearLibusbHandle()) in archive src/input_common/libinput_common.a
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::Reset()) in archive src/input_common/libinput_common.a
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::Setup()) in archive src/input_common/libinput_common.a
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::AdapterScanThread()) in archive src/input_common/libinput_common.a
ld: error: undefined symbol: libusb_init
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::Adapter()) in archive src/input_common/libinput_common.a
ld: error: undefined symbol: libusb_open_device_with_vid_pid
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::Setup()) in archive src/input_common/libinput_common.a
ld: error: undefined symbol: libusb_get_device
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::Setup()) in archive src/input_common/libinput_common.a
ld: error: undefined symbol: libusb_exit
>>> referenced by gc_adapter.cpp
>>> gc_adapter.cpp.o:(GCAdapter::Adapter::Reset()) in archive src/input_common/libinput_common.a
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
render_target: Add missing initializer for size extent
|
| | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Everything else has a default constructor that does the straightforward
thing of initializing most members to a default value, except for the
size.
We explicitly initialize the size (and others, for consistency), to
prevent potential uninitialized reads from occurring. Particularly given
the largeish surface area that this struct is used in.
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|/ / /
|/| | | | | | | |
common: fs: fs_util: Add BufferToUTF8String
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Allows for direct conversion to std::string without having to convert std::u8string to std::string
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
video_core/engine: Consistently initialize rasterizer pointers
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Ensures all of the engines have consistent and deterministic
initialization of the rasterizer pointers.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
exception: Make constructors explicit
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Ensures that exception construction is always explicit.
|
| | | | | | | | |
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
We can use the <exception> header instead of pulling in all of the
exception-style classes.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
video_core: Remove some unused variables
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Given this is non-trivial, the constructor is required to execute, so
this removes a bit of redundant codegen.
|
| | | | | | | | |
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Resolves two compiler warnings.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
vulkan_wrapper: Fix SetObjectName() always indicating objects as images
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
We should be using the passed in object type instead.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
general: Rename "Frame Limit" references to "Speed Limit"
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
use_framelimiter was not being used internally by the renderers.
set_background_color was always set to true as there is no toggle for the renderer background color, instead users directly choose the color of their choice.
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | | |
This setting is best referred to as a speed limit, as it involves the limits of all timing based aspects of the emulator, not only framerate.
This allows us to differentiate it from the fps unlocker setting.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
vk_stream_buffer: Remove unused stream buffer
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Remove unused file.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Handle allocation failure in Staging buffer
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
vk_buffer_cache: Add transform feedback usage to null buffer
|
| | |_|_|_|_|/ /
| |/| | | | | |
| | | | | | | |
| | | | | | | | |
Fixes bad API usages on Vulkan.
|
|\ \ \ \ \ \ \ \
| |_|_|/ / / / /
|/| | | | | | | |
vk_compute_pass: Fix pipeline barrier for indexed quads
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Use an index buffer barrier instead of a vertex input read barrier.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
shader_recompiler: Remove unnecessary [[nodiscard]] instances
|
| | |_|_|_|/ /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
[[nodiscard]] doesn't do anything on functions with a void return type
and causes superfluous warnings.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
emit_spirv_instructions: Add missing header guard
|
| |/ / / / / / |
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
emit_glasm: Fix LINESS_ADJACENCY typo in InputPrimitive()
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
This should be LINES_ADJACENCY
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Config-graphics: reword GLASM option
|
|/ / / / / /
| | | | | |
| | | | | | |
Change wording to explain that GLASM is actually short for Assembly Shaders
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
object_pool: Add missing return in Chunk move assignment operator
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Prevents undefined behavior from occurring.
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
control_flow: Fix duplicate switch case in OpcodeToken
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
This previously duplicated the case of the PBK case above it.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
config, nvflinger: Add FPS cap setting
|
| |/ / /
| | | |
| | | |
| | | | |
Allows finer tuning of the FPS limit.
|
|\ \ \ \
| | | | |
| | | | | |
Settings: Eliminate ASYNC & MULTICORE Toggles and add GPU Accuracy to status bar
|
| | | | |
| | | | |
| | | | | |
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
main: Fix screenshot filepath construction
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The screenshot directory path returned does not have a trailing directory separator character. This caused screenshots to be saved in the parent directory of the configured screenshot directory.
This fixes that behavior
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Shader Decompiler Rewrite
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Support ignoring immediate out of bound writes. Writing dynamically out
of bounds is not yet supported (e.g. R0+0x4).
Reading out of bounds yields zero. This is supported checking for the
size from the IR; if the input is immediate, the optimization passes
will drop it.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes race condition caused. The descriptor pool is not thread safe, so
we have to commit descriptor sets within the same thread.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Causes crashes on Link's Awakening intro. It's hard to debug if it's our
fault due to bugs in validation layers.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Remove shader code hash generation code as it's no longer used.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This reverts commit 4a152767286717fa69bfc94846a124a366f70065.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Wait for shader to build before configuring it, and wait for the shader
to build before sharing it with other contexts.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This allows us invalidating OpenGL and Vulkan separately in the future.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Adheres to GL_ARB_separate_shader_objects requirements
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Ensures that states set for a particular stage are not attached to other
stages which may not need them.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Silences the following warnings-turned-errors:
-Wsign-conversion
-Wunused-private-field
-Wbraced-scalar-init
-Wunused-variable
And some other errors
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This change adds two new context menu items to remove either the OpenGL or the Vulkan shader caches individually, and the provides the option to remove all caches for the selected title.
This also changes the behavior of the open shader cache option. Now it creates the shader cache directory for the title if it does not yet exist.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The current implementation is prone to causing graphical issues. Disable until a better solution is implemented.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fix regression on Fire Emblem: Three Houses when using native fp16.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Workaround potential bug on Nvidia's driver where only updating high
attributes leaves low attributes out dated.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
account for the fact that program.*memory_size is in units of bytes.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Used by MH:Rise
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes OpenGL.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
GLASM is getting good enough that we can move it out of advanced
graphics settings. This removes the setting `use_assembly_shaders`,
opting for a enum class `shader_backend`. This comes with the benefits
that it is extensible for additional shader backends besides GLSL and
GLASM, and this will work better with a QComboBox.
Qt removes the related assembly shader setting from the Advanced
Graphics section and places it as a new QComboBox in the API Settings
group. This will replace the Vulkan device selector when OpenGL is
selected.
Additionally, mark all of the custom anisotropic filtering settings as
"WILL BREAK THINGS", as that is the case with a select few games.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Put all varyings into a single std::bitset with helpers to access it.
Implement passthrough geometry shaders using host's.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Useful for mobile and Intel Xe devices.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This ensures the original operand values are not overwritten when being used in the overflow detection.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Port optimization from Vulkan.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes rendering in Devil May Cry without regressing Ori and the Blind Forest.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes shader compilation in Okami HD
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
A buffer binding can change between shaders without changing the
shaders. This lead to outdated bindings on OpenGL.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Atomic operations are considered to have both read and write access. This was not being accounted for.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
WAR for AMD reading zeroes on uniform buffers of size 2.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
~51% faster on Nvidia compared to previous method.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes Ori and the blind forest title screen
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
plus some minor refactoring of implementations
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes flicker seen in XC2
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
and wip nv thread shuffle impl
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fix for SULD.D
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
along with some more cleanup/oversight fixes
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
and more cleanup
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
needed for HW:AoC.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
along with some other misc changes and fixes
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
and add some more separation in the shader for better debugability when dumped
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
and implement misc getters
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
SSBU now working
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
and missed a diff in emit_glsl relating to var alloc ref counting
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
fixes font rendering issues as these were used to index into the ssbos
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
to fix Loop control flow.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
plus some other misc additions/changed
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
and many other misc implementations
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Logic for ordered/unordered ops was wrong.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
based on glasm with some tweaks
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Also add a setting for enable Nsight Aftermath.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Opens the new shader cache directory location for the specified title, if it exists.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The lod query functions exposed by the rendering API's do not make use of the texturearray layer indexing.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Reduces the number of total pipelines generated on Vulkan.
Tested on Super Smash Bros. Ultimate.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The sign bit on integers of size < 32 was not properly preserved in casts
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
BitCast U32 to S32 before converting to float on drivers with broken
signed operations.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes black textures in UE4 games
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes DOOM 2016 missing local memory
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes SULD.D tests.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes pixelated presentation on Intel devices.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Used by Claybook.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes a crash on Age of Calamity cutscenes.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Increases performance significantly on certain titles.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
MSVC generates better code for it.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Recreate only when requested (or sRGB is changed) instead of tracking
the frontend's size. That size is still used as a hint.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
"Negative" offsets don't exist. They are shown as such due to a bug in
nvdisasm.
Unaligned offsets have been proved to read the aligned offset. For
example, when reading an U32, if the offset is 6, the offset read will
be 4.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add support for Polaris AMD devices.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Intel devices pre-Xe don't support this.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes Ori and the Blind Forest's menu on GLASM. For some reason
(probably high level optimizations) it is not sanitized on SPIR-V for
OpenGL. Vulkan is unaffected by this change.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes ubsan issue.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add Intel Xe support.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Causes regressions on Bowser's Fury.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add support for null registers. These are used when an instruction has
no usages.
This comes handy when an instruction is only used for its CC value, with
the caveat of having to invalidate all pseudo-instructions before
defining the instruction itself in the register allocator. This commits
changes this.
Workaround a bug on Nvidia's condition codes conditional execution using
branches.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Reorder them to the bottom of the file for readability.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
With this, Luigi's Mansion's sand renders properly.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Works around a bug where program parameters are only applied to the
current stage, and this one wasn't bound at the moment.
Affects all SSBO usages on GLASM.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Immediate condition refs where not handled correctly. Just move the
value for now.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes the identity removal pass.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Remove lod clamp from texture instructions with lod, as this is not
needed (nor supported).
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes members of unnamed union not being accessible, and one function
without a declaration.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Silence unused variable warning
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit regresses VertexA shaders, their transformation pass has to
be adapted to the new control flow.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
StorageAtomicExchangeU64 is failing test seemingly due to failure storing 64-bit
result into the register
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Use a struct constructor to serialize register allocation arguments to
ensure registers are allocated in the same order regardless of the
compiler used.
The A and B functions can be called in any order when passed as
arguments to "foo":
foo(A(), B())
But the order is guaranteed for curly-braced constructor calls in
classes:
Foo{A(), B()}
Use this to get consistent behavior.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
also fixes ADD and SUB to use U modifier
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Along with implementations of common instructions along the way
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This tries to fix a data race where we'd wait forever for the GPU.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is enabled by an extension instead of the capability.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Workaround bug on Nvidia's OpenGL SPIR-V compiler when using unsigned
texture offsets.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Workaround more bugs on Nvidia's OpenGL SPIR-V compiler.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Worksaround a bug on Nvidia's OpenGL SPIR-V compiler where names are
used for name matching.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This changes how Scheduler::Flush works. It queues the current command
buffer to be sent to the GPU but does not do it immediately. The Vulkan
worker thread takes care of that. Users will have to use
Scheduler::Flush + Scheduler::WaitWorker to get the previous behavior.
Scheduler::Finish is unchanged.
To avoid waiting on work never queued, Scheduler::Wait sends the current
command buffer if that's what the caller wants to wait.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Move code to separate files to be able to reuse it from OpenGL. This
greatly simplifies the pipeline cache logic on Vulkan.
Transform feedback state is not yet abstracted and it's still
intrusively stored inside vk_pipeline_cache. It will be moved when
needed on OpenGL.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Move descriptor lookup and update code to a separate thread. Delaying
this removes work from the main GPU thread and allows creating
descriptor layouts on another thread. This reduces a bit the workload
of the main thread when new pipelines are encountered.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Create multiple descriptor pools on demand. There are some degrees of
freedom what is considered a compatible pool to avoid wasting large
pools on small descriptors.
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Our unit tests were hitting this exception.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Compute shaders spill uniform buffers on storage buffers, increasing the
expected number.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Avoid using std::array to fix Intellisense not properly compiling this
code and disabling itself on all files that include it.
While we are at it, change the code to use u8 instead of size_t for the
number of instructions in an opcode.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Find sibling node containing a nephew searching from the nephew itself
instead of the uncle.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When we can't track the SSBO origin of a global memory instruction,
leave it as a global memory operation and assume these pointers are in
the NVN storage buffer slots, then apply a linear search in the shader's
runtime.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fix two bugs in BFI.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Silences `-Werror=missing-field-initializers` due to missing
initializers.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Throw when other instructions are missing CC.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Mostly fixing unused *, implicit conversion, braced scalar init,
fpermissive, and some others.
Some Clang errors likely remain in video_core, and std::ranges is still
a pertinent issue in shader_recompiler
shader_recompiler: cmake: Force bracket depth to 1024 on Clang
Increases the maximum fold expression depth
thread_worker: Include condition_variable
Don't use list initializers in control flow
Co-authored-by: ReinUsesLisp <reinuseslisp@airmail.cc>
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
It may generate better code on some compilers and it's easier to handle.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Wait from the worker thread for a pipeline to build before binding it to
the command buffer. This allows queueing pipelines to multiple threads.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is needed because pseudo-instructions where invalidated.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This could potentially leave unvisited blocks, leading to illegal phi
nodes.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Also add a missing const on DADD
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Also fix oversight with adding SignedZeroInfNanPreserve execution mode.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
And add a const in FCMP
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
still need to configure some settings for NV denorm flush and intel NaN
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | |/ / /
| |/| | |
| | | | |
| | | | | |
state is unused in the branch where with_state is false
|
|\ \ \ \ \
| | | | | |
| | | | | | |
common: Publically link to pthreads
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
Common requires pthreads but does not refer to it when linking to other
modules. Fix this by linking to Threads where necessary.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Grant a partial license exception to Skyline Emulator.
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
buffer_cache: Misc fixups related to buffer clears
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Avoids reading out of bounds from the stack.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Use existing helper functions and avoid looping when
only one buffer has to be active.
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
Improve management of kernel objects
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- ExitProcess is not actually implemented either way, and this needs more work before we implement.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- Since we do not implement multiprocess right now, this should not be a crashing assert.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
vk_texture_cache: Use VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL when possible
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Silences performance warnings generated from validation layers on each frame.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
yuzu_cmd: Make use of fullscreen_mode setting
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Reverts 48259de0c1a6a1aca77eec31cb8aca5ca2b680dd to the previous
hierarchy and fixes the resolution issue with this fullscreen mode.
yuzu-cmd will now read the fullscreen_mode setting and use it
appropriately.
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
input_common: Make button threshold customizable
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- We're currently timing out with builds exceeding 60M. This doubles the timeout to 120M.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* emu_window_sdl2_vk: Use the generated SDL config
On Linux, due to the way we include SDL2 as a submodule, it makes it
difficult for us to specify which SDL_config.h we intended to include.
Before, CMake would default to the dummy one included with SDL and
ignore the generated one.
This tells CMake to use the generated one. In addition, we define
USING_GENERATED_CONFIG_H to throw an error in case the dummy config is
used by accident. Fixes Vulkan not working on Linux yuzu-cmd.
* emu_window_sdl2_vk: Specify the window manager if it should be supported
The original language "not implemented" is wrong if the implementation
exists but is not compiled. This causes a bit of a debugging headache
when it goes wrong. Log it if the window manager is known before
exiting.
* sdl_impl, emu_window: Remove clang ignore
Fixed upstream by
libsdl-org/SDL@25fc40b0bd44c484051064bc6b945ea9943f88dd
* Enable fullscreen support for Vulkan on yuzu-cmd
Hooked up the existing SDL2 logic for fullscreen support in the Vulkan window of yuzu-cmd.
* Change fullscreen logic to attempt desktop resolution first on yuzu-cmd
Changed the order in which we attempt to switch to fullscreen. First try desktop resolution first, if it fails fall back to streched fullscreen using windowed resolution.
Co-authored-by: lat9nq <22451773+lat9nq@users.noreply.github.com>
Co-authored-by: san <san+gitkraken@smederijmerlijn.nl>
|
|\ \ \ \ \ \ \ \
| |_|_|/ / / / /
|/| | | | | | | |
applet_controller: Add preliminary support for version 8
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Version 8 adds support for key remapping introduced in FW 11.0, we will not be implementing this for now.
|
|\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
input_common: Support SDL toggle buttons
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
DMAEngine: Accelerate BufferClear [accelerateDMA Part 2]
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
bootmanager: Create a dummy render widget
|
| | |_|/ / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
This ensures that Qt positions the render window at the correct position on initializing the respective render backends.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
gl_texture_cache: Workaround slow PBO downloads on radeonsi
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
There's an optimization bug on non-git mesa versions where not
specifying GL_CLIENT_STORAGE_BIT causes very slow reads on the CPU
side.
Add this bit for all vendors.
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / / /
|/| | | | | | | | | |
uuid: Directly compare UUID instead of checking per element
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
We can now update this for C++20
|
| | | | | | | | | |
|
| |/ / / / / / /
|/| | | | | | |
| | | | | | | | |
- value return can be different 0, is not error is normal, error is only -1.
|
|/ / / / / / /
| | | | | | |
| | | | | | | |
Adds support for loading games with multiple programs embedded within such as the Dragon Quest 1+2+3 Collection
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
vk_buffer_cache: Use emulated null buffers for transform feedback
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Vulkan does not support null buffers on transform feedback bindings.
Emulate these using the same null buffer we were using for index
buffers.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
yuzu-cmd: Linux Vulkan fixes
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fixed upstream by
libsdl-org/SDL@25fc40b0bd44c484051064bc6b945ea9943f88dd
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
The original language "not implemented" is wrong if the implementation
exists but is not compiled. This causes a bit of a debugging headache
when it goes wrong. Log it if the window manager is known before
exiting.
|
| | |_|_|/ / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
On Linux, due to the way we include SDL2 as a submodule, it makes it
difficult for us to specify which SDL_config.h we intended to include.
Before, CMake would default to the dummy one included with SDL and
ignore the generated one.
This tells CMake to use the generated one. In addition, we define
USING_GENERATED_CONFIG_H to throw an error in case the dummy config is
used by accident. Fixes Vulkan not working on Linux yuzu-cmd.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
yuzu-cmd: Update settings
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Many settings in common/settings.h are missing from yuzu-cmd, either
they were added to default_ini.h but not read in, or vice versa, or the
setting was altogether omitted from yuzu-cmd. Some defaults were
reported wrong, so those were fixed where noticed.
|
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
These settings are not being read in config.cpp AND they do not exist in
common/settings.h. Remove their references.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Fix Pokemon Let's Go on Vulkan
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Co-authored-by: Vitor K <vitor-kiguchi@hotmail.com>
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Co-authored-by: Vitor K <vitor-kiguchi@hotmail.com>
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
texture_cache: Always prepare image views on render targets
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Images used as render targets were not being "prepared", causing
desynchronizations on the texture cache. Needs #6669 to avoid
performance regressions on certain cooking titles.
- Fixes black shadows on Age of Calamity.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
texture_cache/util: Fix size calculations of multisampled images
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
On the texture cache we handle multisampled images by keeping their real
size in samples (e.g. 1920x1080 with 4 samples is 3840x2160).
This works nicely with size matches and other comparisons, but the
calculation for guest sizes was not having this in mind, and the size
was being multiplied (again) by the number of samples per dimension.
For example a 3840x2160 texture cache image had its width and height
multiplied by 2, resulting in a much larger texture.
Fix this issue.
- Fixes performance regression on cooking related titles when an
unrelated bug was fixed.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
vulkan: Fix misc validation and synchronization errors
|
| | | | | | | | | |
|
| | | | | | | | | |
|
|/ / / / / / / / |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
cmake: Be more specific with Qt
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
When YUZU_USE_BUNDLED_QT was specified on a system with a compliant Qt
version installed, CMake configuration would cause an error due to
mixing YUZU_USE_BUNDLED_QT with the system Qt.
Solution is to only search for Qt when YUZU_USE_BUNDLED_QT is disabled.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
As-is causes issues with building yuzu using MinGW GCC on Linux-based
machines. Only set the variable when needed. (I'm not quite sure how
this was working before.)
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
input_common: Fix mouse panning behaivour
|
| | |/ / / / / / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
configure_audio: Fix volume clamping to 0
|
|/ / / / / / / / |
|
|\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
settings: Eliminate usage of float-point setting values
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | |_|_|/ / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
vk_rasterizer: Only clear valid color attachments
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|_|/ / / / /
|/| | | | | | | |
nvdec: Fix Submit Ioctl data source, vic frame dimension computations
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fixes out of bound memory crashes in Mario Golf
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fixes Mario Golf intro video decoding.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Plus some minor cleanup for consistency.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
applets/web: Resolve Nintendo CDN URLs
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This fixes the hint videos in New Super Mario Bros. U Deluxe
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
general: Reduce compile time / linker usage on MSVC
|
| | | | | | | | | |
|
| | | | | | | | | |
|
|/ / / / / / / / |
|
|\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
npad: Disable vibration check if disabled
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
qt/main: Make title string more i18n-friendly
|
| | |_|/ / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Currently, whether or not the title is 32-bit or 64-bit was being
appended as a suffix to the title, which is fine for left-to-right
languages, but may not always fly so smoothly with some right-to-left
languages.
We also weren't marking that portion of the string as translatable,
which prevents translators from translating part of the title string.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
input_common: Fix build with SDL disabled
|
| | |/ / / / / /
| |/| | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
boxcat,web_service: Silence -Wmaybe-uninitialized when including httplib.h
|
| | | | | | | | | |
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
content_archive: Remove unnecessary include to <ranges>
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fixes build issues on clang.
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / /
|/| | | | | | | | |
audio_core: Replace NaN mix volume samples with silence
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fixes Xenoblade Chronicles 2 blowing out the audio.
|
|\ \ \ \ \ \ \ \ \
| |_|/ / / / / / /
|/| | | | | | | | |
DMAEngine: Introduce Accelerate DMA.
|
| | | | | | | | | |
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
cmake: Only copy pre-commit hook if .git directory exists
|
| | |_|_|/ / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
Allow the usage of git worktrees on yuzu.
|
|\ \ \ \ \ \ \ \ \
| |_|/ / / / / / /
|/| | | | | | | | |
settings: Disable FPS unlimit setting between title launches
|
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Some titles crash if the FPS limit is disabled when launching. This change ensures that titles launch with the limit in-place to avoid issues.
In order to simplify the change, the UI toggle was removed as it will always be overridden at launch to be disabled.
The setting can still be toggled during gameplay with the hotkey, and indicated by the fps label in the status bar.
|
|\ \ \ \ \ \ \ \
| |_|_|/ / / / /
|/| | | | | | | |
Buffer Cache: Fix High downloads / Fence manager: Improve fence checking.
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
core,common,yuzu qt: Add CPU accuracy option 'Auto'
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Decouples the CPU debugging mode from the enumeration to its own
boolean. After this, it moves the CPU Debugging tab over to a sub tab
underneath the Debug tab in the configuration UI.
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Old CPU Accuracy setting won't translate well into since we're adding
one at the beginning of the list. On first boot with the new setting,
just use the default setting.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Now sets optimizations regardless of the Settings. Drops unsafe fastmem
optimization.
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The current CPU accuracy settings in yuzu are fairly polarized and
require more than common knowledge to know what the optimal settings for
yuzu would be. This adds a curated option called 'Auto' that applies a
few at the moment known-good unsafe optimizations to Dynarmic.
|
|\ \ \ \ \ \ \
| |_|_|_|/ / /
|/| | | | | | |
yuzu qt: config: Only save renderer_debug as a global setting
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is a bug fix. Enabling graphics debug mode, then saving a custom
configuration causes graphics debugging to be saved and read from the
custom configuration.
Isolate it the same way we isolate the CPU settings.
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
common: Add stateful thread worker and unique function utilities
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
general: Move most settings' defaults and labels into their definition
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Slight improvements to readability.
Dropped suggestions for string_view (settings.h:101), pass by value
(settings.h:82), reverting double to a float (config.cpp:316), and other
smaller ones, some out of scope.
Addresses review feedback.
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
I must have been asleep or something. These need to be read with the new
ReadBasicSetting function.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes Disgaea 6 Demo issues.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Also adds documentation for the ReadSetting function.
Address review comments.
Co-authored-by: Mai M. <mathew1800@gmail.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
bcat: Fix settings access
telemetry_session: Fix settings accesses
So this is what I get for testing with the web service disabled.
touch_from_button: Fix settings access for clang
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
For simple primitive settings, moves their defaults and labels to
definition time.
Also fixes typo and clang-format
yuzu qt: config: Fix rng_seed
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Creates a new BasicSettings class in common/settings, and forces setting
a default and label for each setting that uses it in common/settings.
Moves defaults and labels from both frontends into common settings.
Creates a helper function in each frontend to facillitate reading the
settings now with the new default and label properties.
Settings::Setting is also now a subclass of Settings::BasicSetting. Also
adds documentation for both Setting and BasicSetting.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Avoids double-setting defaults, and avoids potential accidents when
inconsistently setting the default on new settings.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Requires a default value when creating each per-game setting.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* Fix out of bound blit error
* Fix code read
* Fix ci error
Co-authored-by: Feng Chen <chen.feng@gloritysolutions.com>
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
Support more PCM formats
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
audio_core: Preserve front channel volume after 6 to 2 downmix
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Many games report 6 channel output while only providing data for 2. We only output 2-channel audio regardless, and in the downmixing, front left/right only provide 36% of their volume. This is done assuming all of the other channels also contain valid data, but in many games they don't. This PR alters the downmixing to preserve front left/right, so volume is not lost.
This improves volume in Link's Awakening, New Super Mario Bros U, Disgaea 6, Super Kirby Clash.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
[audren] Report 2 channels active rather than 1
|
| | |/ / / / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
util_shaders: Fix BindImageTexture
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
According to
https://gitlab.freedesktop.org/mesa/mesa/-/issues/3820#note_753371 we
need to set these to true for use with 3D textures.
Fixes BOTW teleporting on RadeonSI and iris.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
common: fs: More misc. changes
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
There's no point in keeping the file open after the write limit is exceeded. This allows the file to be committed to the disk shortly after it is closed and avoids redundantly checking whether or not the write limit is exceeded.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
It became apparent that logging can continuously spam errors that trigger file flushing.
Since committing the files to disk is an expensive operation, this causes unnecessarily high disk usage.
As such, we will revert Flush() to the previous behavior and add a Commit() member function in the event that this behavior is needed.
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
This ensures that GetSize always retrieves the correct file size after a write operation.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
GPU Memory Manager - Correct handling of non continuous backing memory.
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
CMakeLists: Treat -Wsign-compare as an error on GCC/Clang
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
Treats (un)signed comparison mismatches as errors to be consistent with MSVC
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
general: Enforce multiple warnings in MSVC
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This lets us avoid needing to wrap external headers with #pragma warning directives for warnings we treat as errors and avoids generating warnings for external code.
Thanks to MerryMage for pointing this out.
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
service: mii: Retrieve the correct default miis.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
We were including the first 2 default miis which are not meant to be shown in games. With this change, we properly retrieve the 6 default miis shown in games, with 3 of each gender.
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/
|/| | | | | | | |
Slightly refactor NVDEC and codecs for readability and safety
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
input_common: Add missing modifier callback to analog from button
|
| | |_|_|/ / / /
| |/| | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Replace usages of deprecated member functions in QMouseEvent and QWheelEvent
|
|/ / / / / / / / |
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
CMakeLists: Enforce C4189 on MSVC
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This supplements C4101 by detecting initialized but unreferenced local variables
|
|\ \ \ \ \ \ \ \
| |_|_|/ / / / /
|/| | | | | | | |
TextureCache: Fix 1D to 2D overlapps.
|
| | | | | | | | |
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
[audio_core] Decouple audio update and processing, and process at variable rate
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Currently, processing of audio samples is called from AudioRenderer's Update method, using a fixed 4 buffers to process the given samples. Games call Update at variable rates, depending on framerate and/or sample count, which causes inconsistency in audio processing. From what I've seen, 60 FPS games update every ~0.004s, but 30 FPS/160 sample games update somewhere between 0.02 and 0.04, 5-10x slower. Not enough samples get fed to the backend, leading to a lot of audio skipping.
This PR seeks to address this by de-coupling the audio consumption and the audio update. Update remains the same without calling for buffer queuing, and the consume now schedules itself to run based on the sample rate and count.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
cmake: Improve Linux dependency checking for externals
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Currently Qt will download whether or not the target system supports the
package. Normally this isn't an issue since the package manager would
work out the dependencies for us, but in this case we must make sure
everything is in place before downloading the package.
This checks for the package's requirements, as well as tries to provides
hints as to what is required on some of the more cryptic dependencies.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
yuzu requires CMake 3.15 yet find_program was using REQUIRED, which is
only available on 3.18 and later. Instead, we check for
"<VAR>-NOTFOUND".
In addition, check for additional requirements before building libusb or
FFmpeg with autotools. Otherwise, CMake configuration will pass yet
compilation will fail.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
yuzu qt, core: Support LayeredFS mods from SDMC directory
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
We should not apply any mods when dumping a game's RomFS.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This prevents mod files from being locked due to the read-only share flag in Windows.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
If someone else wants to support other mod formats in the SDMC
directory, that can be added later. For now, just allow RomFS modding
here and force people to do other types of mods the old way.
Addresses review comments.
Co-authored-by: LC <mathew1800@gmail.com>
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Enables loading a mod directly from `[yuzu data
directory]/sdmc/atmosphere/contents/[title_id]`. For use with some
homebrew mod managers.
|
| | |_|_|/ / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Enables dumping the RomFS to SDMC directory, specifically '[yuzu data
directory]/sdmc/atmosphere/contents/[title_id]/romfs'.
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
main: Add GPU Vendor name to running title bar
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Makes this list a bit more capable at identifying Mesa drivers. Tries to
deal with two of the overloaded vendor strings in a more generic
fashion.
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
main: Display the instruction set of the running title in the window name
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Displays whether the currently running title uses 64-bit instructions or only 32-bit instructions.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
buffer_cache,texture_cache: Misc fixups from the memory reaper
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fixes a regression unintentionally introduced by the garbage collector.
This makes regular memory downloads only flush the requested sizes.
This negatively affected Koei Tecmo games.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Enforce implicit integer casts to a smaller type as errors.
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | |_|_|/ / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| |_|_|_|/ / /
|/| | | | | | |
libusb: Apple is a POSIX system
|
| |/ / / / / |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
services: Misc. minor changes for latest SDK update.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- TIPC does not use this.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- This is used by the latest update of Doom Eternal.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- This is used by the latest update of Doom Eternal.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- This is used in fw 12.x.x games.
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
vulkan_device: Make device memory match the rest of the file
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
Match the style in the file.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
astc: Various robustness enhancements for the gpu decoder
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We can move them to instead be compile time constants within the shader.
|
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
These changes should help in reducing crashes/drivers panics that may
occur due to synchronization issues between the shader completion and
later access of the decoded texture.
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
common: Replace common_sizes into user-literals
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Removes common_sizes.h in favor of having `_KiB`, `_MiB`, `_GiB`, etc
user-literals within literals.h.
To keep the global namespace clean, users will have to use:
```
using namespace Common::Literals;
```
to access these literals.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
general: Add missing #pragma once directives
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* Add missing includes
* Add array
|
| | | | | | |
|
| | | | | | |
|
|/ / / / / |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
externals: Update fmt to 8.0.0
|
| | | | |
| | | | |
| | | | |
| | | | | |
Also removes some deprecated API usages.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Keeps us up to date with the latest major release.
Also allows compilers that support it to perform compile-time format
string checking.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
[audout] Implement GetAudioOutPlayedSampleCount
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Used in Ninja Gaiden games.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
maxwell3d: Add missing return in default SizeInBytes() case
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | | |
We were returning '1' in ComponentCount()'s default case but were
neglecting to do the same with SizeInBytes().
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
GPU: Implement a garbage collector for GPU Caches (project Reaper+)
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
WIP
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
bootmanager: Use std::stop_source for stopping emulation
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Use its std::stop_token to abort shader cache loading.
Using std::stop_token instead of std::atomic_bool allows the usage of
other utilities like std::stop_callback.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Simple resizing of Per-Game configuration window and removal of useless Help question mark button in the title bar
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
common/detached_tasks: Wait for tasks before shutting down
|
| | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
If this is not waited on, the synchronization primitives are destroyed
whe main exits and the detached task ends up signalling garbage and not
properly finishing.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
input_common/mouse_input: Fix data race
|
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fix data race using std::jthread and std::stop_token.
|
|\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
npad: Fix data race when updating devices
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Add a lock to avoid data races.
This reduces the number of -fsanitize=thread errors significantly.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
common: fs: Miscellaneous changes
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This provides a more concrete example of what a regular file is and isn't.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
These enforce requiring the file to exist prior to opening.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This check was preventing files with the Write or Append file access modes from being created, as per the documented behavior in FileAccessMode.
This amends the check to test for the existence of a filesystem object prior to checking whether it is a regular file.
Thanks to liushuyu for pointing out that removing the check altogether would not guard against attempting to open non-regular files such as directories, symlinks, FIFO (pipes), sockets, block devices, or character devices.
The documentation has also been updated for these functions to clarify that a file refers to a regular file.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Similarly, Flush() is typically called to attempt to flush a file into the disk. In the one case where this is used, we do not care whether the flush has succeeded or not, making [[nodiscard]] unnecessary.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
There are a lot of scenarios where we don't particularly care whether or not the removal operation and just simply attempt a removal.
As such, removing the [[nodiscard]] attribute is best for these functions.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
service: spl: Implement general SPL service
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |_|/ / / / / / /
|/| | | | | | | | |
service: time: Use GetFileRelative to get files within subdirectories
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
The timezone info file can be within subdirectories (such as Asia/Tokyo), use GetFileRelative instead of GetFile to get files within subdirectories.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
vk_master_semaphore: Use jthread for debug thread
|
| | |_|/ / / / / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
ci: windows: Copy the Qt styles directory when packaging
|
| | |_|_|_|_|_|/ /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Qt can make use of qwindowsvistastyle.dll if present, and our MinGW
container has the library, but it was not being copied during the
packaging process. Thus, yuzu looked like a Windows 98 application when
using the PR-verify artifacts.
This copies over the DLL during packaging, for that sweet-sweet Windows
Vista style.
In addition, set the Qt plugins path instead of the plugins/platforms
path. This way we can use the directory directly, rather than appending
a `..` everytime we need something just outside of it.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
core: Make is_powered_on atomic
|
| | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fixes potential data races when shutting down.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
kernel: Fix missing peak set in KResourceLimit::SetLimitValue
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Update dynarmic and add new unsafe CPU option.
|
| | |/ / / / / / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / /
|/| | | | | | | | |
nvflinger: Add experimental toggle to disable buffer swap interval limits
|
| | | | | | | | | |
|
| | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Enabling this setting will allow some titles to present more frames to
the screen as they become available in the nvflinger buffer queue.
|
|\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
externals: httplib: replace custom httplib header with upstream as submodule
|
| | |_|_|_|/ /
| |/| | | | |
| | | | | | |
| | | | | | | |
This also includes a minor change to web_service.cpp - to fix compatibility with upstream changes.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
host_memory: Correct MEM_RESERVE_PLACEHOLDER
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Microsoft defines `MEM_RESERVE_PLACEHOLDER` as `0x00040000`, but our
manually imported version of it drops the last zero.
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
update submodule discord-rpc to latest [now deprecated]
|
|/ / / / / |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
vulkan_debug_callback: Skip logging known false-positive validation errors
|
|/ / / /
| | | |
| | | |
| | | | |
Avoids overwhelming the log with validation errors that are not applicable
|
|\ \ \ \
| | | | |
| | | | | |
Audio: SDL2 audio backend
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
texture_cache/util: Avoid relaxed image views on different bytes per block
|
| | |_|/
| |/| |
| | | |
| | | | |
Avoids API usage errors on UE4 titles leading to crashes.
|
|\ \ \ \
| | | | |
| | | | | |
textures: Add a toggle for GPU Accelerated ASTC decoder
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Per the spec, L1 is clamped to the value 0xff if it is greater than 0xff. An oversight caused us to take the maximum of L1 and 0xff, rather than the minimum.
Huge thanks to wwylele for finding this.
Co-Authored-By: Weiyi Wang <wwylele@gmail.com>
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Users may want to fall back to the CPU ASTC texture decoder due to hangs
and crashes that may be caused by keeping the GPU under compute heavy
loads for extended periods of time. This is especially the case in games
such as Astral Chain which make extensive use of ASTC textures.
|
|\ \ \ \ \
| |_|_|_|/
|/| | | | |
fsp_srv: Fix filesystem access logging
|
| | | | |
| | | | |
| | | | |
| | | | | |
The Append open mode will create a new file if said file does not exist at a given path, making this call redundant.
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This introduces a new setting Enable FS Access Log which saves the filesystem access log to sdmc:/FsAccessLog.txt
If this setting is not enabled, this will indicate to FS to not call OutputAccessLogToSdCard.
Fixes softlocks during loading in Xenoblade Chronicles 2 when certain DLC is enabled.
|
|\ \ \ \
| |/ / /
|/| | | |
common: fs: file: Flush the file to the disk when Flush() is called
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
std::fflush does not guarantee that file buffers are flushed to the disk.
Use _commit on Windows and fsync on all other OSes to ensure that the file is flushed to the disk.
|
|\ \ \ \
| | | | |
| | | | | |
lm: Demote LM guest logs to LOG_DEBUG
|
|/ / / /
| | | |
| | | |
| | | | |
Guest logs are not very useful, as they are intended for use by the game developers during development. As such, they provide little meaning to be logged by yuzu and tend to overwhelm the log output at times.
|
|\ \ \ \
| | | | |
| | | | | |
configure_cpu_debug: Clarify settings behavior
|
| | |/ /
| |/| |
| | | |
| | | | |
This makes it clear that the disabled settings only take effect when CPU Accuracy is set to Debug Mode.
|
|\ \ \ \
| | | | |
| | | | | |
common: fs: Use the normal directory iterator in *Recursively functions
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
MSVC's implementation of recursive_directory_iterator throws an exception on an error despite a std::error_code being passed into its constructor. This is most likely a bug in MSVC's implementation since directory_iterator does not throw an exception on an error.
We can replace the usage of recursive_directory_iterator for now until MSVC fixes their implementation of it.
|
|\ \ \ \
| |_|/ /
|/| | | |
common: logging: Restructure logging backend
|
| | | | |
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
Allows us to forward declare Common::FS::IOFile.
|
|\ \ \
| |/ /
|/| | |
hid: Stub IsFirmwareUpdateAvailableForSixAxisSensor
|
| | | |
|
|\ \ \
| | | |
| | | | |
externals: Don't set FOUND or VERSION on LIBUSB
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes an issue where libusb.h wouldn't be found when building yuzu on
MSVC.
This only affects the "traditional" CMake pathway for linking libusb to
yuzu AKA MSVC. For autotools we still want to set these variables before
configuring SDL.
|
|\ \ \ \
| |/ / /
|/| | | |
yuzu: main: Ensure enough space is available for RomFS dumping
|
| | | |
| | | |
| | | |
| | | | |
This warns the user if there isn't enough free space to dump the entire RomFS to disk. It requires at least the size of the extracted RomFS + 1 GiB as a buffer of free space.
|
|\ \ \ \
| |_|/ /
|/| | | |
Implement/Port Fastmem from Citra to Yuzu
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This falls back to the old approach of using a virtual buffer.
Windows is untested, but this build should fix support for Windows < 10 v1803. However without fastmem support at all.
|
| | | |
| | | |
| | | |
| | | | |
Workaround old headers and libraries shipped on MinGW.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
In theory, if we have 2 MB continously mapped, this should save one layer of TLB.
Let's make it at least more likely by aligning the memory.
|
| | | | |
|
| | | | |
|
| | | | |
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
kernel: KLightConditionVariable: Update implementation to 12.x
|
| | | |
|
| | |
| | |
| | |
| | | |
Updates the implementation of KLightConditionVariable to FW 12.x
|
|\ \ \
| | | |
| | | | |
externals: Update SDL to 2f248a2a
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
cmake: Use autotools for libusb linking generally on GNU, and cleanup
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Turns out that this is possible. Also addresses my own review comment.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Delegates libusb external communication to externals/CMakeLists.txt
Ensures an interface library `usb` for every pathway
input_common just links to the `usb` library now
externals/libusb/CMakeLists.txt sets variables to override SDL2's libusb
finding
Other minor cleanup
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Building libusb was also broken on GCC (and maybe Clang) on our
CMakeLists after upgrading to 1.0.24, but it was not being checked
because our 18.04 container had libusb installed on it.
This builds on the MinGW work from earlier and extends it to the rest of
the GNU toolchains. In addition we make use of pkg-config when present
to find libusb. pkg-config is preferrable because we can specify a
minimum required version.
|
|\ \ \ \
| |_|/ /
|/| | | |
Fix GCC undefined behavior sanitizer.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Wrong alignment in u64 LOG_DEBUG -> memcpy.
* Huge shift exponent in stride calculation for linear buffer, unused result -> skipped.
* Large shift in buffer cache if word = 0, skip checking for set bits.
Non of those were critical, so this should not change any behavior.
At least with the assumption, that the last one used masking behavior, which always yield continuous_bits = 0.
|
|\ \ \ \
| |/ / /
|/| | | |
hle: service: sm: Remove redundant session reservation, etc.
|
|/ / /
| | |
| | |
| | | |
- We were double-reserving, causing us to run out of sessions in Pokemon Sword & Shield.
|
| | |
| | |
| | | |
- Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
|
|\ \ \
| | | |
| | | | |
hle: kernel: KServerSession: Fix client disconnected.
|
| | | |
| | | |
| | | |
| | | | |
- Prevents us from over decrementing num_sessions.
|
| | | | |
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | | |
- Prevents a cloned session's handler from being overwritten by another disconnected session.
- Fixes session handler nullptr asserts with Pokemon Sword & Shield.
|
|\ \ \
| | | |
| | | | |
ci: common: Remove 7z packaging
|
| | | |
| | | |
| | | |
| | | | |
Use XZ instead of gzip for packing. Should save about 10 MB.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Removes the 7z from being package during CI, as only .tar.xz preserves
information needed on Linux, and otherwise is just extremely redundant
to package in addition to the .tar.xz. This affects Linux releases and
PR-verify artifacts only. MSVC releases do not use this script to my
knowledge.
|
|\ \ \ \
| | | | |
| | | | | |
kernel: svc: Add missing error check to CancelSynchronization.
|
|/ / / /
| | | |
| | | |
| | | | |
- Avoids a potential crash if the handle is invalid, and also makes this code accurate to real kernel behavior.
|
|\ \ \ \
| | | | |
| | | | | |
src/common/CMakeLists.txt: fix variable escaping
|
| | | | | |
|
| | | | |
| | | | |
| | | | | |
- Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
limitable_input_dialog: Implement character limiter
|
| | | | |
| | | | |
| | | | |
| | | | | |
When using GetText() you can now choose what set of characters the user can't enter.
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
common/fs/path_util: Remove [[nodiscard]] from function with void return
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We can't make use of the return value here, since we don't a return
value to work with.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
configure_ui: Add translation context for file-scope strings
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
Allows for these strings to show up in the translation files.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
hle: kernel: Remove service thread manager and use weak_ptr.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- We no longer need to queue up service threads to be destroyed.
- Fixes a race condition where a thread could be destroyed too early, which caused a crash in Pokemon Sword/Shield.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
yuzu qt: Start games from context menu
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
This connects the BootGame function to the context menu. In addition,
there is an option to boot without using the custom configuration.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
yuzu-cmd: Fix OpenGL rendering
|
| | | | |
| | | | |
| | | | | |
Co-authored-by: Mai M. <mathew1800@gmail.com>
|
| | |_|/
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
decoders: Avoid out-of-bounds access
|
| | | | |
| | | | |
| | | | |
| | | | | |
continue causes a memory leak in A Hat in Time.
|
| | | | |
| | | | |
| | | | |
| | | | | |
This is not a real fix, so assert here and continue before crashing.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
hle: kernel: Refactor to allocate a ServiceThread per service handler.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- Fixes some crashes introduced by our common intrusive red/black tree impl.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- Previously, we would allocate a thread per session, which adds new threads on CloneCurrentObject.
- This results in race conditions with N sessions queuing requests to the same service interface.
- Fixes Pokken Tournament DX crashes/softlocks, which were regressed by #6347.
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
buffer_cache: Simplify uniform disabling logic
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
result: Add [[nodiscard]] specifiers where applicable
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The result code classes are used quite extensively throughout both the
kernel and service HLE code. We can mark these member functions as
[[nodiscard]] to prevent a few logic bugs from slipping through.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
externals: Update dynarmic
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
yuzu qt: Add settings reset button to general configuration
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Also makes use of std::move, and performs a clang-format cleanup.
This addresses review comments.
Co-authored-by: LC <mathew1800@gmail.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Builds on german77's work to reset all settings back to their defaults.
This include UISettings and Settings values structs, but does not affect
save profiles, input profiles, and game directories.
This works from a button input in configure_general. When activated, it
calls a callback to close the whole configure dialog, then GMainWindow
deletes the old configuration, both on disk and in memory, and
reinitalizes a new one. It also resets a portion of the UI and calls the
telemetry window prompt.
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit does not compile.
Initial work to add and connect a Reset to Defaults button to the
configure_general tab.
Co-authored-by: german77 <juangerman-13@hotmail.com>
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
yuzu-cmd: Add touch_from_button in config file
|
| | |_|/ /
| |/| | | |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
settings: Disable controller preview if controller is not active
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
input_common: Analog button, use time based position
|
| |/ / / / |
|
| |/ / /
|/| | |
| | | |
| | | |
| | | | |
Correct light theme loading
The setLayout call in game list instantiation will call resizing signals with default values in light theme, which was then being erroneously saved. setLayout doesn't seem to call resizing for any other theme, so I'm not sure why that happens.
|
|\ \ \ \
| | | | |
| | | | | |
game_list: Stop the columns resizing on NAND install
|
| | | | | |
|
|\ \ \ \ \
| | |_|_|/
| |/| | | |
yuzu qt: Revert some usages of string_view
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Causes a heap-use-after free reported by AddressSanitizer. This makes
use of std::filesystem::path, but due to that we have to use their
string() function which may not work for all characters.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
fsp-srv: Replace one last instance of RESULT_SUCCESS
|
|/ / / / / |
|
| | | | |
| | | | |
| | | | | |
- Used by Mii Edit
|
|\ \ \ \ \
| | | | | |
| | | | | | |
general: Replace RESULT_NAME with ResultName
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Transition to PascalCase for result names.
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
Transition to PascalCase for result names.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
game_list: Minor for loop optimizations
|
| | |_|/
| |/| |
| | | |
| | | |
| | | | |
There's no need to check the first and last rows since they'll always be the Favorites and AddDir rows.
Also change the name of the clear_all variable for consistency.
|
|\ \ \ \
| | | | |
| | | | | |
common_funcs: Move R_ macros to result.h
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
These macros all interact with the result code type, so they should
ideally be within this file as well, so all the common_funcs machinery
doesn't need to be pulled in just to use them.
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
common: fs: fs_util: Add more string conversion functions
|
| | | | | |
|
|/ / / / |
|
|\ \ \ \
| |_|/ /
|/| | | |
yuzu qt: Handle per-game configs for title id 0
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This addresses review comments.
Co-authored-by: LC <mathew1800@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currently with programs that have a 0 title id, yuzu loads the custom
configuration 0000000000000000.ini for per-game configs. This is not
ideal since many homebrews share this id. Instead for these programs, we
load a config that is simply the file name and `.ini` appended to it.
|
|\ \ \ \
| | | | |
| | | | | |
externals: Use defaults for building SDL2 on WIN32
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
Whatever those settings do breaks controller detection on Windows, at
least with the MinGW container. If-guard it against WIN32 and just let
SDL2 configure using its defaults, aside from static linking.
|
|\ \ \ \
| | | | |
| | | | | |
input_common: Add dual joycon support
|
| | | | | |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
vulkan_memory_allocator: Allow textures to be allocated in host memory
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Allow Vulkan's allocator to use host memory when there's no more device
local memory. This delays OOM, but it will eventually still happen.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
externals: libusb: Use autotools for MinGW
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
After updating to 1.0.24, MinGW fails to build libusb as a result of
numerous errors. So we build libusb their way and let them update the
nontrivial stuff.
This only applies to MinGW: the old path is still in use for Linux
toolchains as well as MSVC.
This will dynamically link libusb, since I hit build errors with the old
way we used to resolve the conflict with SDL2.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
core/memory: Check our memory fallbacks for out-of-bound behavior.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This makes it by far harder to crash yuzu.
Also implement the 48bit masking of AARCH64 while touching this code.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We just create one memory subsystem. This is a constant all the time.
So there is no need to call the non-inlined parent.Memory() helper on every callback.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Update libusb to 1.0.24
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
common: Extract Point struct into common
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This is generic enough that it can be moved into the Common class for
reuse.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
k_class_token: Use variable templates where applicable
|
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Same behavior, less code.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
video_core: gpu: WaitFence: Do not block threads during shutdown.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
- Fixes a hang on shutdown when NVFlinger thread is waiting on a syncpoint that will never occur.
- Commonly observed when stopping emulation in Super Mario Odyssey.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
- This is breaking our build pipelines with Zydis (dynarmic dependency).
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
applets/swkbd: Only read the text check message on Failure/Confirm
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Avoids redundant string copies
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Applications may leave this region of memory uninitialized when the text check result is not either Failure or Confirm.
Attempting to read uninitialized memory may cause an exception within the UTF16 to UTF8 string converter.
Fix this by only reading the text check message on Failure or Confirm.
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|_|_|/
|/| | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
ldn: Add and stub lp2p:sys lp2p:app INetworkServiceMonitor INetworkService
Mario Kart Live: Home Circuit needs lp2p:sys lp2p:app INetworkServiceMonitor INetworkService to be able to progress.
Note: The game still fails to boot from unimplemented LDN and BSD services.
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
externals: Update dynarmic.
|
| | |_|_|_|_|/ / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
The new version supports fastmem on a64.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
kernel: Add missing override specifiers
|
| | |_|_|_|/ / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Over the course of the kernel refactoring a tiny bit of missing
overrides slipped through review, so we can add these.
While we're at it, we can remove redundant virtual keywords where
applicable as well.
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / / /
|/| | | | | | | | | |
k_thread: Move dereference after null check in Initialize()
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Prevents a -Wnonnull warning on GCC.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
hle: kernel: KSlabHeap: Allow host or guest allocations.
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
- Use host allocations for kernel memory, as this is not properly emulated yet.
- Use guest allocations for TLS, as this needs to be backed by DeviceMemory.
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|/ / / / / / /
|/| | | | | | | | | |
Fix two GCC 11 warnings: Unneeded copies.
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
std::move created an unneeded copy.
iterating without reference also created copies.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
core/arm_interface: Call SVC after end of dynarmic block.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
So we can modify all of dynarmic states within SVC without ExceptionalExit.
Especially as the ExceptionalExit hack is dropped on upstream dynarmic.
|
|\ \ \ \ \ \ \ \ \
| |_|/ / / / / / /
|/| | | | | | | | |
hid: ApplyNpadSystemCommonPolicy
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
We already do this specifically for homebrew, so we can keep it stubbed out for the time being
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / /
|/| | | | | | | | |
common/fs/file: Default initialize IOFile members
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Relocates them to the same place the move equivalents are at for
consistent viewing.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
IOFile is a final class, so there's no need for a virtual destructor.
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Prevents a potential uninitialized read vector in the move constructor.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
video_core: rasterizer_cache: Use u16 for cached page count.
|
| | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | | |
- Greatly reduces the risk of overflow, at the cost of doubling the size of this array.
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
cmake: Fix usage of CMAKE_DEPENDENT_OPTION
|
| | |_|_|/ / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
CMAKE_DEPENDENT_OPTION takes a value argument, but as a macro function
it will read a variable name as the name and not the value. For
YUZU_USE_BUNDLED_QT, ensure that we are reading the value of MSVC. For
YUZU_ALLOW_SYSTEM_SDL2, CMAKE_DEPENDENT_OPTION is redundant here anyway
as we don't use that path on any toolchain by default.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
yuzu qt: Add an Apply button to configuration dialogs
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Most of the code already exists to do this, but the Apply button itself
was never added. This adds a button and boolean that tells yuzu to save
the configuration after applying settings, even if close/Cancel is
pressed on the dialog. Changes after applying will not be saved when
Cancel is pressed, though.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
cmake: Download Qt binaries on Linux if needed
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
If the local version of Qt is older than the minimum version required by
yuzu, download a pre-built binary package from yuzu-emu/ext-linux-bin
and build yuzu with it, instead.
This also requires linking yuzu to the correct libraries after building
it, and copying over the required binaries when building yuzu.
This sets the Qt requirement to 5.12, which is intentionally behind the
versions used by our toolchains since they are not all updated yet to
5.15.
|
|\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
core/arm: Drop ChangeProcessorID.
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This code was used to switch the CPU ID on thread switches.
However since "hle: kernel: multicore: Replace n-JITs impl. with 4 JITs.", the CPU ID is not a constant.
This has been dead code since this rewrite, and dropped in dynarmic as well. So there is no need to keep it.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
hid/gesture: Simplify point related code
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Deduplicates a commonly repeated expression.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Makes for deterministic initial state.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
We can now use this in a generic context to reuse it with the finger
position.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Simplifies assignments.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Simplifies some comparisons.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This only represents a single point
|
|\ \ \ \ \ \ \
| |_|_|_|_|_|/
|/| | | | | | |
applets/swkbd: Make use of QueuedConnection in returnPressed signal
|
| | |_|_|_|/
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Some users have reported rare crashes when pressing the Enter key on the keyboard to confirm input in the normal software keyboard, particularly in Super Smash Bros. Ultimate while entering the name of a ruleset or controller layout.
It is suspected that the QLineEdit::returnPressed signal is causing a race condition as confirming input through other means does not produce the crash. Since Qt::QueuedConnection posts an event to the event queue of the callee's thread instead of executing it directly on the caller's thread, this eliminates any potential race conditions from occurring in this scenario.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* common: fs: fs_types: Create filesystem types
Contains various filesystem types used by the Common::FS library
* common: fs: fs_util: Add std::string to std::u8string conversion utility
* common: fs: path_util: Add utlity functions for paths
Contains various utility functions for getting or manipulating filesystem paths used by the Common::FS library
* common: fs: file: Rewrite the IOFile implementation
* common: fs: Reimplement Common::FS library using std::filesystem
* common: fs: fs_paths: Add fs_paths to replace common_paths
* common: fs: path_util: Add the rest of the path functions
* common: Remove the previous Common::FS implementation
* general: Remove unused fs includes
* string_util: Remove unused function and include
* nvidia_flags: Migrate to the new Common::FS library
* settings: Migrate to the new Common::FS library
* logging: backend: Migrate to the new Common::FS library
* core: Migrate to the new Common::FS library
* perf_stats: Migrate to the new Common::FS library
* reporter: Migrate to the new Common::FS library
* telemetry_session: Migrate to the new Common::FS library
* key_manager: Migrate to the new Common::FS library
* bis_factory: Migrate to the new Common::FS library
* registered_cache: Migrate to the new Common::FS library
* xts_archive: Migrate to the new Common::FS library
* service: acc: Migrate to the new Common::FS library
* applets/profile: Migrate to the new Common::FS library
* applets/web: Migrate to the new Common::FS library
* service: filesystem: Migrate to the new Common::FS library
* loader: Migrate to the new Common::FS library
* gl_shader_disk_cache: Migrate to the new Common::FS library
* nsight_aftermath_tracker: Migrate to the new Common::FS library
* vulkan_library: Migrate to the new Common::FS library
* configure_debug: Migrate to the new Common::FS library
* game_list_worker: Migrate to the new Common::FS library
* config: Migrate to the new Common::FS library
* configure_filesystem: Migrate to the new Common::FS library
* configure_per_game_addons: Migrate to the new Common::FS library
* configure_profile_manager: Migrate to the new Common::FS library
* configure_ui: Migrate to the new Common::FS library
* input_profiles: Migrate to the new Common::FS library
* yuzu_cmd: config: Migrate to the new Common::FS library
* yuzu_cmd: Migrate to the new Common::FS library
* vfs_real: Migrate to the new Common::FS library
* vfs: Migrate to the new Common::FS library
* vfs_libzip: Migrate to the new Common::FS library
* service: bcat: Migrate to the new Common::FS library
* yuzu: main: Migrate to the new Common::FS library
* vfs_real: Delete the contents of an existing file in CreateFile
Current usages of CreateFile expect to delete the contents of an existing file, retain this behavior for now.
* input_profiles: Don't iterate the input profile dir if it does not exist
Silences an error produced in the log if the directory does not exist.
* game_list_worker: Skip parsing file if the returned VfsFile is nullptr
Prevents crashes in GetLoader when the virtual file is nullptr
* common: fs: Validate paths for path length
* service: filesystem: Open the mod load directory as read only
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
settings: Suppress duplicate label name warning
|
| |/ / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
CMakeLists: Update zstd to 1.5.0
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
zstd 1.5.0 brings numerous performance improvements to the library, as
can be seen here: https://github.com/facebook/zstd/releases/tag/v1.5.0
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
settings: Forbid docked mode on handheld
|
| |/ / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
kernel: process_capability: Add MapRegion capability
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
- Used by nx-hbloader
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
common/compression: Make use of std::span
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Allows for the incoming data stream to be non-allocating.
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Allows making the incoming data stream non-allocating.
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
input_common: Rewrite sdl analog mapping and fix controller disconnection crash
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
Various improvements to IPC and session management (Part 2)
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- Fixes a use-after-free, work-around until we fixup session/port management.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- There are some issues with the current workaround, we will just use host memory until we have a complete kernel memory implementation.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This reverts commit f2c26443f85a3c3fd43137509368ba5c7ab80ee7.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This reverts commit fc086f93b2165b5c210cb7dcd6c18ebe17f1fd7b.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
gl_device: Intel: Disable texture view formats workaround on mesa
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
applets/swkbd: Send the correct text string on TextCheck::Confirm
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Previously the text string for the inline software keyboard was being sent instead of the normal software keyboard, leading to empty text being sent all the time.
|
|\ \ \ \ \ \ \
| |_|_|_|_|/ /
|/| | | | | | |
hle_ipc: Add a getter for PID
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This is more concise and consistent with the rest of the codebase.
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|_|_|_|_|/
|/| | | | | | |
configuration: Add CPU tab to game properties and slight per-game settings rework
|
| | | | | | |
| | | | | | |
| | | | | | | |
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Drops an unused variant of ApplyPerGameSetting, and turns the QComboBox
variants of SetPerGameSetting into a template.
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Allows setting CPU accuracy to Accurate or Unsafe per-game, as well as
the accuracy options for Unsafe. Debug is not allowed here as a per-game
CPU accuracy.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Originally, every time we add a per-game setting, we'd have to guard for
it when setting it on the global config, and use a specific function to
do it for the per-game config.
This moves the global check into the ApplyPerGameSetting function so
that we can use it for changing both the global and per-game states.
Less work for the programmer.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Monke brain can't remember what all of these does a year later.
|
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | | |
Required to make CPU accuracy and unsafe settings available to use as a
per-game setting.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
parent_of_member: Make sign conversion explicit in OffsetOfImpl()
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Previously these conversions were implicit and causing quite a few
warnings on clang.
|
|\ \ \ \ \ \ \
| |_|_|_|/ / /
|/| | | | | | |
input_common: Sanitize motion data
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
perf_stats: Rework FPS counter to be more accurate
|
| | |_|/ / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The FPS counter was based on metrics in the nvdisp swapbuffers call. This metric would be accurate if the gpu thread/renderer were synchronous with the nvdisp service, but that's no longer the case.
This commit moves the frame counting responsibility onto the concrete renderers after their frame draw calls. Resulting in more meaningful metrics.
The displayed FPS is now made up of the average framerate between the previous and most recent update, in order to avoid distracting FPS counter updates when framerate is oscillating between close values.
The status bar update frequency was also changed from 2 seconds to 500ms.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
KTransferMemory: Return size instead of size * PageSize in GetSize()
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
size is already the size in bytes. We do not need to multiply it by the page size
|
|\ \ \ \ \ \ \
| |_|_|_|_|_|/
|/| | | | | | |
buffer_cache: Ensure null buffers cannot take the fast uniform bind path
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Fixes a crash in New Pokemon Snap
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
CMakeLists: Enforce C4715 on MSVC
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This is similar to -Werror=return-type
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
configure_debug: FIx duplicate labels
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
Duplicate labels were unintentionally introduced due to copy-paste. This silences the compilation warning produced by the presence of these duplicates.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
yuzu/main: Fix version info in logging and about dialog
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
main: Prevent installing base titles into NAND
|
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | | |
Many users have been installing their base titles into NAND instead of adding them into the games list. This prevents users from installing any base titles and warns the user about the action.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
ci: linux: Freeze AppImage binaries
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
A regression was introduced on May 13 by linuxdeploy that causes file
open dialogs to crash yuzu in the AppImage (likely this commit
1e28ee38fa174279defe70cdaadf2a552c80258c from
linuxdeploy/linuxdeploy-desktopfile). Instead of downloading the latest
version from each of the repos we use to build the AppImage, just
download the ones hosted at yuzu-emu/ext-linux-bin, which are the same
binaries we have been using, but verified to be working and won't update
on us beyond our control.
This can eventually be moved into the container itself to remove the
need to download them at build time.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
nvflinger: Create layers when they are queried but not found
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes Shantae softlock on boot.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
core: Make variable shadowing a compile-time error
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Now that we have most of core free of shadowing, we can enable the
warning as an error to catch anything that may be remaining and also
eliminate this class of logic bug entirely.
|
|\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
nifm, ssl: Fix incorrect response sizes
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
On Linux, build SDL2 from externals with HIDAPI support
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
While at it, use better way to enable HIDAPI.
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
main: Add running title's version to window name on EA/mainline
|
| | |_|_|/ / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | | |
Fixes the missing title version number on EA/mainline builds which override the title bar string.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Various improvements to IPC and session management
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
- Fixes our error checking of names as well.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
- Fixes our move handles implementation to actually move objects.
- Simplifies the traditional IPC path.
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
- This was not actually closing sessions before.
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
- This allows us to create a new interface each time ConnectToNamedPort is called, removing the assumption that these are static.
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | |_|_|_|_|/ /
| |/| | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
texture_cache: Handle out of bound texture blits
|
| | |_|_|/ / /
| |/| | | | |
| | | | | | |
| | | | | | | |
Some games interleave a texture blit using regions which are out-of-bounds. This addresses the interleaving to avoid oob reads from the src texture.
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
input_common: Implement SDL motion
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
externals: Update mbedtls to 8c88150ca
|
| | |/ / / /
| |/| | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
externals: Checkout 79e8d17024 for FFmpeg
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
6b6b9e593d does not exist on FFmpeg master, and tag n4.3.1 requires
manually fetching all of FFmpeg's tags. `git` reports that the commit
does not exist initially and can be confusing as a result. Instead,
checkout the immediately previous commit from n4.3.1 on their master
branch.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
ssl: Stub Import(Client/Server)Pki
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- Used in JUMP FORCE Deluxe Edition
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
configure_ui: Call RequestGameListUpdate when toggling "Show Add-Ons Column"
|
| |/ / / / / |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
hid: Improve hardware accuracy of gestures
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
kernel: Eliminate variable shadowing
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Now that the large kernel refactor is merged, we can eliminate the
remaining variable shadowing cases.
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
kernel: Delete unused files
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
externals: Update SDL to 107db2d8
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Building it as a shared library causes issues distributing it to an
AppImage, since linuxdeploy expects the executable to only dynamically
link to system libraries. Additionally, simply dynamically linking to a
library in the binary directory is bound to cause issues.
Solution is to use SDL's CMake switches and build it statically. We also
alias `SDL2` to `SDL2-static` on the external submodule for
compatibility with the rest of the project.
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
In light of 72a49c2bbcce46c24b6d8ee0592989a507dcd68a, the SDL submodule also needs updated. Updates
to the same commit used by the SDL package in ext-windows-bin.
|
|/ / / /
| | | |
| | | | |
- Improves native Switch JoyCon/Pro Controller support.
|
|\ \ \ \
| | | | |
| | | | | |
Kernel Rework: Migrate kernel objects to KAutoObject
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | |/ /
| |/| |
| | | |
| | | | |
- Useful for scenarios where we do not want to inherit from NonCopyable.
|
|\ \ \ \
| |/ / /
|/| | | |
ldr: Simplify memory copy within LoadNro()
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We can use the dedicated memory function for performing copies instead
of reading into a temporary buffer and then immediately writing it back
out to memory.
Eliminates a bit of heap memory churn.
|
|\ \ \ \
| |/ / /
|/| | | |
nvdrv: /dev/nvhost-prof-gpu for production
|
| | | |
| | | |
| | | | |
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
While we're at it, we can fix the is_initialized error code.
This fixes the crashes on Shante
|
|\ \ \ \
| |_|/ /
|/| | | |
service: Remove unused class variables
|
|/ / /
| | |
| | |
| | | |
Prevents some warnings from occurring.
|
|\ \ \
| | | |
| | | | |
service: Resolve cases of member field shadowing
|
|/ / /
| | |
| | |
| | |
| | | |
Now all that remains is for kernel code to be 'shadow-free' and then
-Wshadow can be turned into an error.
|
|\ \ \
| | | |
| | | | |
core: Resolve misc straggler cases of variable shadowing
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Resolves shadowing warnings that aren't in a particularly large
subsection of core. Brings us closer to turning -Wshadow into an error.
All that remains now is for cases in the kernel (left untouched for now
since a big change by bunnei is pending), and a few left over in the
service code (will be tackled next).
|
|\ \ \ \
| |_|/ /
|/| | | |
input_common: Release mouse buttons on out of focus
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
hid: Fix touch not initializing properly if disabled
|
|/ / |
|
|\ \
| | |
| | | |
file_sys: Resolve cases of variable shadowing
|
| | |
| | |
| | |
| | | |
Brings us closer to enabling -Wshadow as an error in the core code.
|
|\ \ \
| | | |
| | | | |
game_list: Fix dir move up/down expand state
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
service: filesystem: Return proper error codes for CreateFile
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This improves the accuracy of CreateFile by returning the correct error codes on certain conditions (parent directory does not exist, path already exists).
This fixes saving and the loading of existing saves in New Pokemon Snap
|
|\ \ \ \
| | | | |
| | | | | |
cmake: Only config Boost during find_package
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Without the CONFIG option, find_package will perform Module search. On
at least Linux Mint 20 (I'm unable to reproduce this on CentOS and Arch
Linux), my guess is that this causes CMake to find "dirty" modules that
modify the configuration state despite the Boost version being too
low/absent.
Use CONFIG to put CMake into pure Config mode and avoid Module search.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
game_list: Update filter results when removing directories
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
hid: Disable touch if setting is not enabled
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
applets/web: Fix a use-after-free when passing in the URL string
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The URL string was being deleted before being used, leading to a use-after-free occurring when it is used afterwards.
Fix this by taking the string by const ref to extend its lifetime, ensuring it doesn't get deleted before use.
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
input_common: Reset GC sticks center by measuring multiple packets
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
hid: Implement SevenSixAxis and ConsoleSixAxisSensor
|
| | | | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|_|_|/ / /
|/| | | | | | |
yuzu: config: Silence narrowing conversion warning on MSVC
|
|/ / / / / / |
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
yuzu: main: Silence type conversion warning on MSVC
|
|/ / / / / |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
loader: Resolve instances of variable shadowing
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
Eliminates variable shadowing cases across all the loaders to bring us
closer to enabling variable shadowing as an error in core.
|
|\ \ \ \
| | | | |
| | | | | |
service: Eliminate cases of member variable shadowing
|
| | |_|/
| |/| |
| | | |
| | | |
| | | | |
Resolves a few localized instances of member variable shadowing. Brings
us a little closer to turning shadowing warnings into errors.
|
|\ \ \ \
| |/ / /
|/| | | |
applets/swkbd: Fix software keyboard button hint scaling
|
| | | |
| | | |
| | | |
| | | | |
Fixes the scaling of the button hints using background images. Now they scale like the rest of the elements.
|
|\ \ \ \
| | | | |
| | | | | |
game_list: Mark games as favorite to make them appear at the top.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Icons are from Icons8.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
nvhost_vic: Fix device closure
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Implements the OnClose method of the nvhost_vic device, and removes the remnants of an older implementation.
Also cleans up some of the surrounding code.
|
|\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
config: Add new keyboard bindings
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
Changes the keyboard bindings to be based on RPCS3's tried and true keyboard bindings.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
vk_texture_cache: Swap R and B channels of color flipped format
|
|/ / / /
| | | |
| | | |
| | | | |
Swaps the Red and Blue channels of the A1B5G5R5_UNORM texture format, which was being incorrectly rendered.
|
|\ \ \ \
| | | | |
| | | | | |
ICommonStateGetter: Stub SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled
|
| | | | |
| | | | |
| | | | |
| | | | | |
- Used by Pixel Game Maker Series Werewolf Princess Kaguya
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
glue: Add ectx:aw service placeholder
|
| | |_|/
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
program_metadata: Set a default resource size when a NPDM is not present
|
| | | | |
| | | | |
| | | | |
| | | | | |
Sets a default size of 0x1FE00000 bytes (510 MiB) for the system_resource_size when a NPDM is not present.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
program_metadata: Explicitly specify copy/move operators/functions
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The generation of the copy assignment operators are deprecated on being
generated when a user-provided destructor is present.
We can explicitly specify that we desire this behavior to keep the class
forward compatible with future standards.
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
lm: Resolve -Wextra-semi warning
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Avoids unnecessary default construction of an entry in cases where no
entry exists before overwriting the created entry.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We can perform the lookup and then do the contains check by checking the
end iterator. The benefit of this is that if we *do* find an entry, then
we aren't hashing into the map again to find it.
We can also get rid of an unused std::vector temporary while we're at
it.
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
Resolves a trivial warning with clang.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
acc/lbl: Remove unused variables
|
| |/ / / / |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
aes_util: Make use of std::span
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
Allows us to simplify the interface quite a bit as it will handle
contiguous sequences for us.
|
|\ \ \ \
| | | | |
| | | | | |
emu_window: unsigned -> u32
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is only a 2-tuple, so it can be converted over to the std::pair
class.
|
| |/ / /
| | | |
| | | |
| | | | |
This is more concise and consistent with the rest of the codebase.
|
|\ \ \ \
| |_|/ /
|/| | | |
yuzu_cmd: Remove unused resource.h
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
service: hid: Get transfer memory for InitializeSevenSixAxisSensor
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
cmake: Download Boost from ext-linux-bin if inadequate local version
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Building SDL2 from externals is incompatible with Conan's version of
libiconv, a requirement of Conan's Boost package. Solution is to use the
same Boost package in use by the linux-fresh container. This tells CMake
to download boost_1_75_0.tar.xz from yuzu-emu/ext-linux-bin at CMake's
configuration step, much the same way Qt and FFmpeg are downloaded for
Windows.
Also makes DownloadExternals.cmake cross-platform. Although the CMake
code is not entirely specific to Linux, only Linux has Boost libraries
available at ext-linux-bin, whereas there is no equivalent Boost package
for Windows at ext-windows-bin. caveat emptor
|
|\ \
| | |
| | | |
cmake: Fix FFmpeg external usage and cleanup
|
| | |
| | |
| | |
| | |
| | |
| | | |
If SDL2 is not found, the error is handled by falling back to externals.
No need spill the full warning at the find_package if it's going to be
handled later, so add QUIET to it.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Sets find_package(FFmpeg) to QUIET instead of REQUIRED. This allows
using the FFmpeg external in cases where there is no suitable installed
version of FFmpeg.
Also fixes a bug where multiple CMake configures causes FFmpeg_LIBRARIES
to concatenate on itself, producing cyclical dependencies. Unsets the
variable before building it in the foreach loop.
Fixes FFmpeg_INCLUDE_DIR not including the headers generated at run
time.
|
|\ \ \
| | | |
| | | | |
time: Fix GetClockSnapshotFromSystemClockContext
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This removes an incorrect alignment usage and corrects the positions of the popped parameters.
- Fixes Super Kirby Clash crashing on boot
|
|\ \ \ \
| |_|/ /
|/| | | |
log/backend: Make use of erase_if
|
| | | |
| | | |
| | | |
| | | | |
We can also avoid redundant constructions of the same string repeatedly.
|
| |/ /
| | |
| | |
| | | |
Same behavior, but less verbose.
|
|\ \ \
| | | |
| | | | |
texture_cache/util: Fix src being used instead of dst within DeduceBlitImages case
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
This line can only ever be reached if src is null, so dereferencing it
here is a logic bug that slipped through.
Instead, we dereference dst instead which is guaranteed to be valid.
|
|\ \ \
| | | |
| | | | |
cmake: Use SDL 2.0.14 and fix scope issue
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
SDL 2.0.14 introduces an incompatibility with Clang, causing it to
trigger -Wimplicit-fallthrough even though it is marked. Ignore it for
now, with a comment mentioning why this is needed.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Forces using SDL 2.0.14. Upgrades the SDL external to that version. Adds
a message when switching to the external.
Fixes an error where input_common only links to SDL when SDL2_FOUND is
set, but externals/CMakeLists cannot set that variable to the required
scope. Switch to using ENABLE_SDL2, which we can use since we now
include the SDL source.
|
|\ \ \ \
| | | | |
| | | | | |
general: Write buffers before pushing raw arguments
|
| | |/ /
| |/| |
| | | |
| | | | |
For consistency with the rest of the service implementations
|
|\ \ \ \
| | | | |
| | | | | |
npad: Remove duplicated class member variable
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
ControllerBase already has a System reference that can be accessed from
this class, so we can get rid of this to make the class layout a little
more straightforward.
|
|\ \ \ \
| |/ / /
|/| | | |
arp: Prevent potential uninitialized read of launch member variable
|
| | | |
| | | |
| | | |
| | | | |
Reduces some verbosity and centralizes the function details in one spot.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If anything happened to call arp functions in the wrong order and called
IRegistrar's Issue function before SetApplicationLaunchProperty, we'd
read from an uninitialized ApplicationLaunchProperty instance.
Instead, we can always initialize it so if this does happen, then the
outcome of doing such a thing is at least consistently reproducible.
|
|\ \ \
| |/ /
|/| | |
ci: linux: Link Boost statically
|
|/ /
| |
| |
| |
| |
| | |
Only affects the AppImage and the raw binaries. Enables running the
executable alone on Linux systems when all other libraries are
compatible.
|
|\ \
| | |
| | | |
externals: Add SDL 2.0.12
|
| | |
| | |
| | | |
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Since Bintray is (soon to be) no more, there needs to be a way to
acquire SDL2. Since 20.04's version is older than our minimum required
version (2.0.12), add it as an external.
|
|\ \ \
| | | |
| | | | |
applets: Send focus state change message on applet state change
|
| | | |
| | | |
| | | |
| | | | |
Fixes the softlock after the controller applet exits in Mario Kart 8 Deluxe.
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
nvdrv: Cleanup CDMA Processor on device closure
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Brings us a step closer to unifying all channels to share a common interface.
|
|\ \ \ \
| |_|/ /
|/| | | |
Project Eleuthia - On-Screen Keyboard and Error Applet Overlays
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The Qt Software Keyboard frontend attempts to mimic the software keyboard rendered by the Nintendo Switch.
This frontend implements multiple keyboard types, such as the normal software keyboard, the numeric pad software keyboard and the inline software keyboard.
Keyboard and controller input is also supported in this frontend.
Keyboard input is handled as native keyboard input, and so the on-screen keyboard cannot be navigated with the keyboard arrow keys as the arrow keys are used to move the text cursor.
Controller input is translated into mouse hover movements on the onscreen keyboard or their respective button actions (B for backspace, A for entering the selected button, L/R for moving the text cursor, etc).
The text check dialogs can also be confirmed with controller input through the use of the OverlayDialog
Massive thanks to Rei for creating all the UI for the various keyboards and OverlayDialog. This would not have been possible without his excellent work.
Co-authored-by: Its-Rei <kupfel@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Co-authored-by: Its-Rei <kupfel@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
An OverlayDialog is an interactive dialog that accepts controller input (while a game is running)
This dialog attempts to replicate the look and feel of the Nintendo Switch's overlay dialogs and
provide some extra features such as embedding HTML/Rich Text content in a QTextBrowser.
The OverlayDialog provides 2 modes: one to embed regular text into a QLabel and another to embed
HTML/Rich Text content into a QTextBrowser.
Co-authored-by: Its-Rei <kupfel@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Moves the existing meta type registration into its own function and adds registration of common integral, floating point and string types.
This function is also now called in the constructor of the GMainWindow instead of on starting a game.
|
| | | |
| | | |
| | | |
| | | | |
We reset all the button states to 0 except the first index (which has all the buttons as pressed) to prevent a button hold being interpreted as a button that was pressed once on the first poll.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Used by Monster Hunter Generations Ultimate
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Avoids unnecessary console spam when the inline software keyboard is used.
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
cmake: Remove use of bintray for externals.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
- Bintray will be deprecated on May 1st 2021 (https://bintray.com/)
- We were previously using this for Qt (non-Windows) and SDL.
- I've moved to bundled SDL on Windows.
|
|\ \ \ \
| |/ / /
|/| | | |
InputCommon: Address mapping and naming issues with SDL2
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
common/log: Move Log namespace into the Common namespace
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Follows our predominant coding style. Also explicitly specifies the move
constructor/assignment operator as well.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Forgot to move this over when I moved the rest of the source files with
lacking namespaces over.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
core: settings: Add setting for debug assertions and disable by default.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- Removes a dependency on core and input_common from common.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- This is a developer-only setting and no longer needs to be enabled by default.
- Also adds "use_auto_stub" setting to SDL frontend while we are here.
- Supersedes #1340.
|
|\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
k_resource_limit: Cleanup of member variables/headers
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
applets/controller: Hook up the "Motion" button functionality
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
I forgot to hook this up during the development of the controller applet, this PR amends that.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
kernel/process: Replace process resource limit instance with the kernel's resource limit
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This commit addresses the inaccurate behavior of kernel processes creating their own resource limit, rather than utilizing the kernel's system-wide resource limit instance.
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
engine_interface: Add missing virtual destructor
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Eliminates a potential bug vector related to inheritance. Plus, we
should generally be specifying the destructor as virtual within purely
virtual interfaces to begin with.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
vk_master_semaphore: Add missing const qualifier for IsFree()
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
We can just reuse the already existing KnownGpuTick() to deduplicate the
access.
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
This member function doesn't modify class state.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
vk_texture_cache: Make use of bit_cast where applicable
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Also clarify the TODO comment a little more on the lacking
implementations for std::bit_cast.
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
texure_cache/util: Resolve implicit sign conversions with std::reduce
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Amends implicit sign conversions occurring with usages of std::reduce
and also relocates it to its own utility function to reduce verbosity a
little bit.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
query_cache: Make use of std::erase_if
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Same behavior, but much more straightforward to read.
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
nvidia_flags: Add missing header guard
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
Prevents potential inclusion compilation errors.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
k_thread: Remove [[nodiscard]] attribute from ClearWaitCancelled()
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
This function has a void return value, so this attribute doesn't apply
to it.
|
|\ \ \ \
| |/ / /
|/| | | |
configure_graphics: Add Borderless Windowed fullscreen mode
|
| | | |
| | | |
| | | |
| | | | |
Several issues have been reported with the borderless windowed fullscreen mode on *nix platforms. Default to exclusive fullscreen mode on these platforms for now.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The borderless windowed fullscreen mode solves several issues with the presentation of the overlay dialogs and on-screen keyboard in exclusive fullscreen mode, and also has other benefits such as smoother gameplay, lower latency and a significant reduction in screen tearing.
Co-authored-by: Its-Rei <kupfel@gmail.com>
|
|\ \ \ \
| | | | |
| | | | | |
vulkan_device: Enable EXT_robustness2 features
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When this was being made mandatory, these enablement of these features was removed, but this is still needed.
Fixes: 757fd1e91716 ("vulkan_device: Require VK_EXT_robustness2")
|
|\ \ \ \ \
| | | | | |
| | | | | | |
vk_buffer_cache: Fix offset for NULL vertex buffers
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The Vulkan spec states:
If an element of pBuffers is VK_NULL_HANDLE, then the corresponding element of pOffsets must be zero.
https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkCmdBindVertexBuffers2EXT.html#VUID-vkCmdBindVertexBuffers2EXT-pBuffers-04112
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
service: time: Setup the network clock with the local clock context
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Setting the network time allows some time based events using the network clock to not reset.
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
externals: Update dynarmic to b2a4da5e
|
|/ / / / / / |
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
renderer_vulkan: Check return value of AcquireNextImage
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
We can get into a really bad state by ignoring this
leading to device loss and using incorrect resources.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
service: time: Fix CalculateStandardUserSystemClockDifferenceByUser
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
CalculateStandardUserSystemClockDifferenceByUser passes in the ClockSnapshots through 2 input buffers and not as raw arguments. Fix this by reading the 2 input buffers instead of popping raw arguments.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
pctl: Rework how pctl works to be more accurate
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Introduces the usage of compatibilities to allow it the module to be closer to how it works on hardware.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
externals: Search for shared opus installation.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
We had used conan for opus before, but there was a bug in the AVX detection.
However we still had the Findopus.cmake file within the repository, but not used.
This patch reenables the Findopus helper and prefer the system wide installation of opus.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Kernel Rework: Derive memory regions from board layout.
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
- Fixes clang errors with mixed enum arithmetic.
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
service: Update service function tables and use proper names
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
kernel: Mark lock helper classes as [[nodiscard]]
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Prevents logic bugs from slipping through.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
If we delete the copy and move constructor, we should also be deleting
the copy and move assignment operators (and even if this were intended,
it would be pretty odd to not document why it's done this way).
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Prevents logic bugs of the kind described in the previous commit from
slipping through.
|
| | |_|_|_|_|_|/ / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Prevents logic bugs like:
KScopedSchedulerLock{kernel};
instead of:
KScopedSchedulerLock lk{kernel};
from slipping through.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
Friend: Stub GetPlayHistoryRegistrationKey
|
| | |_|_|_|/ / / / /
| |/| | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
hid: Update service function tables
|
| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
video_core: Avoid spin loops.
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
There is no need for a busy loop here. Let's just use a condition variable to save some power.
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Else the fence might get submited out-of-order into the queue, which makes testing them pointless.
Overhead should be tiny as the mutex is just moved from the queue to the writing code.
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This was implicitly done by `is_powered_on = false`, however the explicit method allows us to block until the GPU is actually gone.
This should fix a race condition while removing the other subsystems while the GPU is still active.
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
It shall block until there is something to consume in the queue.
And use it for the GPU emulation instead of the spin loop.
This is only in booting the emulator, however in BOTW this is the case for about 1 second.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
service: Update service function tables
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
|/ / / / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
service: hid: Stub SetAnalogStickUseCenterClamp
|
| | |_|_|_|_|_|_|_|/ / /
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
- Used by eBASEBALLパワフルプロ野球2020
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / / / / /
|/| | | | | | | | | | | |
kernel: Increase event and session counts
|
| | |_|_|_|/ / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
12.x increased the number of available sessions and event resource counts
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
service: am: Update service function tables
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | |_|_|/ / / / / / /
| |/| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ / / /
|/| | | | | | | | | | |
service: Add a toggle for auto stub fallback
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Auto-stub is an experimental debugging feature that may cause unforseen bugs. This adds a toggle to only allow auto-stubbing unimplemented functions when explicitly enabled when yuzu is launched.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
For simple services we can implement an automatic stub fallback to help with compatibility until a proper implementation is done.
Co-Authored-By: Chloe <25727384+ognik5377@users.noreply.github.com>
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
nvhost_nvdec_common: Avoid memcpy with null pointers
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Avoid sending null pointer to memcpy as reported by Undefined Behavious
Sanitizer.
Co-authored-by: LC <mathew1800@gmail.com>
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / / / / /
|/| | | | | | | | | | | |
svc: Expand SVC tables
|
| | |_|_|/ / / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
12.x expanded the range of SVC entries from 0x7F to 0xBF (with all new
entries being unused), so we can expand it to also match.
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|_|/ / /
|/| | | | | | | | | | |
service: fs: Update service function tables
|
| | | | | | | | | | | |
|
| | |_|_|/ / / / / /
| |/| | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
nvhost_ctrl_gpu: Avoid sending null pointer to memcpy
|
| | |_|/ / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Undefined Behaviour Sanitizer reports a null pointer is being sent to
memcpy, thought it's "guaranteed to never be null". Guard it with an if
statement, and log when the action has been averted.
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / / /
|/| | | | | | | | | |
service: acc: Update service function tables
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | |/ / / / / / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
common: Move assert failure handling into a cpp file.
|
| | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Advantage: Altering the handler does not need a full recompilation.
Disadvantage: noreturn is droped, so the caller is a bit slower.
We quite often run yuzu with a YOLO assertion handler. In fact, only very few
games run at all with asserts. This patch allows developers to patch the handler
without recompiling everything. The overhead of the missing "noreturn" attribute
shoul be negletable.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
process_capability: Handle extended SVC range
|
| | |_|/ / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
12.x extended the range of SVC IDs, so we need to expand the range of
bits that need to be tested.
The upside of this is that we can eliminate a range check, given the
whole range is used.
|
|\ \ \ \ \ \ \ \ \
| |_|_|/ / / / / /
|/| | | | | | | | |
service: audio: Update service function tables
|
|/ / / / / / / / |
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
vp9: Avoid memcpy with null pointers
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Avoid sending null pointer to memcpy as reported by Undefined Behaviour
Sanitizer. Replaces the std::memcpy calls in SpliceVectors with
std::copy calls. Opting to replace all the memcpy's with copy's.
Co-authored-by: LC <mathew1800@gmail.com>
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
configure_graphics: Prevent stack-use-after-scope
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Address Sanitizer reports stack-use-after-scope on line 231
`vulkan_devices.push_back(QString::fromStdString(name));`. Instead of
using a pointer, copy the string into a std::string and use that,
instead.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
ci: Fix MSVC build with CMake 3.20.0
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
InputCommon: Improve UDP communications
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
arm_dynarmic: Increase size of code cache
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
HID: Fix SL and SR buttons for right joycon
|
| | |_|/ / / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
externals/cmake: Fix case spelling of libzip.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
CMake is case senstive, so Libzip vs LIBZIP was a bug.
Upstream calls themself libzip, so let's pick this naming.
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
externals: dynarmic: Update to latest rev. to increase code size.
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- The current limits are being hit in yuzu with some games.
- This should fix the slowdowns in newer updates for Super Smash Bros. Ultimate.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
[test] arm_dynarmic: Always have a 'valid' jit instance
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|_|/ / / / /
|/| | | | | | | |
ISelfController: Stub SetAlbumImageTakenNotificationEnabled
|
| | |_|/ / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This service call sets an internal flag whether a notification is shown when an image is captured.
Currently we do not support capturing images via the capture button, so this can be stubbed for now.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
video_core: Accelerate ASTC texture decoding using compute shaders
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Reimplements the approach to decoding layers in the compute shader. Fixes multilayer astc decoding when using Vulkan.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
resolves a crash with some anamolous textures found in Astral Chain.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
using a raw string to encapsulate the entire shader code limits us to shaders of size less than 2KB. This change overcomes this limitation.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
ASTC texture decoding is currently handled by a CPU decoder for GPU's without native ASTC decoding support (most desktop GPUs). This is the cause for noticeable performance degradation in titles which use the format extensively.
This commit adds support to accelerate ASTC decoding using a compute shader on OpenGL for GPUs without native support.
|
|\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
yuzu/main: Add user command line argument
|
| | |_|/ / / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| |_|_|_|_|_|/
|/| | | | | | |
vulkan_common: enable OpenGL interop on other Unices
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
HID: Initialize correctly the gesture finger_id and filter invalid inputs
|
| |/ / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
nvdrv: Pass device fd and handle device create methods for device opening and closing
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
We pass the fd to the ioctl as well as alert the device when it's opened or closed to allow for fd unique actions to take place
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
externals: Update dynarmic to c28f13af
|
| | |_|_|_|/
| |/| | | |
| | | | | |
| | | | | | |
AVX-512 bugfixes
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
hle: kernel: Initialize preemption task after schedulers.
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
- Fixes a startup crash that occurs if CoreTiming tries to preempt before kernel initialization completes.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
service: friend: Change logging class from ACC to Friend
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
nvdrv: Change InitializeEx to AllocAsEx
|
| | | | |
| | | | |
| | | | |
| | | | | |
Wee also report the correct "big page size" now in GetVARegions & fix up the struct for IoctlAllocAsEx
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
gl_device: unblock async shaders on other Unix systems
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
Mesa is the primary OpenGL provider on all FreeDesktop systems.
For example, iris is used on Intel GPU + FreeBSD by default.
|
|\ \ \ \
| | | | |
| | | | | |
core: arm_dynarmic: Ensure JIT state is saved/restored on page table changes.
|
| | |_|/
| |/| |
| | | |
| | | | |
- We re-create the JIT here without preserving any state.
|
|\ \ \ \
| |_|/ /
|/| | | |
Fix cancelation of getExistingDirectory dialog
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
gl_device: Block async shaders on AMD and Intel
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currently, the Windows versions of the Intel OpenGL driver and the AMD
proprietary OpenGL driver do not properly support (or in fact degrade)
when asynchronous shader compilation is enabled. This blocks
specifically those drivers from using this feature. This affects
AMDGPU-PRO on Linux, and AMD's and Intel's OpenGL drivers on Windows.
|
|\ \ \ \
| |_|/ /
|/| | | |
externals/libusb/CMakeLists: Add /utf-8 compile option for MSVC
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
IApplicationDisplayService: Stub GetIndirectLayerImageMap
|
| | | |
| | | |
| | | |
| | | | |
Used by games invoking the inline software keyboard such as GNOSIA
|
|\ \ \ \
| | | | |
| | | | | |
service: Refactor spl
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
[testing] fiber: Double default stack size
|
| |/ / /
| | | |
| | | |
| | | | |
Stack overflow occurs with some guest applications
|
|\ \ \ \
| | | | |
| | | | | |
system_version: Update to 11.0.1
|
| | |/ /
| |/| | |
|
|\ \ \ \
| | | | |
| | | | | |
bsd: Avoid writing empty buffers
|
|/ / / /
| | | |
| | | |
| | | | |
Silences log spam on empty buffer writes
|
|\ \ \ \
| |/ / /
|/| | | |
system_archive: Update NgWord archive version
|
| | |/
| |/| |
|
|\ \ \
| |/ /
|/| | |
time: Assign the current time point to the ClockSnapshot
|
| |/
| |
| |
| | |
Fixes the timer in Super Smash Bros Ultimate's Spirit Board.
|
|\ \
| | |
| | | |
time: Fix CalculateSpanBetween implementation
|
| |/
| |
| |
| |
| |
| | |
CalculateSpanBetween passes in the ClockSnapshots through 2 input buffers and not as raw arguments. Fix this by reading the 2 input buffers instead of popping raw arguments.
Partially fixes Super Smash Bros. Ultimate's Spirit Board
|
|\ \
| | |
| | | |
video_core: rasterizer_accelerated: Use a flat array instead of interval_map for cached pages.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
- Uses a fixed 64MB for the cache instead of an ever growing map.
- Slightly faster by using atomics instead of a single mutex for access.
- Thanks for Rodrigo for the idea.
|
|\ \ \
| | | |
| | | | |
qt: Set DISPLAY env var when not present
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes web browser opening (Help > Open Mods Page, Help > Open Quickstart
Guide)
|
|\ \ \ \
| |_|_|/
|/| | | |
Enable toggle buttons for keyboard and mouse
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
renderer_opengl: Use compute shaders to swizzle BGR textures on copy
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In order to force the BGRA8 conversion on Nvidia using OpenGL, we need to forbid texture copies and views with other formats.
This commit also adds a boolean relating to this, as this needs to be done only for the OpenGL api, Vulkan must remain unchanged.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
OpenGL does not natively support BGR internal formats, which causes many BGR textures to render incorrectly, with Red and Blue channels swapped.
This commit aims to address this by swizzling the blue and red channels on texture copies when a BGR format is encountered.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
buffer_cache: Heuristically decide to skip cache on uniform buffers
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Some games benefit from skipping caches (Pokémon Sword), and others
don't (Animal Crossing: New Horizons). Add an heuristic to decide this
at runtime.
The cache hit ratio has to be ~98% or better to not skip the cache.
There are 16 frames of buffer.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
InputCommon: Mouse fixes
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
common: fiber: Use weak_ptr when yielding.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Fixes another small leak.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Avoids a memory leak, as taking a strong reference of the fiber here causes a circular reference.
- Supersedes #6006 with a more narrow fix.
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
external: Update dynarmic
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
hle: kernel: KThread: Rework dummy threads & fix memory leak.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Dummy threads are created on thread local storage for all host threads.
- Fixes a leak by removing creation of fibers, which are not applicable here.
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
CMakeLists: Add /utf-8 compile option for MSVC
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Ensures that the source and execution character sets are in UTF-8
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|/ / /
|/| | | | | | | |
Revert "core: Switch to unique_ptr for usage of Common::Fiber."
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
externals: Update mbedtls to 2.16.9
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
mbedtls 2.16 is the last version which has licensing for GPL 2.0. This updates mbedtls to our own fork of mbedtls 2.16
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
core: Switch to unique_ptr for usage of Common::Fiber.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- With using unique_ptr instead of shared_ptr, we have more explicit ownership of the context.
- Fixes a memory leak due to circular reference of the shared pointer.
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|/ / /
|/| | | | | | | |
vk_command_pool: Reduce the command pool size from 4096 to 4
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This allows drivers to reuse memory more easily and preallocate less.
The optimal number has been measured booting Pokémon Sword.
|
|\ \ \ \ \ \ \ \
| |_|_|/ / / / /
|/| | | | | | | |
InputCommon: Use an unique client id for each udp socket instance
|
| | |_|_|/ / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Network error handling reform
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
`network.cpp` has several error paths which either:
- report "Unhandled host socket error=n" and return `SUCCESS`, or
- switch on a few possible errors, log them, and translate them to
Errno; the same switch statement is copied and pasted in multiple
places in the code
Convert these paths to use a helper function `GetAndLogLastError`, which
is roughly the equivalent of one of the switch statements, but:
- handling more cases (both ones that were already in `Errno`, and a few
more I added), and
- using OS functions to convert the error to a string when logging, so
it'll describe the error even if it's not one of the ones in the
switch statement.
- To handle this, refactor the logic in `GetLastErrorMsg` to expose a
new function `NativeErrorToString` which takes the error number
explicitly as an argument. And improve the Windows version a bit.
Also, add a test which exercises two random error paths.
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/
|/| | | | | | | |
core: Shutdown: Move kernel cleanup to later in shutdown.
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
- Fixes a shutdown crash due to a race condition with GPU still accessing memory.
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
[Service::nifm] Fix bcat_backend's default initialisation
|
|/ / / / / / |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
gpu_thread: Remove Async NVDEC placeholders
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
This commit removes early placeholders for an implementation of async nvdec. With recent changes to the source code, the placeholders are no longer accurate, and can cause a nullptr dereference due to the nature of the cdma_pusher lifetime.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
core: hle: ldn: Error out on call to Initialization.
|
| | |/ / /
| |/| | |
| | | | |
| | | | | |
- Since we do not emulate LDN, returning an error here makes more sense.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
HID: Implement gestures
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
common,video-core: unbreak GCC 11 build on FreeBSD 13
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
src/video_core/shader_notify.cpp: In member function 'void VideoCore::ShaderNotify::MarkShaderComplete()':
src/video_core/shader_notify.cpp:33:10: error: 'unique_lock' is not a member of 'std'
33 | std::unique_lock lock{mutex};
| ^~~~~~~~~~~
src/video_core/shader_notify.cpp:6:1: note: 'std::unique_lock' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
5 | #include "video_core/shader_notify.h"
+++ |+#include <mutex>
6 |
src/video_core/shader_notify.cpp: In member function 'void VideoCore::ShaderNotify::MarkSharderBuilding()':
src/video_core/shader_notify.cpp:38:10: error: 'unique_lock' is not a member of 'std'
38 | std::unique_lock lock{mutex};
| ^~~~~~~~~~~
src/video_core/shader_notify.cpp:38:10: note: 'std::unique_lock' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In file included from src/video_core/dma_pusher.cpp:5:
src/./common/cityhash.h:69:47: error: 'size_t' has not been declared
69 | [[nodiscard]] u64 CityHash64(const char* buf, size_t len);
| ^~~~~~
src/./common/cityhash.h:73:55: error: 'size_t' has not been declared
73 | [[nodiscard]] u64 CityHash64WithSeed(const char* buf, size_t len, u64 seed);
| ^~~~~~
src/./common/cityhash.h:77:56: error: 'size_t' has not been declared
77 | [[nodiscard]] u64 CityHash64WithSeeds(const char* buf, size_t len, u64 seed0, u64 seed1);
| ^~~~~~
src/./common/cityhash.h:80:47: error: 'size_t' has not been declared
80 | [[nodiscard]] u128 CityHash128(const char* s, size_t len);
| ^~~~~~
src/./common/cityhash.h:84:55: error: 'size_t' has not been declared
84 | [[nodiscard]] u128 CityHash128WithSeed(const char* s, size_t len, u128 seed);
| ^~~~~~
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Kernel Rework: Memory updates and refactoring (Part 1)
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
hid: Implement GameCube Controller Vibrations
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Implements both SendVibrationGcErmCommand and GetActualVibrationGcErmCommand, and modifies GetVibrationDeviceInfo to account for additional controllers.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
[OpenGL] Implement glDepthRangeIndexeddNV
|
| | |_|/ / /
| |/| | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
acc: Stub GetNintendoAccountUserResourceCacheForApplication
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This command returns a Nintendo Account ID and writes 2 output buffers. The first output buffer is a NasUserBaseForApplication and the second output buffer is currently empty.
Used by:
- Pokken Tournament DX
- Super Smash Bros. Ultimate
- Super Nintendo Entertainment System - Nintendo Switch Online
- Mario Kart 8 Deluxe
|
|\ \ \ \ \
| | | | | |
| | | | | | |
ci: Add clang build scripts
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Adds scripts that instruct CI to build yuzu with the installed Clang
compiler on yuzuemu/build-environments:linux-fresh.
These scripts are based on the .ci/scripts/linux scripts, minus AppImage
building since that isn't necessary. Re-uses linux-fresh since that
container has Clang 12 installed.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Offsets for TexelFetch and TextureGather in Vulkan
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Formatting
|
|\ \ \ \ \
| | | | | |
| | | | | | |
kernel: Fix resource release exception on exit
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
After rewriting the resource limit, objects releasing reserved resources require a live kernel instance.
This commit fixes exceptions that occur due to the kernel being destroyed before some objects released their resources, allowing for a graceful exit.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
gl_disk_shader_cache: Log total shader entries count on game load
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
common: wall_clock: Fix integer overflow with StandardWallClock.
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
- Previous optimized impl. resulted in an integer overflow, so revert.
- This is our slow/fallback path that should never be really be used, so the optimization in unimportant.
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
vk_update_descriptor: Inline and improve code for binding buffers
|
| | | | |
| | | | |
| | | | |
| | | | | |
Allow compilers with our settings inline hot code.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
externals: Update dynarmic to latest
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Updates dynarmic to its latest commit. Includes a fix for argument
limits while compiling with Clang 12.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
nvdec: Reuse allocated buffers and general cleanup
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Co-Authored-By: LC <712067+lioncash@users.noreply.github.com>
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Revert "Port citra-emu/citra#5123: "SDL: Disable hidapi drivers due to compatibility problems with certain controllers""
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
common/cityhash: Use common types
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Allow sharing return types with the rest of the code base. For example,
we use 'u128 = std::array<u64, 2>', meanwhile Google's code uses
'uint128 = std::pair<u64, u64>'.
While we are at it, use size_t instead of std::size_t.
|
| | |/ / / / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
cmake: Update FFmpeg to 4.3.1
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Download FFmpeg package version 4.3.1. Uses a file defined within the
package to determine with DLLs to copy.
Also corrects a submodule name.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
core: Optimize core timing utility functions to avoid unnecessary math
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Avoids a lot of unnecessary 128-bit math for imperceptible accuracy.
|
| | | | | | | | |
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Improve mouse panning
|
| | |_|/ / / / /
| |/| | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
yuzu/configure_filesystem: Remove "Select Cache Directory" option
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This tab of the settings is already extremely bloated and the setting itself is quite useless.
With a gamelist of almost 30 games, the cache directory is smaller than 1MB for me and therefore I don't see why it needs to be configurable.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
vk_rasterizer: Fix loading shader addresses twice
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This was recently introduced on a wrongly rebased commit.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Port citra-emu/citra#5123: "SDL: Disable hidapi drivers due to compatibility problems with certain controllers"
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
The main problem is the loss of compatibility with some controllers, but there are also
unwanted changes to the behaviour of PS4 controllers (hardcoded lightbar color).
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / /
|/| | | | | | | | | |
fixed_pipeline_cache: Use dirty flags to lazily update key
|
| | |_|_|_|/ / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Use dirty flags to avoid building pipeline key from scratch on each draw
call. This saves a bit of unnecesary work on each draw call.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
core/CMakeLists: Add web_types.h
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
HID: Implement GC controller in game
|
| | | | | | | | | | |
|
| | |_|_|_|_|_|/ /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
debugger: controller: Add access key
|
| | |_|_|_|_|_|/ /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Adds the access key to the Controller P1 selection at View -> Debugger
-> Controller P1. Avoids using the windowTitle as that would add a
literal & to the beginning of the window title.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
audren: Implement I3dl2Reverb
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Most notable fix is the voices in Fire Emblem Three Houses
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Fix LDN Initialization return code & resulting AM overflow
|
| | | | | | | | | | |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
- Fixes crash on Pokemon Sword/Shield when pressing 'Y'.
|
| | | | | | | | | | |
|
|/ / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \
| |_|_|/ / / / / /
|/| | | | | | | | |
vk_resource_pool: Load GPU tick once and compare with it
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Other minor style improvements. Rename free_iterator to hint_iterator,
to describe better what it does.
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|/ / /
|/| | | | | | | |
gl_texture_cache: Lazily create non-sRGB texture views for sRGB formats
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This creates non-sRGB texture views for sRGB texture formats to allow for interfacing with these views in compute shaders using imageLoad and imageStore.
Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
gl_stream_buffer/vk_staging_buffer_pool: Fix size check
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Load the current tick to a local variable, moving it out of an atomic
and allowing us to compare the value without going through a pointer
each time. This should make the loop more optimizable.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fix a tragic off-by-one condition that causes Vulkan's stream buffer to
think it's always full, using fallback memory. The OpenGL was also
affected by this bug to a lesser extent.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
yuzu: Create screenshot path before capture
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Allows screenshots in cases where the screenshots path doesn't already
exist.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
maxwell_to_gl: Remove unused code
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Removes unused declarations in maxwell_to_gl.h
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|/ / / / / / /
|/| | | | | | | | | |
vulkan_device: Require VK_EXT_robustness2
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
We are already using robustness2 features without requiring it
explicitly, causing potential crashes on drivers without the extension.
Requiring this at boot allows better diagnostics for it and formalizes
our usage on the extension.
|
|\| | | | | | | | |
| |_|_|/ / / / / /
|/| | | | | | | | |
video_core: Reimplement the buffer cache
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This is a better default for most games, yielding better performance and
less graphical issues.
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
There was still a code path that could wait on a timeline semaphore tick
that would never be signalled.
While we are at it, make use of more STL algorithms.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Games can bind a null index buffer (size=0) where all indices are
evaluated as zero. VK_EXT_robustness2 doesn't support this and all
drivers segfault when a null index buffer is passed to
vkCmdBindIndexBuffer.
Workaround this by creating a 4 byte buffer and filling it with zeroes.
If it's read out of bounds, robustness takes care of returning zeroes as
indices.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Bind extra bytes beyond the guest API's bound range.
This is due to some games like Astral Chain operating out of bounds.
Binding the whole map range would be technically correct, but games
have large maps that make this approach unaffordable for now.
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Avoids waiting idle while the GPU finishes to do work, and fixes an
issue where we'd wait forever if a single command buffer (logic tick)
all the data.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Due to BindBufferRangeNV limitations and poor quality code emission from
our side, assembly shaders are currently slower than GLSL. Their build
time and feature advantages are still relevant, but they are outweighted
by their runtime performance.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Remove unused interop code from the OpenGL backend.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Sacrify runtime performance to avoid generating kernel exceptions on
Windows due to our abusive aliasing of interop buffer objects.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Detect when a memory region has been joined several times and increase
the size of the created buffer on those instances. The buffer is assumed
to be a "stream buffer", increasing its size should stop us from
constantly recreating it and fragmenting memory.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Allow adding functionality to each function without making CreateBuffer
more complex.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Ports from OpenGL the optimization to skip small 3D uniform buffer
uploads. This will take advantage of the previously introduced stream
buffer.
Fixes instances where the staging buffer offset was being ignored.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This uses a ring buffer similar to OpenGL's stream buffer for small
uploads. This stops us from allocating several small buffers, reducing
memory fragmentation and cache locality.
It uses dedicated allocations when possible.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fix regression on Pascal on Animal Crossing: New Horizons, fixing a
validation error.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Reimplement the buffer cache using cached bindings and page level
granularity for modification tracking. This also drops the usage of
shared pointers and virtual functions from the cache.
- Bindings are cached, allowing to skip work when the game changes few
bits between draws.
- OpenGL Assembly shaders no longer copy when a region has been modified
from the GPU to emulate constant buffers, instead GL_EXT_memory_object
is used to alias sub-buffers within the same allocation.
- OpenGL Assembly shaders stream constant buffer data using
glProgramBufferParametersIuivNV, from NV_parameter_buffer_object. In
theory this should save one hash table resolve inside the driver
compared to glBufferSubData.
- A new OpenGL stream buffer is implemented based on fences for drivers
that are not Nvidia's proprietary, due to their low performance on
partial glBufferSubData calls synchronized with 3D rendering (that
some games use a lot).
- Most optimizations are shared between APIs now, allowing Vulkan to
cache more bindings than before, skipping unnecesarry work.
This commit adds the necessary infrastructure to use Vulkan object from
OpenGL. Overall, it improves performance and fixes some bugs present on
the old cache. There are still some edge cases hit by some games that
harm performance on some vendors, this are planned to be fixed in later
commits.
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Workaround an issue on Nvidia where creating a Vulkan instance from an
active OpenGL thread disables threaded optimization on the driver.
This optimization is important to have good performance on Nvidia
OpenGL.
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Instead of using a two step initialization to report errors, initialize
the GPU renderer and rasterizer on the constructor and report errors
through std::runtime_error.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Ensure the behavior of the previous commit in tests.
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Some games usually write memory pages currently used by the GPU, causing
rendering issues (e.g. flashing geometry and shadows on Link's
Awakening). To workaround this issue, Guest CPU writes are delayed until
the command buffer finishes processing, but the pages are updated
immediately.
The overall behavior is:
- CPU writes are cached until they are flushed, they update the page
state, but don't change the modification state. Cached writes stop
pages from being flushed, in case games have meaningful data in it.
- Command processing writes (e.g. push constants) update the page state
and are marked to the command processor as dirty. They don't remove
the state of cached writes.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
kernel: More accurately utilize resource_limit
|
| | | | | | | | | |
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This implements KScopedReservation, allowing resource limit reservations to be more HW accurate, and release upon failure without requiring too many conditionals.
|
| |/ / / / / /
|/| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* kernel: Unify result codes
Drop the usage of ERR_NAME convention in kernel for ResultName. Removed seperation between svc_results.h & errors.h as we mainly include both most of the time anyways.
* oops
* rename errors to svc_results
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
core: Silence various warnings on Clang 12
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Clang 12 currently falls over in the face of this.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Prevents warnings on clang 12. This path is reachable on other
variations of the build that disable the unreachable macro.
|
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
We were previously the name of the object being initialized within its
own initializer, which results in uninitialized data being read.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
input_common: Add mouse panning
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
software_keyboard: Implement Finalize request command
|
|/ / / / / / / / |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
configure_input_player_widget: Minor cleanup
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Reduces the amount of code to read in expressions a little bit by
separating constituents out a little.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Previously a function was copying an array of 20 std::string instances
by value.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
common: Add -fsized-deallocation as a Clang flag
|
| | |_|_|_|_|_|/ /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
Prevents an operator delete error when compiling with Clang 11.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
core: Add -fsized-dealloction as a Clang flag
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Prevents a operator delete error when compiling with Clang 11.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
configure_input_player_widget: Silence unused variable warnings
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Prevents clang 11 from throwing an error since these variables are
unused.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
udp: Silence warnings on Clang 12
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Simply mark them as unused for now.
|
| | |_|/ / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Prevents compilation errors on clang 12 due to incomplete types within a
unique_ptr member.
|
|\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
video_core: Remove unused functions and variables
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Resolves warnings on clang 12
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Silences a few warnings on clang 12.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* Add some depth to ProJoysticks
* address comments
* clang
* address nits
* fix wrong inner_offset when offset.x was 0
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
cmake: Revert FFmpeg 4.3.1 update for Windows builds
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
The new 4.3.1 externals build seems to not be compatible with yuzu. This also fixes an oversight when renaming CMake variables.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
cmake: FFmpeg linking rework
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Target a specific release version rather than some random development
commit.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Sets YUZU_USE_BUNDLED_FFMPEG as a CMake dependent option that is OFF on
Linux and ON for WIN32 targets. If FFmpeg is not found when
YUZU_USE_BUNDLED_FFMPEG is OFF, the bundled module/binaries are used
instead.
Reverts earlier changes to FindFFmpeg a bit, mostly to keep parity with
it's Citra version a bit. Now _FFmpeg_ALL_COMPONENTS lists all
components. We overwrite FFmpeg_LIBRARIES and FFmpeg_INCLUDE_DIR after
using the module.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Minimal binaries go brrrrrrr
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Tells CMake to look for either nasm or yasm as it is required to build
FFmpeg. Avoids a compile-time error by checking for it during
configuration.
Adds a workaround for Ubuntu Bionic's old version of make not
communicating jobserver details properly.
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Also renames related CMake variables to match both the Find*FFmpeg* and
variables defined within the file. Fixes odd errors produced by the old
FindFFmpeg.
Citra's FindFFmpeg is slightly modified here: adds Citra's copyright at
the beginning, renames FFmpeg_INCLUDES to FFmpeg_INCLUDE_DIR, disables a
few components in _FFmpeg_ALL_COMPONENTS, and adds the missing avutil
component to the comment above.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Copies FFmpeg libraries that were downloaded during the CMake
configuration. Fixes dynamic linking issues with the MinGW builds.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
For Linux, instructs CMake to use the FFmpeg submodule in externals.
This is HEAVILY based on our usage of the late Unicorn. Minimal change
to MSVC as it uses the yuzu-emu/ext-windows-bin. MinGW now targets the
same ext-windows-bin libraries as MSVC for FFmpeg. Adds FFMPEG_LIBRARIES
to WIN32 and simplifies video_core/CMakeLists.txt a bit.
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
olsc: Stub GetSaveDataBackupSetting
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Prevent over scheduling audio events and add motion update unschedule event
|
| | | | | | | | | |
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / /
|/| | | | | | | | |
string_util: Remove MSVC workaround for converting between UTF8/UTF16
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This has been fixed as of Visual Studio 2019 Version 16.2
|
|\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
Settings: Make settings controller image change with controller input
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
svc: Provide more detailed error logs for svc functions
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Allows SVC calls to have much more informative information during error
cases. This also doesn't hide control flow returns from the reader.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
renderer_opengl: Update OpenGL backend version requirement to 4.6
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
video_core: Delete morton
|
| | |_|_|_|/ / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
moron.h & morton.cpp are not used anywhere and are just empty files
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
lm: Fix ReadLeb128
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fixes assertion on Bloodstained Ritual of the Night.
We would over read sometimes, this is fixed by checking if the top bit is set in the first iteration. We also lock the loop off to be only the max size of the type we can fit. Finally we changed an incorrect print of "DEBUG" to "TRACE" to reflect the proper log severity
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
pl_u: Fix read out of bounds
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
ring_buffer: Remove granularity template argument
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Non-obvious bug in RingBuffer::Push(std::vector<T>&) when granularity != 1
Just remove it altogether because we do not have a use for granularity != 1
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / /
|/| | | | | | | | | |
k_address_arbiter: Minor cleanup
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Allows for more descriptive error messages and also doesn't hide
control-path exit returns from the reader.
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
This is a useful function in a generic context or with types that
overload unary operator&. However, primitives and pointers will never do
this, so we can opt for a more straightforward syntax.
|
| | |_|/ / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This code is never used, so we can remove it. It's in version control,
so it can always be brought back when needed.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
HID: Update the HID service to match more closely to switchbrew part 1
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Kernel Rework: Refactor KEvent/KReadableEvent/KWritableEvent
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
k_priority_queue: Minor cleanup
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Given these are only used as function existence checks, we can simplify
some usages of declval, given they aren't particularly useful here.
Reduces a few template instantiations, which at most reduces compile
times a tiny bit.
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
We can make use of the _t variants of the templates to cut down on a
little bit of verbosity.
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
An identifier containing a starting underscore followed by a capital
letter is reserved by the standard. It's trivial to avoid this by moving
the underscore to the end of the identifier.
While the likelihood of clashing here being minimal, we can turn a
"should not break" scenario into a definitive "will not break" one, so
why not?.
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / /
|/| | | | | | | | |
IApplicationFunctions: Implement GetHealthWarningDisappearedSystemEvent
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / /
|/| | | | | | | | |
video_core: host_shaders: Don't pass --quiet to glslangValidator if unavailable
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Prevents CMake from calling `glslangValidator` with `--quiet` when it is
not available, i.e. on older downstream versions from Ubuntu.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
k_affinity_mask: Avoid implicit truncation to bool
|
| | |_|/ / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This can cause compiler warnings. Instead, we can explicitly add a
boolean expression around it to naturally turn the result into a bool.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
key_manager: Create the keys directory if it does not exist
|
|/ / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
config: Always update handheld config
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
audren: Disable reverb for the time being
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
As this is causing issues in a few games, it's best to have it disabled until it's completely implemented
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
kernel: Rewrite resource limit to be more accurate
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Matches closer to hardware
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
acc: Fix error when second user is selected
|
| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
Avoid overwriting username
|
| |/ / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / / / /
|/| | | | | | | | | | |
settings: Log the cache, config and mod load directories
|
|/ / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / /
|/| | | | | / / / /
| | |_|_|_|/ / / /
| |/| | | | | | | |
hid: Only update motion for npad and prevent over scheduling events
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | |_|_|_|/ / / /
| |/| | | | | | | |
arm_dynarmic_32: Print out CPSR.T on exception
|
|/ / / / / / / / |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
nifm: Stub GetCurrentNetworkProfile and GetCurrentIpConfigInfo
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
- Used by Lets Sing 12
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
- Used by Minecraft Bedrock Edition
- Used by Bloons TD 5
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / /
|/| | | | | | | | |
nifm: Fix GetAppletInfo stub
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
am/IApplicationFunctions: Stub IsGamePlayRecordingSupported
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Used by RetroArch
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
prepo: Stub RequestImmediateTransmission and GetTransmissionStatus
|
| | | | | | | | | | | |
|
| | |_|/ / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
- Used by Animal Crossing: New Horizons
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
analog_from_button: Fix update_thread.join exception
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
This commit aims to address an exception that occurs when trying to join the Analog object's update_thread.
By using an atomic bool for the status of the update thread, we ensure its value is consistent across the threads accessing it.
|
|\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
bsd: Fix EventFd stub
|
|/ / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \
| |_|/ / / / / / /
|/| | | | | | | | |
bsd: Fix GetSockOpt stub
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
am: Stub TryPopFromFriendInvitationStorageChannel
|
| | |_|_|/ / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | | |
Used by Family Feud
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
bsd: Stub EventFd
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Used by Family Feud
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Rewrite KThread to be more accurate
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- This is a workaround that does not belong in a kernel primitive.
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- This can happen if called from an idle or suspension thread.
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
video_core/memory_manager: Add BytesToMapEnd
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Track map address sizes in a flat ordered map and add a method to query
the number of bytes until the end of a map in a given address.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
prepo: Stub GetSystemSessionId
|
| | |_|_|_|/ / / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
externals: Dynarmic: Update to latest to include A32 ISB hook.
|
| | |_|_|/ / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
- Fixes perf. issues with Megadimension Neptunia VII.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | / / / /
| | |_|_|/ / / /
| |/| | | | | | |
Fix connect and disconnect controller events
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
audout: FlushAudioOutBuffers
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fixes Devil May Cry
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
sockets: Stub GetSockOpt
|
| | |_|/ / / / /
| |/| | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
dynarmic: Do not flush cache when executing an ISB instruction
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
vk_scheduler: Fix unaligned placement new expressions
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
We were accidentaly creating an object in an unaligned memory address.
Fix this by manually aligning the offset.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
prepo: Fix BufferDescriptorX invalid buffer index errors and add New variants of SaveReport
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
The second input buffer could be optional when prepo/srepo is called, test for the availability of the second buffer prior to reading from it.
|
| | |_|/ / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Allows us to test whether a buffer can be read from or written to memory
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
hid: Cleanup SixAxisFusionParameters
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
gl_shader_decompiler: Fix constant buffer size calculation
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
The divide logic was wrong and can cause an uniform buffer size
overflow.
|
| |_|/ / / / / / / /
|/| | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Astral Chain crashes Intel's SPIR-V compiler when using fp16.
Disable this while the vendor works on a fix.
|
|\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
renderer_opengl: Avoid precompiled cache and force NV GL cache directory
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Setting __GL_SHADER_DISK_CACHE_PATH we can force the cache directory to
be in yuzu's user directory to stop commonly distributed malware from
deleting our driver shader cache. And by setting
__GL_SHADER_DISK_CACHE_SKIP_CLEANUP we can have an unbounded shader
cache size.
This has only been implemented on Windows, mostly because previous tests
didn't seem to work on Linux.
Disable the precompiled cache on Nvidia's driver. There's no need to
hide information the driver already has in its own cache.
|
|\ \ \ \ \ \ \ \ \
| |_|/ / / / / / /
|/| | | | | | | | |
HID: Stub Set/Get/Reset SixaxisSensorFusionParameters
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
hle: Implement remaining services for Stereo Vision
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Used by Zelda Breath of the Wild, Super Mario Odyssey and Nintendo Labo
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
psm: IPsmSession
|
| | | | | | | | | | |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Used by homebrew menu
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
mii: Fix BuildRandomStoreData & Cleanup raw_data
|
| | |_|/ / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Cleaned up mii raw data to reflect the underlying values instead of just a chunk of bytes.
Fixed BuildRandomStoreData not actually generating random miis properly. "values" should be a u32, not a u8.
|
|\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
lm: Recode LM service
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Rework the service to spit out to logs instead of a seperate file as well as fix any crashes caused by lm.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
nvdrv: Unregister already registered events
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
video_core/memory_manager: Flush destination buffer on CopyBlock
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This function was not being used.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
When we copy into a buffer, it might contain data modified from the GPU
on the same pages. Because of this, we have to flush the contents before
writing new data.
An alternative approach would be to write the data in place, but games
can also write data in other ways, invalidating our contents.
Fixes geometry in Zombie Panic in Wonderland DX.
|
| | |/ / / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Allow flushing rasterizer contents based on a GPU address.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
Revert "Start of Integer flags implementation"
|
|/ / / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
This reverts #4713. The implementation in that PR is not accurate.
It does not reflect the behavior seen in hardware.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
vk_graphics_pipeline: Fix narrowing conversion on MSVC
|
|/ / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
video_core: Silence the remaining gcc warnings and enforce them
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
vk_texture_cache: Support image store on sRGB images with VkImageViewUsageCreateInfo
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Vulkan 1.0 didn't support creating sRGB image views on an ABGR8 VkImage
with storage usage bits. VK_KHR_maintenance2 addressed this allowing to
reduce the usage bits on a VkImageView.
To allow image store on non-sRGB image views when the VkImage is created
with sRGB, always create VkImages without sRGB and add the sRGB format
on the view.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
vfs_real: When moving files or directories, don't assume file opening will succeed
|
| | |/ / / / / / / / / /
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Found this via a warning, but it's a substantive fix.
Since this is only for a cache, it should be safe to silently drop the
entry if opening fails. I think.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
vulkan_device: Lift VK_EXT_extended_dynamic_state blacklist on RDNA
|
|/ / / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
It seems to be safe to use this on new drivers.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / / / / /
|/| | | | | | | | | | | |
vk_pipeline_cache: Properly bypass VertexA shaders
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
The VertexA stage is not yet implemented, but Vulkan is adding its
descriptors, causing a discrepancy in the pushed descriptors and the
template. This generally ends up in a driver side crash.
Bypass the VertexA stage for now.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / / / / /
|/| | | | | | | | | | | |
host_shaders/cmake: Pass --quiet to glslang to keep it quiet
|
| | |/ / / / / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Silences noisy builds on toolchains.
|
|\ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / /
|/| | | | | | | | | | |
hle: service: am: Stub ILibraryAppletAccessor::PresetLibraryAppletGpuTimeSliceZero.
|
| | |_|/ / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
- Used by Monster Hunter Rise demo.
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
sdl_impl: Set the maximum vibration duration to 1 second
|
|/ / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / /
|/| | | | | | | | | |
nsight_aftermath_tracker: Fix build issues when enabled
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Fix "message(ERROR ..." to "message(FATAL_ERROR ..." to properly stop
cmake when Nsight Aftermath can't be configured.
|
| | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fixes a bunch of build errors when Nsight Aftermath is properly enabled.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
lbl: Implement most of lbl
|
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Pretty basic service, only thing left to do is handle setting applying once set:sys is implemented
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Start of Integer flags implementation
|
| |\ \ \ \ \ \ \ \ |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / / /
|/| | | | | | | | | |
acc: Stub StoreSaveDataThumbnail
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Fixes ACA NEOGEO METAL SLUG hanging on boot.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
Bump conan SDL2 version to 2.0.14
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Update conan package version used for building.
A couple of new joystick-related functions might pose interest to yuzu's input system. Some sort of LED management have been added, but it doesn't seem to support leds used for player number indication JoyCons/ProCons use.
|
| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / /
|/| | | | | | | | | | |
bit_util: Unify implementations of MostSignificantBit32/MostSignificantBit64
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
We can use the standardized CLZ facilities to perform this. This also
allows us to make utilizing functions constexpr and eliminate the
inclusion of an intrinsics header.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
HID: Add multitouch support
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
vk_shader_decompiler: Show comments as OpUndef with a type
|
| | |_|_|_|_|_|/ / / / /
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Silence the new validation layer error about SPIR-V not allowing OpUndef
on a OpTypeVoid, even when the SPIR-V spec doesn't say anything against
it.
They will be inserted as an undefined int to avoid SPIRV-Cross and
validation errors, but only when a debugging tool is attached.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ / / / /
|/| | | | | | | / / / /
| | |_|_|_|_|_|/ / / /
| |/| | | | | | | | | |
Fix player 1 turning on handheld and not updating handheld settings
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / / / /
|/| | | | | | | | | | |
Port citra-emu/citra#5344: "game_list: Fix folder reordering"
|
| | |_|_|/ / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
The bug(s) happened because we swapped the contents on values.game_dirs, but the pointer each item had to their respective game_dir wasn't updated. This made it so that the item had the wrong game_dir associated with it after a "move up" or "move down" operation. It can be observed by choosing "open directory location" after such operation.
Changed from raw pointer to an index because it's equivalent but a bit clearer, but the change is not essential.
Co-Authored-By: Vitor K <29167336+vitor-k@users.noreply.github.com>
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
texture_cache/util: Resolve -Wsign-compare warning
|
| | |/ / / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Resolves a -Wsign-compare warning on Clang.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
configure_service: Only compile FormatEventStatusString when YUZU_ENABLE_BOXCAT is enabled
|
| | |/ / / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
The function is unused if YUZU_ENABLE_BOXCAT is disabled, causing a
-Wunused-funciton error when compiled.
Wrapping it with `#ifdef YUZU_ENABLE_BOXCAT` to prevent compiling the
function when the variable is disabled. Opting to not use [[maybe
unused]] in case the function is totally unused in the future.
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
npad: Add check for HANDHELD_INDEX in UpdateControllerAt()
|
|/ / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
core: Silence Wclass-memaccess warnings and enforce it
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Treat -Wclass-memaccess as an error.
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
This requires making several types trivial and properly initialize
them whenever they are called.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
video_core: Resolve -Wdocumentation warnings
|
| | |/ / / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Silences some -Wdocumentation warnings on Clang.
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
vulkan_debug_callback: Add missing header guard
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Prevents inclusion issues from occurring.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
input_interpreter: Mark two member functions as const
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
These aren't stateful functions, so we can make use of const.
While we're at, we can resolve some -Wdocumentation warnings.
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
buffer_cache/buffer_base: Add a range tracking buffer container and tests
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Due to how error prone the container design is, this commit adds unit
tests for it.
Some tests taken from here are based on bugs from using this buffer
container in games, so if we ever break it in the future in a way that
might harm games, the tests should fail.
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
It keeps track of the modified CPU and GPU ranges on a CPU page
granularity, notifying the given rasterizer about state changes
in the tracking behavior of the buffer.
Use a small vector optimization to store buffers smaller than 256 KiB
locally instead of using free store memory allocations.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
input_interpreter: Add method to check for a button press state
|
|/ / / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
This allows to check for continuous input for the duration of a button press/hold
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
X86/NativeClock: Improve performance of clock calculations on hot path.
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
common/tree: Convert defines over to templates
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Reworks the tree header to operate off of templates as opposed to a
series of defines.
This allows all tree facilities to obey namespacing rules, and also
allows this code to be used within modules once compiler support is in
place.
This also gets rid to use a macro to define functions and structs for
necessary data types. With templates, these will be generated when
they're actually used, eliminating the need for the separate
declaration.
|
| | |/ / / / / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Makes for less code to take care of.
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / / /
|/| | | | | | | | | | |
vulkan_memory_allocator: Improvements to the memory allocator
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Use the Download memory type where it matters.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Implements the allocator logic to handle download memory types. This
will try to use HOST_CACHED_BIT when available.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Allow users of the allocator to hint memory usage for downloads. This
removes the non-descriptive boolean passed for "host visible" or not
host visible memory commits, and uses an enum to hint device local,
upload and download usages.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Allow using the abstraction from the OpenGL backend.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
"Memory manager" collides with the guest GPU memory manager, and a
memory allocator sounds closer to what the abstraction aims to be.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Fix a bug where the memory allocator could leave gaps between commits.
To fix this the allocation algorithm was reworked, although it's still
short in number of lines of code.
Rework the allocation API to self-contained movable objects instead of
naively using an unique_ptr to do the job for us. Remove the VK prefix.
|
|\ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / /
|/| | | / / / / / / /
| | |_|/ / / / / / /
| |/| | | | | | | | |
common/common_funcs: Rename INSERT_UNION_PADDING_{BYTES,WORDS} to _NOINIT
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
INSERT_PADDING_BYTES_NOINIT is more descriptive of the underlying behavior.
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / /
|/| | | | | | | | | |
common/timer: Remove
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This is a leftover from citra and dolphin that isn't used at all,
particularly given the <chrono> header exists.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
common/alignment: Rename AlignBits to AlignUpLog2 and use constraints
|
| | | | | | | | | | |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
AlignUpLog2 describes what the function does better than AlignBits.
|
|\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
common/bit_util: Replace CLZ/CTZ operations with standardized ones
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Makes for less code that we need to maintain.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
common/color: Remove
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This is a leftover from Citra we no longer use.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
cmake: Remove yuzu_tester
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
We never ended up using yuzu_tester.
Removing it saves code duplication with yuzu_cmd, and distribution size on
prebuilt packages.
For unit testing, we can use catch2 from guest code and dump the results
to a file. Then execute yuzu from a script on ci if we want this to be
automated.
|
|\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
{video_,}core/cmake: Remove Werror flags already defined code-base wide
|
| | | | | | | | | | |
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
These flags are already defined in src/cmake.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
cmake: Enforce -Wunused-function code-base wise
|
| | | | | | | | | | |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Stops us from merging code with unused functions in the future.
If something is invoked behind conditionally evaluated code in
a way that the language can't see it (e.g. preprocessor macros), the
potentially unused function should use [[maybe_unused]].
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
vulkan_common: Silence missing initializer warnings
|
| |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Silence warnings explicitly initializing all members on construction.
|
|\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
vulkan_device: Enable shaderStorageImageMultisample conditionally
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fix Vulkan initialization on ANV.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
astc: Make the decoder more robust to invalid data
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Invalid ASTC textures seem to write more bytes here, increase
the size to something that can't make us push out of bounds.
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Avoid out of bound reads on invalid ASTC textures.
Games can bind invalid textures that make us read or write out of bounds.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
ci/linux: Make Mainline AppImages updateable
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Moves the final step for building the AppImage to the upload script.
Instructs appimagetool to embed update information into the AppImage if
the release target is Mainline. Also tells it to create a zsync file to
enable partial-downloads when updating the AppImage.
Also renames the AppImage from `yuzu-{version info}-x86_64.AppImage` to
`yuzu-{version info}.AppImage` to avoid a bug in the downloads page at
yuzu-emu.org/downloads.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
yuzu: Remove unused variables in Qt code
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Removes two unused variables in out Qt code. In this case the removal of
these two results in less allocations, given std::map allocates on the
heap.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
configure_motion_touch: Migrate off QRegExp to QRegularExpression
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
QRegularExpression was introduced in Qt 5 as a better replacement for
QRegExp. In Qt 6.0 QRegExp is removed entirely.
To remain forward compatible with Qt 6.0, we can transition over to
using QRegularExpression.
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
configure_motion_touch: Prevent use after move in ApplyConfiguration()
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
touch_engine was being compared against after being moved into the
setter for the engine, so this comparison wouldn't behave properly.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Fix IP validator error
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
yuzu: Migrate off of setMargin() to setContentsMargins()
|
| | |_|/ / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
setMargin() has been deprecated since Qt 5, and replaced with
setContentsMargins(). We can move over to setContentsMargins() to stay
forward-compatible with Qt 6.0.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
vulkan_device: Remove requirement on shaderStorageImageMultisample
|
|/ / / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
yuzu doesn't currently emulate MS image stores. Requiring this makes no
sense for now. Fixes ANV not booting any games on Vulkan.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
cmake: Enforce -Werror=switch and -Werror=unused-variable
|
|/ / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
Port citra-emu/citra#5666: "Rotate previous log file to "citra_log.txt.old""
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / /
|/| | | | | | | | | | |
vk_fence_manager: Use timeline semaphores instead of spin waits
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
With timeline semaphores we can avoid creating objects. Instead of
creating an event, grab the current tick from the scheduler and flush
the current command buffer. When the fence has to be queried/waited, we
can do so against the master semaphore instead of spinning on an event.
If Vulkan supported NVN like events or fences, we could signal from the
command buffer and wait for that without splitting things in two
separate command buffers.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
common/parent_of_member: Replace TYPED_STORAGE define with template alias
|
|/ / / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Provides the same construct, but makes it obey namespacing.
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ / / /
|/| | | | | | | | | | |
Rewrite KSynchronizationObject, KConditonVariable, and KAddressArbiter
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- This is decoupled from core functionality and used for debugging only.
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- This is how the real kernel works, and is more accurate and simpler.
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
|/ / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
yuzu/main: Add basic command line arguments
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
The following command line arguments are supported:
yuzu.exe "path_to_game" - Launches a game at "path_to_game"
yuzu.exe -f - Launches the next game in fullscreen
yuzu.exe -g "path_to_game" - Launches a game at "path_to_game"
yuzu.exe -f -g "path_to_game" - Launches a game at "path_to_game" in fullscreen
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / / /
|/| | | | | | | | | | |
config: Enable docked mode by default
|
| | |_|_|_|_|_|_|_|/
| |/| | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
apm: Stub IsCpuOverclockEnabled
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
cmake: Enforce C4101
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This matches GCC's -Wunused-variable
|
|/ / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
common/div_ceil: Return numerator type
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Fixes instances where DivCeil(u32, u64) would surprisingly return u64,
instead of the more natural u32.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
general: Resolve C4062 warnings on MSVC
|
|/ / / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / /
|/| | | | | | | | | | |
cmake: Enforce C4062, C4265, C4388, and C5038
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This should match some warnings we treat as errors on gcc and clang,
caching bugs early and reducing the number of instances where we have to
edit commits to make CI happy when developing from Windows.
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
|/ / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
renderer_vulkan/fixed_pipeline_state: Move enabled bindings to static state
|
| | |/ / / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Without using VK_EXT_robustness2, we can't consider the 'enabled' (not
null) vertex buffers as dynamic state, as this leads to invalid Vulkan
state. Move this to static state that is always hashed and compared in
the pipeline key.
The bits for enabled vertex buffers are moved into the attribute state
bitfield. This is not 'correct' as it's not an attribute state, but that
struct has bits to spare, and it's used in an array of 32 elements (the
exact same number of vertex buffer bindings).
|
|\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
Removed MacOS build link
|
| | |_|_|/ / / / /
| |/| | | | | | |
| | | | | | | | | |
The MacOS build link was removed in the README.md because it no longer exist.
|
|\ \ \ \ \ \ \ \ \
| |_|_|/ / / / / /
|/| | | | | | | | |
CMakeLists: Disable YUZU_ENABLE_BOXCAT if ENABLE_WEB_SERVICE is disabled
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Boxcat is a web service but is still enabled if ENABLE_WEB_SERVICE is
disabled during the CMake stage, which causes compilation issues with
either missing headers or missing libraries.
This disables YUZU_ENABLE_BOXCAT regardless of the input if
ENABLE_WEB_SERVICE is disabled.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
nvdec: Incorporate syncpoint manager
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Co-authored-by: LC <mathew1800@gmail.com>
|
| | | | | | | | | |
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
laying the groundwork for async gpu, although this does not fully implement async nvdec operations
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
vulkan_library: Common::DynamicLibrary::Open is [[nodiscard]]
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Ignore the return value on __APPLE__ systems as well
|
|\| | | | | | | |
| |/ / / / / / /
|/| | | | | | | |
texture_cache: Replace PAGE_SHIFT with PAGE_BITS
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
PAGE_SHIFT is a #define in system headers that leaks into user code on some systems
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
gl_texture_cache: Avoid format views on Intel and AMD
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Intel and AMD proprietary drivers are incapable of rendering to texture
views of different formats than the original texture. Avoid creating
these at a cache level. This will consume more memory, emulating them
with copies.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This breaks accelerated decoders trying to imageStore into images with
sRGB. The decoders are currently disabled so this won't cause issues at
runtime.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
ci/linux: Build an AppImage
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This builds yuzu in an AppImage alongside the other archives during
release. Required to allow distributing yuzu in the future with upgraded
dependencies, such as Qt.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
core: Enforce C4715 (not all control paths return a value)
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
vulkan_common: Move device abstraction to the common directory and allow surfaceless devices
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
vk_rasterizer: Skip binding empty descriptor sets on compute
|
| | |_|_|_|_|_|_|_|/
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Fixes unit tests where compute shaders had no descriptors in the set,
making Vulkan drivers crash when binding an empty set.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
yuzu/main: Fix 'Hide mouse on inactivity' and port citra-emu/citra#5476
|
| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|/ / / / / / / /
|/| | | | | | | | | | |
buffer_queue: Fix data race by protecting queue_sequence access
|
|/ / / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
fixes a data race as this is an unprotected variable manipulated by multiple threads
|
|\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
renderer_vulkan: Rename VKDevice to Device
|
| | |_|/ / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
The "VK" prefix predates the "Vulkan" namespace. It was carried around
the codebase for consistency. "VKDevice" currently is a bad alias with
"VkDevice" (only an upcase character of difference) that can cause
confusion. Rename all instances of it.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
main: Resolve error string not displaying
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
During the transition to make the error dialog translatable, I
accidentally got rid of the conversion to ResultStatus, which prevented
operator<< from being invoked during formatting.
This adds a function to directly retrieve the result status string
instead so that it displays again.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
vulkan_common: Move reusable Vulkan abstractions to a separate directory
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
For listing the available physical devices we can use Vulkan 1.0.
Now that MoltenVK supports 1.1 we can require it for running games.
Add missing documentation.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This makes easier to add and tune the required device limits.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
VKDevice::IsSuitable was not being called. To address this issue, check
suitability before initialization and throw an exception if it fails.
By doing this, we can deduplicate some code on queue searches.
Previosuly we would first search if a present and graphics queue
existed, then on initialization we would search again to find the index.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
The Vulkan device abstraction either initializes successfully on the
constructor or throws a Vulkan exception.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Report device enumeration errors with exceptions to be consistent with
other initialization related function calls. Reduces the amount of code
to maintain.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Move surface initialization code to a separate file. It's unlikely to
use this code outside of Vulkan, but keeping platform-specific code
(Win32, Xlib, Wayland) in its own translation unit keeps things cleaner.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Move more Vulkan code to report errors with exceptions and report them
through a log before notifying it with an error boolean for backwards
compatibility. In the future we can replace the rasterizer two-step
initialization to always use exceptions.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Initialize debug callbacks (messenger) from a separate file. This allows
sharing code with different backends.
Change our Vulkan error handling to use exceptions instead of error
codes, simplifying the initialization process.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Simplify Vulkan's backend initialization code by moving it to a separate
file, allowing us to initialize a Vulkan instance from different
backends.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Allows sharing Vulkan wrapper code between different rendering backends.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Allows us to initialize a Vulkan dynamic library from different backends
without duplicating code.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
dynarmic: Add Unsafe_InaccurateNaN optimization
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
hle: service: nvflinger: buffer_queue: Do not reset id/layer_id on Connect.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- This behavior is a mistake, fixes Katana Zero.
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ / / /
|/| | | | | | | | | | |
Port citra-emu/citra#5668: "Update zstd to v1.4.8"
|
|/ / / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Co-Authored-By: Vitor K <29167336+vitor-k@users.noreply.github.com>
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
main: Make the loader error dialog fully translatable
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Makes the dialog fully localizable and also adds disambiguation comments
to help translators understand what the formatting specifiers indicate.
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
enum classes are comparable with one another, so these casts aren't
necessary.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
general: Fix various spelling errors
|
| | |/ / / / / / / /
| |/| | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
typo fix
|
| | |_|_|_|_|/ / /
| |/| | | | | | |
| | | | | | | | | |
typo fix
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
configure_input: Modify controller connection delay
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Increases the controller connection delay to 60ms and refactors it to attempt to disconnect all controllers prior to connecting all controllers in HID.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
memory: Remove MemoryHook
|
|/ / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
core/memory: Read and write page table atomically
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Squash attributes into the pointer's integer, making them an uintptr_t
pair containing 2 bits at the bottom and then the pointer. These bits
are currently unused thanks to alignment requirements.
Configure Dynarmic to mask out these bits on pointer reads.
While we are at it, remove some unused attributes carried over from
Citra.
Read/Write and other hot functions use a two step unpacking process that
is less readable to stop MSVC from emitting an extra AND instruction in
the hot path:
mov rdi,rcx
shr rdx,0Ch
mov r8,qword ptr [rax+8]
mov rax,qword ptr [r8+rdx*8]
mov rdx,rax
-and al,3
and rdx,0FFFFFFFFFFFFFFFCh
je Core::Memory::Memory::Impl::Read<unsigned char>
mov rax,qword ptr [vaddr]
movzx eax,byte ptr [rdx+rax]
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
.ci/templates: Enable QT translation for MSVC CI
|
| | |_|_|_|_|_|/ / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Previously this flag was missing, causing translation files not to be shipped with CI builds of yuzu.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
Make the coding conventions more consistant
|
| | |_|_|_|/ / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
lut_index had 0 added when nothing was supposed to be added
despite this, index was not added to 0 when nothing was supposed to be added...
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
Port citra-emu/citra#5509 "Look at direction of analog axis travel instead of instantaneous sample"
|
| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / /
|/| | | | | | | | | | |
Service threads
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- This is to allow service threads to defer destruction of themselves.
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- Avoids the need to have a large map of host to guest thread IDs.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- Fixes a circular dependency which prevented threads from being released on shutdown.
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- This makes it such that we can safely access service members from CoreTiming thread.
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- This will be reset on initialization.
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- Use proper mechanisms for blocking on DequeueBuffer.
- Ensure service thread terminates on emulation Shutdown.
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- Now that GPU is always threaded, we can support multicore with synchronous GPU.
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- We must always use a GPU thread now, even with synchronous GPU.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- This was kind of hacky, and no longer is necessary with service threads.
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- Note, this always processes the ioctl right away, which fixes BotW 1.0.0 issues.
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / / / /
|/| | | | | | | | | | |
half_set: Resolve -Wmaybe-uninitialized warnings
|
|/ / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / / /
|/| | | | | | | | | |
maxwell_to_vk: Initialize usage variable in SurfaceFormat()
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Silences a -Wmaybe-uninitialized warning
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
cmake: Enforce -Wuninitialized
|
| | | | | | | | | | |
|
| | |_|_|_|_|/ / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
video_core/texture_cache: Rewrite the texture cache
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
The current texture cache has several points that hurt maintainability
and performance. It's easy to break unrelated parts of the cache
when doing minor changes. The cache can easily forget valuable
information about the cached textures by CPU writes or simply by its
normal usage.The current texture cache has several points that hurt
maintainability and performance. It's easy to break unrelated parts
of the cache when doing minor changes. The cache can easily forget
valuable information about the cached textures by CPU writes or simply
by its normal usage.
This commit aims to address those issues.
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Add support for building SPIR-V shaders from GLSL and generating headers
to include the text of those same GLSL shaders to consume from OpenGL.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
k_priority_queue: Fix concepts use
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
- For `std::same_as`, add missing include of `<concepts>`.
- For `std::convertible_to`, create a replacement in `common/concepts.h`
and use that instead.
This would also be found in `<concepts>`, but unlike `std::same_as`,
`std::convertible_to` is not yet implemented in libc++, LLVM's STL
implementation - not even in master. (In fact, `std::same_as` is the
*only* concept currently implemented. For some reason.)
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / /
|/| | | | | | | | |
Add missing include of "core/hle/kernel/kernel.h"
|
| |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This is needed as the header invokes methods on KernelCore.
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|/ / /
|/| | | | | | | |
externals: Update Dynarmic
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Keeps yuzu up to date with the latest changes and introduces a change
needed for a lock-free optimization our side.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
svc: demote SleepThread log to LOG_TRACE
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
This log is called often, and introduces a lot of noise when debug logging is enabled, making it difficult to see other debug logs.
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
input_common: process udp packets only for the correct pad
|
| | |/ / /
| |/| | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
InputCommon: Allow to invert analog axis with right click
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
video_core: Enforce C4715 (not all control paths return a value)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Most of the time people write code that always returns a value,
terminates execution, throws an exception, or uses an unconventional
jump primitive.
This is not always true when we build without asserts on mainline builds.
To avoid introducing undefined behavior on our most used builds, enforce
this warning signalling an error and stopping the build from shipping.
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
cmake: Always enable Vulkan
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
Removes the unnecesary burden of maintaining separate #ifdef paths and
allows us sharing generic Vulkan code across APIs.
|
|/ / / /
| | | |
| | | | |
* core: memory: Ensure thread safe access when pages are rasterizer cached.
|
|\ \ \ \
| | | | |
| | | | | |
yuzu/main: Save settings when starting guest
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Saves UISettings and Settings when booting a guest. Moves updating
UISettings::values from GMainWindow::closeEvent into its own function,
then reuses it in GMainWindow::BootGame.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
yuzu/main: Improve menubar access keys
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
Adds a unique access key to each action within each menu. A few actions
already had their own access key, so those were untouched.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add option to reset window size to 1080p
|
|/ / / / / |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Project Aether: Reimplementation of the Web Browser Applet
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
This should only be used for Super Mario 3D All-Stars. This is a temporary solution until it can be implemented properly.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
This is used to force system updates on launching the web browser. We do not care about system updates so this can be set to false.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The InputInterpreter class interfaces with HID to retrieve button press states. Input is intended to be polled every 50ms so that a button is considered to be held down after 400ms has elapsed since the initial button press and subsequent repeated presses occur every 50ms.
Co-authored-by: Chloe <25727384+ogniK5377@users.noreply.github.com>
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Rewrite Kernel scheduler based on Atmosphere
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- We were reload'ing the old current scheduler, which may have changed.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- This is closer to pre-multicore behavior, and works a bit better.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- This breaks things, and is unnecessary, since emulation will be done at this point.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
vi/buffer_queue: Buffer queue management refactor
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fix for Katana Zero and Yoshi's Crafted World
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
yuzu: Remove gdbstub configuration
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The gdbstub itself was removed with https://github.com/yuzu-emu/yuzu/pull/5028.
This PR just removes the remaining gdb configuration code from the emulator and the UI.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
system_archive: Add + and - buttons to the Nintendo Extended OSS font
|
|/ / / / / / |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
system_archive: Update Nintendo Extended OSS font
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
Co-authored-by: Its-Rei <kupfel@gmail.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
cmake/conan: Conditionally add target Boost::context
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Addresses an issue with the two competing versions of Conan's Boost
package that are currently floating around.
Adds the Boost::context target only if it's recognized by CMake as a
target.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
controllers/npad: Validate device handles before use
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Some games such as NEKOPARA Vol. 3 send invalid device handles when calling InitializeVibrationDevice. Introduce a check to validate the device handle before use.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
fsp_srv: Implement OpenDataStorageWithProgramIndex
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Used by RollerCoaster Tycoon 3: Complete Edition
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
maxwell_3d: Remove unused dirty_pointer array
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Follows our established coding style.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Removes a documentation comment for a non-existent member.
|
| | |_|_|/ / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | | |
This is unused and removing it shrinks the structure by 3584 bytes.
|
|\ \ \ \ \ \ \ \
| |_|_|_|/ / / /
|/| | | | | | | |
aoc_u: Stub IPurchaseEventManager and its service commands
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Used by Pokémon Café Mix
- Used by DOOM: Eternal
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Used by Pokémon Café Mix
- Used by DOOM: Eternal
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- Used by Pokémon Café Mix
- Used by DOOM: Eternal
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
cmake: Fix generating CMake configs and linking with Boost
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fixes regression by 761206cf81b271f7f4dd6a167a120325b760dbf3, causing
yuzu to not build on Linux with any version of Boost except a cached
1.73 Conan version from before about a day ago.
Moves the Boost requirement out of the `REQUIRED_LIBS` psuedo-2D-array
for Conan to instead be manually configured, using Conan as a fallback
solution if the system does not meet our requirements.
Requires any update from the linux-fresh container in order to build.
**DO NOT MERGE** until someone with the MSVC toolchain can verify this
works there, too.
|
| |_|_|/ / / /
|/| | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
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.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
fs: Revert all std::filesystem changes
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This reverts commit ce5fcb6bb2c358b0251a2ce87945bda52789a76d, reversing
changes made to 6f41763061082d5fa2ab039c554427152243cb46.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This reverts commit 5fe55b16a11d9ec607fb8a3fdddc77a4393cd96a, reversing
changes made to e94dd7e2c4fc3f7ca2c15c01bdc301be2b8a4c1b.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This reverts commit 6d6115475b4edccdf1bb4e96ecc3d3b1be319e76, reversing
changes made to 5fe55b16a11d9ec607fb8a3fdddc77a4393cd96a.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This reverts commit 4e94d0d53af2cdb7b03ef9de23cc29f3565df97a, reversing
changes made to 6d6115475b4edccdf1bb4e96ecc3d3b1be319e76.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This reverts commit cdb36aef9ec9d30bdef1953f9ed46776ae2f12af, reversing
changes made to 5e9b77129f2cf8c039a8d98033cae4ac0f93f515.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
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.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
common/file_util: Address review comments of #5174
|
| | |/ / / / / / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
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.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
nim: Stub IsLargeResourceAvailable
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
- Used by Immortals Fenyx Rising
|
|\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
gl_shader_decompiler: Elide unnecessary copies within DeclareConstantBuffers()
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Resolves a -Wrange-loop-analysis warning.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
common/file_util: Let std::filesystem cast from UTF16 to std::string
|
|/ / / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Fix invalid encoding paths when iterating over a directory on Windows.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
vfs_real: Fix CreateFile for files without a file extension
|
|/ / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
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.
|
|/ / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
network, sockets: Replace `POLL_IN`, `POLL_OUT`, etc. constants with an `enum class PollEvents`
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Actually, two enum classes, since for some reason there are two separate
yet identical `PollFD` types used in the codebase. I get that one is
ABI-compatible with the Switch while the other is an abstract type used
for the host, but why not use `WSAPOLLFD` directly for the latter?
Anyway, why make this change? Because on Apple platforms, `POLL_IN`,
`POLL_OUT`, etc. (with an underscore) are defined as macros in
<sys/signal.h>. (This is inherited from FreeBSD.) So defining
a variable with the same name causes a compile error.
I could just rename the variables, but while I was at it I thought I
might as well switch to an enum for stronger typing.
Also, change the type used for values copied directly to/from the
`events` and `revents` fields of the host *native*
`pollfd`/`WSASPOLLFD`, from `u32` to `short`, as `short` is the correct
canonical type on both Unix and Windows.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
common/file_util: Make use of 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.
|
| | |_|_|/ / / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Greatly simplifies our file-handling code for these functions.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
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.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / / /
|/| | | | | | | | | | | |
applets: Resolve variable shadowing
|
| | |_|_|_|_|/ / / / /
| |/| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
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.
|
|\ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / /
|/| | | | | | | | | | |
memory: Resolve -Wdocumentation warning for Write()
|
| | |/ / / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Write() doesn't return anything, so the @returns tag shouldn't be
present.
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / / /
|/| | | | | | | | | |
configure_motion_touch: Fix unescaped backslash in regex
|
| | |_|/ / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Since this is inside a string literal, backslashes that are part of
regex syntax have to be escaped. But that's ugly, so convert to a raw
string instead.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
controller: Avoid unnecessary copies in ConfigurationComplete()
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Avoids unnecessary copies.
|
| | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Avoids unnecessary 1072 byte copies when querying info about
controllers.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
Disable analog joystick from buttons by default
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
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.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
ast: Improve string concat readability in operator()
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Provides an in-place format string to make it more pleasant to read.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
CMakeLists,network: Create YUZU_UNIX macro to replace __unix__
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
__unix__ is not predefined on Apple platforms even though they are Unix.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
map_interval: Change field order to address uninitialized field warning
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Clang complains about `new_chunk`'s constructor using the
then-uninitialized `first_chunk` (even though it's just to get a pointer
into it).
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
shader_ir: std::move node within DeclareAmend()
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Same behavior, but elides an unnecessary atomic reference count
increment and decrement.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
buffer_block: Remove unnecessary includes
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Prevents logic errors from occurring from unused values.
|
|/ / / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Reduces the amount of dependencies the header pulls in.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
video_core: Remove unnecessary enum class casting in logging messages
|
| |/ / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
fmt now automatically prints the numeric value of an enum class member
by default, so we don't need to use casts any more.
Reduces the line noise a bit.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
core: Mark unused fields as [[maybe_unused]]
|
| | |/ / / / / / / / /
| |/| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / /
|/| | | | | | | | | | |
hle: Type check ResponseBuilder::Push arguments, and fix use in vi.cpp
|
| | |/ / / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
- Add a type check so that calling Push with an invalid type produces a
compile error rather than a linker error.
- vi.cpp was calling Push with a variable of type `std::size_t`.
There's no explicit overload for `size_t`, but there is one for `u64`,
which on most platforms is the same type as `size_t`. On macOS,
however, it isn't: both types are 64 bits, but `size_t` is `unsigned
long` and `u64` is `unsigned long long`. Regardless, it makes more
sense to explicitly use `u64` here instead of `size_t`.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
nvdrv: Remove useless re-declaration of pure virtual methods that were already declared in the superclass
|
| | |/ / / / / / / /
| |/| | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
boxcat: Avoid unnecessary object copy
|
| |/ / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
renderer_vulkan: Add missing `override` specifier
|
| |/ / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / /
|/| | | | | | | | | |
video_core: Resolve more variable shadowing scenarios pt.3
|
| | |_|_|/ / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Cleans out the rest of the occurrences of variable shadowing and makes
any further occurrences of shadowing compiler errors.
|
|\ \ \ \ \ \ \ \ \
| |_|_|/ / / / / /
|/| | | | | | | | |
Fix "explicitly defaulted but implicitly deleted" warning
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
`PhysicalCore`'s move assignment operator was declared as `= default`,
but was implicitly deleted because `PhysicalCore` has fields
of reference type. Switch to explicitly deleting it to avoid a Clang
warning.
The move *constructor* is still defaulted, and is required to exist due
to the use of `std::vector<PhysicalCore>`.
|
|\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
video_core: Adjust `NUM` macro to avoid Clang warning
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The previous definition was:
#define NUM(field_name) (sizeof(Maxwell3D::Regs::field_name) / sizeof(u32))
In cases where `field_name` happens to refer to an array, Clang thinks
`sizeof(an array value) / sizeof(a type)` is an instance of the idiom
where `sizeof` is used to compute an array length. So it thinks the
type in the denominator ought to be the array element type, and warns if
it isn't, assuming this is a mistake.
In reality, `NUM` is not used to get array lengths at all, so there is no
mistake. Silence the warning by applying Clang's suggested workaround
of parenthesizing the denominator.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
yuzu_cmd: Remove 'users_size'
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Specifically:
const auto size = sdl2_config->GetInteger("System", "users_size", 0);
The variable is never used, producing a warning. I wondered if this
ought to be assigning something to in `Settings`, but nothing else in
the codebase ever mentions a setting called "users_size", so I guess
it's safe to remove...
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
maxwell_dma: Rename RenderEnable::Mode::FALSE and TRUE to avoid name conflict
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
On Apple platforms, FALSE and TRUE are defined as macros by
<mach/boolean.h>, which is included by various system headers.
Note that there appear to be no actual users of the names to fix up.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Port citra-emu/citra#5577: "Update cubeb and request a persistent stream session"
|
| | |_|/ / / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
xbyak_abi: Avoid implicit sign conversions
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Makes for less reading.
|
| | |_|_|/ / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
game_list_p: Resolve deprecated usage of QVariant operator<
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is designated as obsolete in Qt's docs (see:
https://doc.qt.io/qt-5/qvariant-obsolete.html#operator-lt)
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
video_core: Resolve more variable shadowing scenarios pt.2
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Migrates the video core code closer to enabling variable shadowing
warnings as errors.
This primarily sorts out shadowing occurrences within the Vulkan code.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
video_core: Resolve more variable shadowing scenarios
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Resolves variable shadowing scenarios up to the end of the OpenGL code
to make it nicer to review. The rest will be resolved in a following
commit.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Port citra-emu/citra#5617: "Fix telemetry-related exit crash from use-after-free"
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Co-Authored-By: xperia64 <xperia64@users.noreply.github.com>
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
system_version: Update to 11.0.0
|
|/ / / / / |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
codec: Remove deprecated usage of AVCodecContext::refcounted_frames
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This was only necessary for use with the
avcodec_decode_video2/avcoded_decode_audio4 APIs which are also
deprecated.
Given we use avcodec_send_packet/avcodec_receive_frame, this isn't
necessary, this is even indicated directly within the FFmpeg API changes
document here on 2017-09-26:
https://github.com/FFmpeg/FFmpeg/blob/master/doc/APIchanges#L410
This prevents our code from breaking whenever we update to a newer
version of FFmpeg in the future if they ever decide to fully remove this
API member.
|
|\ \ \ \
| | | | |
| | | | | |
node: Eliminate variable shadowing
|
| | | | |
| | | | |
| | | | |
| | | | | |
Prevents logic bugs from accidentally ignoring the return value.
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
vp9/vic: Resolve pessimizing moves
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
Removes the usage of moves that don't result in behavior different from
a copy, or otherwise would prevent copy elision from occurring.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Kernel: Refactor to use 4-instances of Dynarmic & various cleanups and improvements
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- This will be aligned by default, and helps memory usage.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
mouse_input/mouse_poller: Minor cleanup
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Allows the struct to be constructed in place.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Removes the use of two static casts and improves the readability of some
vectors slightly.
|
| | | | | | |
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
audio_core: Make shadowing and unused parameters errors
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Moves the audio code closer to enabling warnings as errors in general.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
nvdec: Queue and display all decoded frames, cleanup decoders
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Workaround for ZLA, which seems to decode and queue twice as many frames as it displays.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
remove some redundant moves, make deleter match naming guidelines.
Co-Authored-By: LC <712067+lioncash@users.noreply.github.com>
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
InputCommon: Add multiple udp server support
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
InputCommon: Fix implicit conversion in mouse input
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
vk_shader_decompiler: Implement force early fragment tests
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Force early fragment tests when the 3D method is enabled.
The established pipeline cache takes care of recompiling if needed.
This is implemented only on Vulkan to avoid invalidating the shader
cache on OpenGL.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
Disable web applet and warning box when compiling for Linux on CI
|
|/ / / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
yuzu's web applet does not or barely reacts to user input while open in
Linux. It can be closed via 'Exit Web Applet' on the menubar, however if
yuzu is in fullscreen, this is effectively a softlock as the menubar
cannot be accessed.
This disables building yuzu with the web applet on the Linux CI target.
In addition, this disables the QMessageBox warning about not having
compiled yuzu with the web applet.
|
|\ \ \ \ \ \ \ \ \ \
| | |/ / / / / / / /
| |/| | | | | | | | |
InputCommon: Implement full mouse support
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / / /
|/| | | | | | | | | |
common: Add Common::DivCeil and Common::DivCeilLog2
|
| | |_|/ / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
Add an equivalent to 'Common::AlignUp(n, d) / d' and a log2 alternative.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
hid: Check if applet_resource exists in InitializeVibrationDevice
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
Add missing types to NpadCommunicationMode
|
|/ / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
HID: Stub set and get NpadCommunicationMode
|
| | |_|_|_|_|_|/ / /
| |/| | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
audio_core: Remove temp_mix_buffer
|
|/ / / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
It's unused and doesn't need to be initialized
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
tests: Fix warning about comparison between signed and unsigned
|
| | |_|_|_|/ / / / /
| |/| | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
core: Reduce string copies in GetGameFileFromPath()
|
| |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Eliminates some minor string churn where applicable. Also eliminates an
unnecessary vector copy.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
CMakeLists: disable -Winvalid-offsetof
|
| |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
This Clang warning complains when offsetof is used on a
non-standard-layout type (i.e. any class using various C++ features),
even though it works fine (and is not undefined behavior as of C++17).
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
core: Eliminate remaining usages of the global system instance
|
|/ / / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Removes all remaining usages of the global system instance. After this,
migration can begin to migrate to being constructed and managed entirely
by the various frontends.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
savedata_factory: Eliminate usage of the global system instance
|
|/ / / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Now there's only two meaningful instances left in core.
|
|\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
service: Eliminate usages of the global system instance
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Completely removes all usages of the global system instance within the
services code by passing in the using system instance to the services.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
codec: Fix `pragma GCC diagnostic pop` missing corresponding push
|
|/ / / / / / / / |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
nvdrv, video_core: Don't index out of bounds when given invalid syncpoint ID
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
- Use .at() instead of raw indexing when dealing with untrusted indices.
- For the special case of WaitFence with syncpoint id UINT32_MAX,
instead of crashing, log an error and ignore. This is what I get when
running Super Mario Maker 2.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
nvservices: Reintroducee IoctlCtrl
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Fixes regression caused by #4907 which caused games like Breath of the Wild 1.0.0 not to boot.
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / /
|/| | | | | | | | | |
input_common: unbreak -Werror with Clang
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
error: unknown warning option '-Werror=unused-but-set-parameter'; did you mean '-Werror=unused-parameter'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Werror=unused-but-set-variable'; did you mean '-Werror=unused-const-variable'? [-Werror,-Wunknown-warning-option]
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / /
|/| | | | | | | | |
Overhaul EmuWindow::PollEvents to fix yuzu-cmd calling SDL_PollEvents off main thread
|
| | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
EmuWindow::PollEvents was called from the GPU thread (or the CPU thread
in sync-GPU mode) when swapping buffers. It had three implementations:
- In GRenderWindow, it didn't actually poll events, just set a flag and
emit a signal to indicate that a frame was displayed.
- In EmuWindow_SDL2_Hide, it did nothing.
- In EmuWindow_SDL2, it did call SDL_PollEvents, but this is wrong
because SDL_PollEvents is supposed to be called on the thread that set
up video - in this case, the main thread, which was sleeping in a
busyloop (regardless of whether sync-GPU was enabled). On macOS this
causes a crash.
To fix this:
- Rename EmuWindow::PollEvents to OnFrameDisplayed, and give it a
default implementation that does nothing.
- In EmuWindow_SDL2, do not override OnFrameDisplayed, but instead have
the main thread call SDL_WaitEvent in a loop.
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|/ / /
|/| | | | | | | |
renderer_vulkan: Implement alpha testing
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc>
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Used by various textures in many titles, e.g. SSBU menu.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
configure_input_player: Use the NpadStyleSet to limit the available controllers shown
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This will reduce the likelihood of an invalid controller type to be set within a game
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / /
|/| | | | | | | | |
audren: Make use of nodiscard, rework downmixing, release all buffers
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Preliminary work for upmixing & general cleanup. Fixes basic issues in games such as Shovel Knight and slightly improves the LEGO games. Upmixing stitll needs to be implemented.
Audio levels in a few games will be fixed as we now use the downmix coefficients when possible instead of supplying our own
|
|\ \ \ \ \ \ \ \ \
| |_|_|/ / / / / /
|/| | | | | | | | |
core: cpu_manager: Fix shutdown crash when closing before emulation starts.
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Allow to dial any angle with digital joystick
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
core: Refactor loader and implement ExecuteProgram
|
| | | | | | | | | | |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
- This is used by Super Mario 3D All-Stars.
|
|/ / / / / / / / / |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* hle: services: Fix a crash with improper NVFlinger lifetime management.
- This crash would happen when attempting to shutdown yuzu early on in boot.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
decoder/image: Fix incorrect G24R8 component sizes in GetComponentSize()
|
| | | | | | | | | | |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
The components' sizes were mismatched. This corrects that.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
core: Make use of [[nodiscard]] with the System class
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This isn't used, so it can be removed.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Given this is a central class, we should flag cases where the return
value of some functions not being used is likely a bug.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
svc: Remove unnecessary [[maybe_unused]] tag
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
The parameter is used in this function, so this suppression isn't
necessary.
|
| | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|_|/ / / /
|/| | | | | | | | | | | |
input_common: Add more missing [[maybe_unused]] from #4927.
|
|/ / / / / / / / / / / |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Fixes build break due to #4927
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ / / /
|/| | | | | | | | | | |
input_common: Treat warnings as errors
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Migrates over warnings as errors for input common to match how the
common library treats warnings as errors.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
logging/settings: Increase maximum log size to 100 MB and add extended logging option
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
The extended logging option is automatically disabled on boot but can be enabled afterwards, allowing the log file to go up to 1 GB during that session.
This commit also fixes a few errors that are present in the general debug menu.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / / /
|/| | | | | | | | | | | |
CI: move refreshenv to the configure step
|
|/ / / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
... so that cmake can find the Vulkan SDK binaries
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
patch_manager: Remove usages of the global system instance
|
| | |_|/ / / / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
With this, only 19 usages of the global system instance remain within
the core library.
We're almost there.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
gl_rasterizer: Make floating-point literal a float
|
| | |_|/ / / / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Gets rid of an unnecessary expansion from float to double.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
async_shaders: std::move data within QueueVulkanShader()
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Same behavior, but constructs the threads in place instead of moving
them.
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This is equivalent to moving all the contents and then clearing the
vector. This avoids a redundant allocation.
|
| | | | | | | | | | | | |
|
| |/ / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Same behavior, but avoids redundant copies.
While we're at it, we can simplify the pushing of the parameters into
the pending queue.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
ci: install Vulkan SDK in MSVC build
|
| | |_|_|_|_|_|/ / / /
| |/| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / /
|/| | | | | | | | | | |
core: Make nvservices more standardized
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
gl_rasterizer: Remove warning of untested alpha test
|
| | |_|_|_|_|_|_|/ / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Alpha test has been proven to only affect the first render target.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
shader_bytecode: Eliminate variable shadowing
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Ensures that all queried values are made use of.
|
| | |_|/ / / / / / / /
| |/| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
hle: service: Stub OLSC Initialize and SetSaveDataBackupSettingEnabled functions.
|
| | | | | | | | | | | | |
|
| |/ / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- Used by Animal Cross: New Horizons v1.6.0 update, minimal stub gets this update working.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
configure_input_player: Use static qualifier for IsProfileNameValid()
|
| | |_|_|/ / / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This is a static member function, so we don't need use an existing
instance to call this function.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
Modify rumble amplification
|
| | |/ / / / / / / / /
| |/| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|/ / / / / / / /
|/| | | | | | | | | | |
common/bit_cast: Add function matching std::bit_cast without constexpr
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Add a std::bit_cast-like function archiving the same runtime results as
the standard function, without compile time support.
This allows us to use bit_cast while we wait for compiler support, it
can be trivially replaced in the future.
|
|\ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / /
|/| | | | | | | | | | |
maxwell_3d: Move code to separate functions and insert instead of push_back
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This reduces the overhead of bounds checking on each element.
It won't reduce the cost of allocation because usually this vector's
capacity is usually large enough to hold whatever we push to it.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Deduplicate some code and put it in separate functions so it's easier to
understand and profile.
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / /
|/| | | | | | | | | | |
virtual_buffer: Do nothing on resize() calls with same sizes
|
|/ / / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Prevents us from churning memory by freeing and reallocating a memory
block that would have already been adequate as is.
|
|\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
page_table: Allow page tables to be moved
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
VirtualBuffer makes use of VirtualAlloc (on Windows) and mmap() (on
other platforms). Neither of these ensure that non-trivial objects are
properly constructed in the allocated memory.
To prevent potential undefined behavior occurring due to that, we can
add a static assert to loudly complain about cases where that is done.
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Makes page tables and virtual buffers able to be moved, but not copied,
making the interface more flexible.
Previously, with the destructor specified, but no move assignment or
constructor specified, they wouldn't be implicitly generated.
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Resolves two -Wdocumentation warnings.
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Prevents indirect inclusions for these headers.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
Project Mjölnir: Part 3 - Controller Profiles and Vibration Rework
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Upon further investigation, these commands allow temporary vibrations even when the "Controller Vibration" system setting is disabled. As a result, vibrations are allowed when either the system setting or this flag is set to true. Therefore, we can only block vibrations when both flags are set to false.
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Not all controllers have a SDL_GameController binding. This caused controllers not present in the SDL GameController database to have buttons mapped instead of axes.
Furthermore, it was not possible to invert the axes when it could be useful such as emulating a horizontal single joycon or other potential cases. This allows us to invert the axes by reversing the order of mapping (vertical, then horizontal).
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Co-authored-by: Its-Rei <kupfel@gmail.com>
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Previously we used a vibration filter that filters out amplitudes close to each other. It turns out there are cases where this results into vibrations that are too inaccurate. Remove this and move the 100Hz vibration filter (Only allowing a maximum of 100 vibrations per second) from sdl_impl to npad when enable_accurate_vibrations is set to false.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Some games do not respond to a change in controller type if 1) The controller is not disconnected prior to being reconnected and/or 2) The controller is reconnected instantly after being disconnected.
Since it is not possible to change controllers instantly on hardware and requiring a disconnect prior to connecting a new one, we should emulate this as well with a small delay, fixing the aforementioned issue.
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
A vibration device is an input device that returns an unsigned byte as status.
It represents whether the vibration device supports vibration or not.
If the status returns 1, it supports vibration. Otherwise, it does not support vibration.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Allows for enabling and modifying vibration and vibration strength per player.
Also adds a toggle for enabling/disabling accurate vibrations.
Co-authored-by: Its-Rei <kupfel@gmail.com>
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This will be replaced in favor of per-player vibration strength modifiers.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
The implementation of these commands seem incomplete and causes rumble in Super Mario Party to stop working since only EndPermitVibrationSession is called. Thus, these are better off being marked as a stub until this can be investigated more thoroughly.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This stops all controllers from continuously vibrating when emulation is stopped.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- Used in Super Mario Odyssey
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Sending too many state changes in a short period of time can cause massive performance issues.
As a result, we have to use several heuristics to reduce the number of state changes to minimize/eliminate this performance impact while maintaining the quality of these vibrations as much as possible.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This allows setting the vibration strength percentage anywhere from 1% to 100%.
Also hooks up the remaining motion button and checkbox in the Controller Applet.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Fixes vibration in 1-2 Switch and potentially other games where they would vibrate both players' joycons at the same time.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This fixes the issue where rumble is only sent to the first controller.
Now, individual controllers can receive their own rumble commands.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Some parameters need to be doubleword aligned due to the presence of the applet_resource_user_id.
Previously, this value was invalid in many commands where it was not doubleword aligned when popped.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Reorders all HID commands in command id order.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
The first u32 describes the vibration device type which is a Linear Resonant Actuator used in Nintendo Switch controller hardware.
The second u32 describes the vibration device position, in this case distinguishing between left and right vibration actuators.
Pro Controllers have 2 LRAs each that can vibrate independently of each other, which means they have 2 distinct vibration device handles to distinguish between the two actuators.
Similarly for joycons, the left joycon can be distinguished from the right joycon through the vibration device handle since each joycon has 1 LRA.
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This more accurately represents the underlying type and avoids confusion with NpadType
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
A DeviceHandle describes a vibration device or six-axis sensor based on the npad type, npad id, and device index/position
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
RestoreDefaults() now restores the selected devices' mappings using UpdateMappingWithDefaults().
This allows us to move the keyboard mapping from RestoreDefaults() to UpdateMappingWithDefaults().
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Co-authored-by: lat9nq <lat9nq@virginia.edu>
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Previously mouse clicks will not register when touch is disabled.
This rectifies that and allows mouse clicks to be mapped to other buttons if the touchscreen is disabled.
|
| | | | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
With this, the "Input Devices" combobox should accurately reflect the input device being used and disallows inputs from other input devices unless the input device is set to "Any".
|
| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / /
|/| | | | | | | | | | |
[gpu, render_base, rasterizer_interface]: Make use of [[nodiscard]] where applicable
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
|/ / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
motion_input: Mark member functions as [[nodiscard]] where applicable
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ / /
|/| | | | | | | | | |
bootmanager: Log and show GL_RENDERER string when GPU is insufficient
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Changes QMessageBox usages to warnings, as the problems they bring to
light are being safely handled by the application and do not warrant
something of the "critical" level.
Changes LOG_CRITICAL to LOG_ERROR for the same reason. Preferring ERROR
to WARNING as yuzu is denying loading of any guest applications after
checking for these conditions.
Moved logging the GL_RENDERER string into GetUnsupportedGLExtensions()
to make more clear that unsupported extensions were already being
logged. Makes placement of the logs easier to understand later, as well.
|
| | |_|/ / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Changes the first message to not include the OpenGL version, as the
error is caused by OpenGL failing to load.
Adds a new check for OpenGL version 4.3. This will display a message
with a similar error as well as the GL_RENDERER string. Adds a CRITICAL
log message when triggered. This prevents a crash with yuzu trying to
use older OpenGL versions.
Modifies the unsupported extension message to output the GL_RENDERER
string in the message, as well as logging the string.
|
|\ \ \ \ \ \ \ \ \
| |_|_|/ / / / / /
|/| | | | | | | | |
applets/controller: Introduce additional checks for mode and caller
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Some games like Cave Story+ set invalid values in the ControllerPrivateArg's mode and caller fields.
Use other fields to determine the appropriate mode and caller should either or both fields be invalid.
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |_|/ / / / / / /
|/| | | | | | | | |
hle: service: caps_u: Stub GetAlbumFileList3AaeAruid.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
- This works similiar to GetAlbumContentsFileListForApplication.
- Since we do not implement the album, this should be safe to stub for now.
- Used by Super Smash Bros. Ultimate (newer updates) in World of Light.
|
|\ \ \ \ \ \ \ \ \
| |_|_|/ / / / / /
|/| | | | | | | | |
cpu_interrupt_handler: Mark move contructor/assignment as deleted
|
| | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The interrupt handler contains a std::atomic_bool, which isn't copyable
or movable, so the special move member functions will always be deleted,
despite being defaulted.
This can resolve warnings on clang and GCC.
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
ipc_helpers: Remove usage of the global system instance
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Resolves numerous deprecation warnings throughout the codebase due to
inclusion of this header. Now building core should be significantly less
noisy (and also relying on less global state).
This also uncovered quite a few modules that were relying on indirect
includes, which have also been fixed.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
video_core: dma_pusher: Remove integrity check on command lists.
|
| | |_|_|/ / /
| |/| | | | |
| | | | | | |
| | | | | | | |
- This seems to cause softlocks in Breath of the Wild.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
externals: Update fmt to 7.1.2
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Updates to the latest bugfix release of fmt.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
settings: log value of CPU_Accuracy
|
| |/ / / / / |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
core: Remove usage of unicorn
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Unicorn long-since lost most of its use, due to dynarmic gaining support
for handling most instructions. At this point any further issues
encountered should be used to make dynarmic better.
This also allows us to remove our dependency on Python.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
common/fiber: Move all member variables into impl class
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Hides all of the implementation details for users of the class. This has
the benefit of reducing includes and also making the fiber classes
movable again.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
General: Fix clang build
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Allows building on clang to work again
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
settings: Simplify initializer of resolution factor
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This can use a braced initializer to accomplish the same thing with less
code.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
shader: Partially implement texture cube array shadow
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This implements texture cube arrays with shadow comparisons but doesn't
fix the asserts related to it.
Fixes out of bounds reads on swizzle constructors and makes them use
bounds checked ::at instead of the unsafe operator[].
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
core/settings: Move configuring_global behind an API
|
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Rather than have directly modified global state here, we can make it an
implementation detail and have an interface that changes are queried
through.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
General: Resolve a few missing initializer warnings
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Resolves a few -Wmissing-initializer warnings.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Improvements to GPU synchronization & various refactoring
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
- Refactor so that SubmitGPFIFO and KickoffPB use shared functionality.
- Implement add_wait and add_increment flags.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
- Log corrupted command lists, rather than crash.
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| |_|_|/ / / / / /
|/| | | | | | | | |
nvdec: Make use of [[nodiscard]] where applicable
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Prevents bugs from occurring where the results of a function are
accidentally discarded
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
microprofile: Silence warning in headers
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Silences a truncation warning by making the truncation explicit and
documenting the reason for it.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
common: Enable warnings as errors
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Cleans up common so that we can enable warnings as errors.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
hle: service: ldr: Implement UnloadNrr.
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
- Used by Final Fantasy X/X-2 HD Remaster.
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|/ / / / / / /
|/| | | | | | | | | |
async_shaders: Increase Async worker thread count for >8 thread cpus
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Adds 1 async worker thread for every 2 available threads above 8
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
* Rename to align with switchbrew
* Rename to align with switchbrew and remove gpu function that checks if clearing should be done.
|
|\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
shader/arithmetic: Implement FCMP immediate + register variant
|
| | |_|_|/ / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
Trivially add the encoding for this.
|
|\ \ \ \ \ \ \ \ \
| |_|_|/ / / / / /
|/| | | | | | | | |
video_core: unbreak -Werror in NVDEC with Clang
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp:41:15: error: unused variable 'OutOfMemory' [-Werror,-Wunused-const-variable]
constexpr u32 OutOfMemory{static_cast<u32>(-12)};
^
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Prevents the compiler tripping up about Windows headers.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
General: Make ignoring a discarded return value an error
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
MSVC lets us fine-tune catching expressions with no side-effects a
little more.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Allows our CI to catch more potential bugs. This also removes the
[[nodiscard]] attribute of IOFile's Open member function. There are
cases where a file may want to be opened, but have the status of it
checked at a later time.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
VP9: Minor interface changes and safety improvements
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
It's deprecated in the language to autogenerate these if the destructor
for a type is specified, so we can explicitly specify how we want these
to be generated.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Prevents values from mistakenly being discarded in cases where it's a
bug to do so.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
The API of VP9 exposes a WasFrameHidden() function which accesses this
member. Given the constructor previously didn't initialize this member,
it's a potential vector for an uninitialized read.
Instead, we can initialize this to a deterministic value to prevent that
from occurring.
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
These helper functions don't directly modify any member state and can be
hidden from view.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
externals: Update fmt to 7.1.0
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Keeps the used version of the library up to date.
|
|\ \ \ \ \ \ \ \ \
| |_|_|/ / / / / /
|/| | | | | | | | |
nvdec: Minor tidying up
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Enforces the type of the desired value in calling code.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
We can move the buffer here to avoid a heap reallocation
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
The move will already occur without std::move.
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Prevents a few unnecessary inclusions.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Add hotplug, rumble and fix 3rd party adapters for the GC adapter
|
| | |_|_|/ / / / /
| |/| | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
kernel/process: Add missing <ctime> include
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fixes compilation on MSVC
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
web_service: follow-up fix to #4842
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* The web_service http request is now fixed on Windows (R) platform.
* The issue is due to a complicated race-condition in `httplib`, a detailed
explanation is available at https://github.com/yhirose/cpp-httplib/pull/701
* A pending Pull Request on `httplib` has been applied to remedy the
said race-condition.
* The socket availability check is removed due to a behavioral chice of
`httplib` that a socket will not be created before any actual request
is sent.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
kernel: Use the current time as the default RNG seed
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Use the current time, not zero, as the default RNG seed.
|
|\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
sync_manager: Amend parameter order of calls to SyncptIncr constructor
|
| | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
Corrects some cases where the arguments would be incorrectly swapped.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
web_service: web_backend: Handle socket errors with GenericRequest.
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
- Fixes a shutdown crash when we try to submit telemetry if there is a service issue.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
video_core: cdma_pusher: Add missing LOG_DEBUG field in ExecuteCommand.
|
|/ / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
service: Update function tables
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Updates function tables according to info on SwitchBrew.
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / /
|/| | | | | | | | |
externals: Track upstream inih
|
| | | | | | | | | |
|
| |/ / / / / / / |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
hle/kernel: Remove unused registered_core_threads to fix data races
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This member was only used on asserts and it triggered data races.
Remove it to fix them.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
common/fiber: Take shared_ptr<Fiber> by copy in YieldTo
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
YieldTo does not intend to modify the passed shared_ptrs.
Pass it by copy to keep a reference count while this function executes.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
tests: Fix data race in fibers test
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Previous to this commit, the tests were using operator[] from
unordered_map to query elements but this silently inserts empty elements
when they don't exist. If all threads were executed without concurrency,
this wouldn't be an issue, but the same unordered_map could be written
from two threads at the same time. This is a data race and makes some
previously inserted elements invisible for a short period of time,
causing them to insert and return an empty element. This default
constructed element (a zero) was used to index an array of fibers that
asserted when one of them was nullptr, shutting the test session off.
To address this issue, lock on thread id reads and writes. This could be
a shared mutex to allow concurrent reads, but the definition of
std::this_thread::get_id is fuzzy when using non-standard techniques
like fibers. I opted to use a standard mutex.
While we are at it, fix the included headers.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
video_core: Enforce -Werror=type-limits
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Silences one warning and avoids introducing more in the future.
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
video_core: Enforce -Wredundant-move and -Wpessimizing-move
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Silence three warnings and make them errors to avoid introducing more in the future.
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
web_backend: fix a regression introduced in 39c8d18
|
| | | | | | | | | |
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* A regression was in 39c8d18 and token verification function was
broken.
* The reason being `httplib` now requires OpenSSL 1.1+ API while
LibreSSL 2.x provided OpenSSL 1.0 compatible API.
* The bundled LibreSSL has been updated to 3.2.2 so it now provides
OpenSSL 1.1 compatible API now.
* Also the path hint has been added so that it will find the correct
path to the CA certs on *nix systems.
* An option is provided so that *nix system distributions/providers can
use their own SSL implementations when compiling Yuzu/Citra to
(hopefully) complies with their maintenance guidelines.
* LURLParse is also removed since `httplib` can handle
`scheme:host:port` string itself now.
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
yuzu: settings: Enable multicore, asynch GPU, and assembly shaders by default.
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- In general, this is now the preferred settings for most games.
# Conflicts:
# src/yuzu/configuration/config.cpp
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
video_core: NVDEC Implementation
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This commit aims to implement the NVDEC (Nvidia Decoder) functionality, with video frame decoding being handled by the FFmpeg library.
The process begins with Ioctl commands being sent to the NVDEC and VIC (Video Image Composer) emulated devices. These allocate the necessary GPU buffers for the frame data, along with providing information on the incoming video data. A Submit command then signals the GPU to process and decode the frame data.
To decode the frame, the respective codec's header must be manually composed from the information provided by NVDEC, then sent with the raw frame data to the ffmpeg library.
Currently, H264 and VP9 are supported, with VP9 having some minor artifacting issues related mainly to the reference frame composition in its uncompressed header.
Async GPU is not properly implemented at the moment.
Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
core: cpu_manager: Add missing call to MicroProfileOnThreadExit().
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
- Fixes an occasional crash when trying to launch subsequent games.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
hle: services: TimeZoneContentManager: This can be made explicit.
|
| |/ / / / / / |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
controller: Pass ControllerParameters by reference in ReconfigureControllers()
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Prevents unnecessary copies and heap reallocations from occurring.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
controller: Convert led_patterns integer literals to bool literals
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
'bool' isn't always guaranteed to be the same size as an int, so this
can technically cause truncation warnings if we support other platforms.
|
|\ \ \ \ \ \ \
| | |/ / / / /
| |/| | | | | |
general: Use template deduction guides for lock_guard
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
Same behavior, less code.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
applets/profile_select: Resolve a warning in exec()
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
Resolves a warning where not all control paths return a value.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
main/profile_select: Don't ask for profile when there's only one.
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
sdl_impl: Fix controller reconnection issues
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
It turns out that after a controller is disconnected, there is a chance that events from the previous controller are sent/processed after it has been disconnected.
This causes the previously disconnected controller to reappear as connected due to GetSDLJoystickBySDLID() emplacing this controller back to the map.
Fix this by only returning an SDLJoystick if and only if it exists in the map.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
video_core: Fix instances where msbuild always regenerated host shaders
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
When HEADER_GENERATOR was included in the DEPENDS section of custom
commands, msbuild assumed this was always modified. Changing this file
is not common so we can remove it from there.
|
|\ \ \ \ \ \ \ \
| |_|_|/ / / / /
|/| | | | | | | |
service: time: Update current time with changes to RTC setting.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
- This can be used to advance time, e.g. for Pokemon Sword/Shield pokejobs.
|
| |_|/ / / / /
|/| | | | | |
| | | | | | |
| | | | | | | |
Should finally resolve building with clang.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
video_core: Conditially activate relevant compiler warnings
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
These compiler flags aren't shared with clang, so specifying these flags
unconditionally can lead to a bit of warning spam.
While we're in the area, we can also enable -Wunused-but-set-parameter
given this is almost always a bug.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Resolves the clang build issue in a more unintrusive way.
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
Revert "core: Fix clang build"
|
|/ / / / / / / |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This slipped through the cracks due to another change being merged
before the compiler flag changes.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
gl_arb_decompiler: Implement robust buffer operations
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This emulates the behavior we get on GLSL with regular SSBOs with a
pointer + length pair. It aims to be consistent with the crashes we
might get.
Out of bounds stores are ignored. Atomics are ignored and return zero.
Reads return zero.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
core: Fix clang build
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Recent changes to the build system that made more warnings be flagged as
errors caused building via clang to break.
Fixes #4795
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
nifm: GetAppletInfo stub
|
| | | | | | | | | | |
|
| | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fixes crash for Catherine Full Body
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
configure_input_player: Fix modifier buttons
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Fix them for real this time, now they finally work.
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
sdl_impl: Erase the SDLJoystick entry after removing a controller
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Previously, disconnecting a controller still leaves a null SDLJoystick entry within the vector of SDLJoysticks mapped by GUID.
When a DirectInput device of the same GUID is reconnected, it adds that device to a new port causing non-detectable input.
Furthermore, opening the "Configure" menu would cause yuzu to crash since it first tries to resolve the name of a null SDLJoystick entry that was not removed.
Resolve this by properly erasing the SDLJoystick entry from the vector.
|
|\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
kernel: Implement host thread register methods without locking
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Locks on GetCurrentHostThreadID were causing performance issues
according to Visual Studio's profiler. It was consuming twice the time
as arm_interface.Run(). The cost was not in the function itself but in
the lockinig it required.
Reimplement these functions using atomics and static storage instead of
an unordered_map. This is a side effect to avoid locking and using linked
lists for reads.
Replace unordered_map with a linear search.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
filesystem: Fix CreateDirectory and DeleteFile
|
| |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Add a check if dir is nullptr (does not exist)
Fixes save game creation in Hades
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
renderer_vulkan: Create and properly use Vulkan 1.0 instances when 1.1 is not available
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Enable the required capabilities to use Vulkan 1.0 without validation
errors and disable those that are not compatible with it.
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This commit doesn't make yuzu compatible with Vulkan 1.0 yet, it only
creates an 1.0 instance.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
core: Add boxcat sources with target_sources
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Same behavior, minus a script variable.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / /
|/| | | | | | | | | | | |
hle: service: nvdrv: Implement nvhost_as_gpu::FreeSpace.
|
| | |_|_|_|/ / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- This is used by Super Mario 3D All-Stars.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
mii/manager: Make use of unused lower bound in GetRandomValue()
|
| | |_|_|/ / / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Previously, the lower bound wasn't being used and zero was being used as
the lower bound every time this function was called.
This affects the outcome of some of the randomized entries a little bit,
for example, the lower-bound for beard and mustache flags was supposed
to be 1, not 0.
Aside from these cases, the bug didn't affect anything else.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
vk_graphics_pipeline: Manage primitive topology as fixed state
|
| | |/ / / / / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Vulkan has requirements for primitive topologies that don't play nicely
with yuzu's. Since it's only 4 bits, we can move it to fixed state
without changing the size of the pipeline key.
- Fixes a regression on recent Nvidia drivers on Fire Emblem: Three
Houses.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
service: bcat: Check client connection before interacting with socket.
|
| | |/ / / / / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- Fixes a crash when BCAT service is offline.
|
|\ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / /
|/| | | | | | | | | | |
udp/client: Take std::function by const reference with TestCommunication()
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Same behavior, but makes the callback list nicer to look at.
|
|/ / / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Avoids redundant copies.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
input_common/CMakeLists: Make some warnings errors
|
| | |_|_|/ / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Makes the input_common code warnings consistent with the rest of the
codebase.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
hle: service: vi: Implement BufferQueue::CancelBuffer.
|
| |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
- This is used by Super Mario 3D All-Stars.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
service: acc: Stub IManagerForApplication::StoreOpenContext.
|
|/ / / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
- Used by Super Mario 3D All-Stars.
|
|\ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / /
|/| | | | | | | | | |
vk_device: Block VK_EXT_extended_dynamic_state for RDNA devices
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
RDNA devices seem to crash when using VK_EXT_extended_dynamic_state in
the latest 20.9.2 proprietary Windows drivers. As a workaround, for now
we block device names corresponding to current RDNA released products.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
audio_core/CMakeLists: Make warnings consistent with core
|
|/ / / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Normalizes the warnings shared between audio_core and core.
|
|\ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / /
|/| | | | | | | | | |
core/CMakeLists: Make some warnings errors
|
|/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Makes our error coverage a little more consistent across the board by
applying it to Linux side of things as well. This also makes it more
consistent with the warning settings in other libraries in the project.
This also updates httplib to 0.7.9, as there are several warning
cleanups made that allow us to enable several warnings as errors.
|
|\ \ \ \ \ \ \ \ \
| |_|/ / / / / / /
|/| | | | | | | | |
file_sys/nsp: Make SetTicketKeys actually do something
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Previously, the method wasn't modifying any class state and therefore not having any effects when called.
Since this has been the case for a very long time now, I'm not sure if we couldn't just remove this method altogether.
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
shader/texture: Implement CUBE texture type for TMML and fix arrays
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
TMML takes an array argument that has no known meaning, this one appears
as the first component in gpr8 followed by s, t and r. Skip this
component when arrays are being used. Also implement CUBE texture types.
- Used by Pikmin 3: Deluxe Demo.
|
|\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
video_core: Enforce -Wclass-memaccess
|
| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / /
|/| | | | | | | | | | |
InputCommon: Add compatibility with only accelerometer and auto calibrate for drift
|
| | | | | | | | | | | |
|
| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / / /
|/| | | | | | | | | | |
video_core: Enforce -Wunused-variable and -Wunused-but-set-variable
|
| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
InputCommon: Add random motion input for buttons
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / / / /
|/| | | | | | | | | | | |
renderer_vulkan/wrapper: Fix physical device sorting
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
The old code had a sort function that was invalid and it didn't work as
expected when the base vector had a different order (e.g. renderdoc was
attached).
This sorts devices as expected and fixes a debug assert on MSVC.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
common: Use system zstd on Linux
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
From what I understand, this tells CMake to use the system, not conan,
version of zstd. Required to build on the coming MinGW Docker container.
|
| | | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / / / /
|/| | | | | | | | | | | | |
hid: Stub HomeButtonInputProtection service commands
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
- Used in 1-2 Switch. Given that we do not emulate the functionality of the home button yet, we can stub this for now.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
submission_package: Fix updates integrated into cartridge images.
|
| | |_|_|_|_|_|_|_|_|_|/ /
| |/| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
capsrv: Stub 3 variants of SetShimLibraryVersion
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
- Used by caps_su SetShimLibraryVersion
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
- Used in Super Smash Bros. Ultimate
|
| | |/ / / / / / / / / / /
| |/| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Reduce the "shake" requirements when configuring UDP.
|
| | | | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
HID: Only use inputs corresponding to controller type
|
| | |_|_|_|_|_|/ / / / / / /
| |/| | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ / / / / / /
|/| | | | | | | | | | | | | |
Update translations (2020-09-11)
|
| | | | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / / / / /
|/| | | | | | | | | | | | | |
HID: Add Stub for EnableSixAxisSensorFusion
|
| | | | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
input_common: First implementation of controller rumble
|
| | |_|_|_|_|/ / / / / / / /
| |/| | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / / / / / / /
|/| | | | | | | | | | | | | |
frontend/controller: Eliminate dependency on the global system instance
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
This way it's obvious that this function shouldn't be used in any future
code.
|
| | |_|_|_|_|/ / / / / / /
| |/| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
qt/game_list: Give GameListSearchField::KeyReleaseEater a parent
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
This fixes a memory leak as KeyReleaseEater's destructor was never
called.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
common/wall_clock: Add virtual destructors
|
| |/ / / / / / / / / / / / /
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
From -fsanitize=address, this code wasn't calling the proper destructor.
Adding virtual destructors for each inherited class and the base class
fixes this bug.
While we are at it, mark the functions as final.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
Remove ext_extended_dynamic_state blacklist
|
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
Latest AMD 20.9.2 driver fixed this, there's no reason to keep it blocked, as the previous stable signed driver release doesn't include the extension.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / / / / /
|/| | | | | | | | | | | | | | |
HID: Use different timing for motion
|
| | | | | | | | | | | | | | | |
|
| |_|_|_|/ / / / / / / / / /
|/| | | | | | | | | | | | |
| | | | | | | | | | | | | | |
This is currently necessary to build ffmpeg
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / / / / /
|/| | | | | | | | | | | | | |
main: Allow applets to display on top while fullscreen
|
| | |_|_|_|/ / / / / / / /
| |/| | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Using the Qt::WindowStaysOnTopHint flag allows these dialogs to show up on top while running in fullscreen. However, if yuzu goes out of focus (by alt-tabbing or otherwise), this flag does not seem to have an effect.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
codec: Make lookup table static constexpr
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Allows compilers to elide needing to push these values on the stack
every time the function is called.
|
| | |_|/ / / / / / / / / /
| |/| | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Allows compilers to elide needing to push these values on the stack
every time the function is called.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
cubeb_sink: Use static_cast instead of reinterpret_cast in DataCallback()
|
| |/ / / / / / / / / / / /
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Conversions from void* to the proper data type are well-defined and
supported by static_cast. We don't need to use reinterpret_cast here.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / / / / /
|/| | | | | | | | | | | | |
nvdrv: Stub nvdec/vic ioctls to bypass nvdec movies
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
audio_core: Resolve sign conversion warnings
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
While were at it, we can also enable sign conversion warnings and other
common warnings as errors to prevent these from creeping back into the
codebase.
|
| | |/ / / / / / / / / / /
| |/| | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
While we're at it we can make the destructor of the base class virtual
to ensure that any polymorphism issues never occur.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
vk_stream_buffer: Fix initializing Vulkan with NVIDIA on Linux
|
| |/ / / / / / / / / / / /
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
The previous fix only partially solved the issue, as only certain GPUs that needed 9 or less MiB subtracted would work (i.e. GTX 980 Ti, GT 730). This takes from DXVK's example to divide `heap_size` by 2 to determine `allocable_size`. Additionally tested on my Quadro K4200, which previously required setting it to 12 to boot.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| |_|_|/ / / / / / / / / /
|/| | | | | | | | | | | | |
shader/registry: Make use of designated initializers where applicable
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Using statements already make these unnecessary.
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Same behavior, less repetition.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
vk_command_pool: Add missing header guard
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Allows the implementation details to be changed without recompiling any
files that include this header.
|
| | | | | | | | | | | | | | |
|
| | |/ / / / / / / / / / /
| |/| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
audio_core: Remove unnecessary inclusions
|
| |/ / / / / / / / / / / /
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Same behavior, but removes header dependencies where they don't need to
be.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / / /
|/| | | | | | | | | | | | |
behavior_info: Fix typo Renerer -> Renderer
|
|/ / / / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
service: Restore "unused" function
|
| |/ / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Turns out this function is actually used, but within a trace log.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / / / / /
|/| | | | | | | | | | | |
arithmetic_integer_immediate: Make use of std::move where applicable
|
| |/ / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Same behavior, minus any redundant atomic reference count increments and
decrements.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
acc: Partially implement LoadOpenContext
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This is used in multiple games such as:
- Clubhouse Games: 51 Worldwide Classics
- Grandia HD Collection
- XCOM 2 Collection
- Baldur's Gate 1/2
- Dr Kawashima's Brain Training
- Super Mario 3D All-Stars
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|_|/ / / /
|/| | | | | | | | | | | |
renderer_vulkan: Make unconditional use of VK_KHR_timeline_semaphore
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This is a hack to destroy all HostCounter instances before the base
class destructor is called. The query cache should be redesigned to have
a proper ownership model instead of using shared pointers.
For now, destroy the host counter hierarchy from the derived class
destructor.
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This reworks how host<->device synchronization works on the Vulkan
backend. Instead of "protecting" resources with a fence and signalling
these as free when the fence is known to be signalled by the host GPU,
use timeline semaphores.
Vulkan timeline semaphores allow use to work on a subset of D3D12
fences. As far as we are concerned, timeline semaphores are a value set
by the host or the device that can be waited by either of them.
Taking advantange of this, we can have a monolithically increasing
atomic value for each submission to the graphics queue. Instead of
protecting resources with a fence, we simply store the current logical
tick (the atomic value stored in CPU memory). When we want to know if a
resource is free, it can be compared to the current GPU tick.
This greatly simplifies resource management code and the free status of
resources should have less false negatives.
To workaround bugs in validation layers, when these are attached there's
a thread waiting for timeline semaphores.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / / / / /
|/| | | | | | | | | | | |
Add automap feature for GC adapter
|
| | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
memory: Resolve a -Wdocumentation warning
|
| | |_|_|/ / / / / / / /
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
memory doesn't exist as a parameter any more.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
install_dialog: Remove unused function prototype
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Allows the compiler to warn against cases where the return value isn't
used (which would be a bug).
|
| |/ / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This function doesn't have an implementation, so it can be removed to
prevent others from unintentionally using it.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
game_list: Eliminate redundant argument copies
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Makes the naming consistent with the rest of the functions that are
present.
|
| |/ / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Several functions can be taken by const reference to avoid copies
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / /
|/| | | | | | | | | | | |
control_flow: Make use of std::move in InsertBranch()
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Places data structures where they'll eventually be moved to to avoid
needing to even move them in the first place.
|
|/ / / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Avoids unnecessary atomic increments and decrements.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
General: Make use of std::nullopt where applicable
|
|/ / / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Allows some implementations to avoid completely zeroing out the internal
buffer of the optional, and instead only set the validity byte within
the structure.
This also makes it consistent how we return empty optionals.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
ips_layer: Eliminate a redundant copy in Parse()
|
|/ / / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Prevents unnecessary copying of the line being parsed.
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|/ / / / / / / /
|/| | | | | | | | | | |
submission_package: Account for multi-content NSPs
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Previously we assumed a submission package can only contain one Program NCA with a single TitleID.
However, Super Mario 3D All-Stars contains four Program NCAs, each with their unique TitleIDs.
This accounts for the existence of multi-content games such as this one.
- Fixes booting Super Mario 3D All-Stars from the games list.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
renderer_opengl: Remove emulated mailbox presentation
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Emulated mailbox presentation was causing performance issues on
Nvidia's OpenGL driver. Remove it.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / /
|/| | | | | | | | | | | |
hid: Implement Get/SetNpadHandheldActivationMode
|
| |/ / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- Used in Clubhouse Games: 51 Worldwide Classics
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / /
|/| | | | | | | | | | |
Test: Decrease pad_update_ns
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
There have been reports of quite heavy input lag in the past.
Compared to Citra for example, our pad_update_ns value is very high.
So let's decrease it and see if it helps with this problem.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
fermi_2d: Make use of designated initializers
|
|/ / / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Same behavior, less repetition. We can also ensure all members of Config
are initialized.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
configure_input_player: Fixes motion mapping using ConfigureButtonClick
|
|/ / / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
configure_input_player: Re-add "Clear" context menu option
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
The context menu was removed in Mjölnir Part 1 as part of the input rewrite as we were unaware of it's usage statistics.
However, as this was the only way to clear the inputs of individual buttons, this PR will re-add it back in.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / /
|/| | | | | | | | | | | |
am: Stub GetPreviousProgramIndex
|
|/ / / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- Used in Super Mario 3D All-Stars
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
arm_dynarmic_cp15: Initialize member variables
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Ensures that the member variables are always initialized to a
deterministic value on creation.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
service/sm: Eliminate dependency on the global system instance
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
We can check the end of the string first for null-termination, rather
than the beginning of the string.
|
| |/ / / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
service: Remove unused funcation
|
| |/ / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This is now completely unused, so it can be removed.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
command_generator/nfp: Eliminate unnecessary copies
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
In a lot of cases, we can make use of const references rather than
non-const references.
While we're in the area we can silence some truncation and sign
conversion warnings.
|
| | | | | | | | | | | | | |
|
| |/ / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
GetAmiiboBuffer() returns by const reference, so we can use a reference
instead of taking the returned buffer by value.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
decoder/texture: Eliminate narrowing conversion in GetTldCode()
|
| |/ / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
The assignment was previously truncating a u64 value to a bool.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
decode/image: Eliminate switch fallthrough in DecodeImage()
|
| |/ / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Fortunately this didn't result in any issues, given the block that code
was falling through to would immediately break.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
hid/configuration: Implement motion controls to HID
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
This allows toggling motion on or off, and allows access to the motion configuration.
Also changes the [waiting] text for motion buttons to Shake! as this is how motion is connected to a player.
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Simplifies the motion assignment in the Dual Joycon entry and assigns index 1 of the motion entry (Motion 2) for the right joycon.
|
| | | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / / / /
|/| | | | | | | | | | | | |
control_metadata: Resolve typo in Portuguese language name
|
|/ / / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This isn't used anywhere, so this is a trivial fix.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / / / /
|/| | | | | | | | | | | |
gc_adapter: Disable MSVC nonstandard extension warning on libusb.h
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Pragma disable zero-sized array nonstandard extension warning on MSVC.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
video_core: Enforce -Werror=switch
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
This forces us to fix all -Wswitch warnings in video_core.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / / /
|/| | | | | | | | | | | | |
bis_factory/romfs_factory: Eliminate dependencies on the global system instance
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
|/ / / / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
core/loader: Remove dependencies on the global system instance
|
|/ / / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Now all that remains is:
18 instances in file_sys code
14 instances in GDB stub code (this can be tossed wholesale)
4 instances in HLE code
2 instances in settings code.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
nca_patch: Reduce stack usage size within SearchBucketEntry()
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Previously this function was using ~16KB of stack (16528 bytes), which
was caused by the function arguments being taken by value rather than by
reference.
We can make this significantly lighter on the stack by taking them by
reference.
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
This is only used internally and doesn't depend on any class state, so
we can make it fully internal.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / / /
|/| | | | | | | | | | | | |
cheat_engine: Remove unnecessary system argument to CheatParser's Parse function
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
We don't need to create two separate instantiations of the same code, we
can simply make the character template argument a regular function
parameter.
|
|/ / / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This isn't used within the function at all in any implementations, so we
can remove it entirely.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / /
|/| | | | | | | | | | | |
patch_manager: Minor cleanup
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
We make it explicit that we're truncating arithmetic here to resolve
compiler warnings (even if the sizes weren't u32/u64 arithmetic
generally promotes to int :<)
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
We can use these to avoid typing the same type redundantly. This way, if
these ever change, only a single location needs to be modified.
|
|/ / / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
These functions are only used within this translation unit, so we can
make them internally linked.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
crypto/key_manager: Remove dependency on the global system accessor
|
|/ / / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
We can supply the content provider as an argument instead of hardcoding
a global accessor in the implementation.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
kernel: Remove all dependencies on the global system instance
|
|/ / / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
With this, the kernel finally doesn't depend directly on the global
system instance anymore.
|
|\ \ \ \ \ \ \ \ \ \ \
| |_|_|/ / / / / / / /
|/| | | | | | | | | | |
service: Remove two usages of the global system accessor
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Removes more instances of reliance on global state.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
kernel/scheduler: Use std::mutex instead of spin lock
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Profiling shows that this is a highly contested mutex, causing dimishing
results compared to a OS lock. std::mutex implementations can spin for a
while before falling back to an OS lock.
This avoids wasting precious CPU cycles in a no-op.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Remove bad and useless packages from LGTM build
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
It still fails due to CMake version being 3.13.4, but at
least we are not ones to blame now.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
cmake: Update to Qt 5.12.8
|
| | |_|/ / / / / / / / / /
| |/| | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ / / / / /
|/| | | | | | | | | | | | |
bsd: Resolve a few warnings
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Previously the address provided to SendToImpl would never be propagated
to SendTo(). This fixes that.
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Same behavior, less typing.
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
We can simplify this a little by explicitly specifying the typename for
the lambda function.
|
| |/ / / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / / /
|/| | | | | | | | | | | |
audio_core: Apollo Part 1, AudioRenderer refactor
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Project Mjölnir: Part 2 - Controller Applet
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Resolves -Wsign-compare and -Wunused-variable
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
- Some games like Shipped have a minimum requirement of 0 connected players and is undesired behavior. We must require a minimum of 1 player connected regardless of what games may ask.
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Now left and right joycons have the same priority (meaning both needs to be supported by the game).
Explanation of the new heuristic:
Assign left joycons to even player indices and right joycons to odd player indices.
We do this since Captain Toad Treasure Tracker expects a left joycon for Player 1 and a right Joycon for Player 2 in 2 Player Assist mode.
|
| | | | | | | | | | | | | |
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Implement the fallback applet for the SDL frontend, connecting only the minimum amount of players required.
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
This avoids unintentionally changing the states of elements while loading them in.
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Avoids repetitive usages of the int literal '8' or calls to player_widgets.size()
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
"Explain Text" is additional text that is shown for each player in the controller applet.
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Co-authored-by: Its-Rei <kupfel@gmail.com>
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / / / / / /
|/| | | | | | | | | | | | |
configure_input_player: Resolve sign conversion warnings in UpdateMappingWithDefaults()
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Prevents sign mismatch warnings in the loop conditionals.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
video_core: Remove all Core::System references in renderer
|
| | |/ / / / / / / / / / /
| |/| | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Now that the GPU is initialized when video backends are initialized,
it's no longer needed to query components once the game is running: it
can be done when yuzu is booting.
This allows us to pass components between constructors and in the
process remove all Core::System references in the video backend.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / / / / /
|/| | | | | | | | | | | | |
gc_adapter: Make DeviceConnected() a const member function
|
|/ / / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This doesn't modify instance state, so it can be made const.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
game_list_p: Mark some constants as constexpr
|
| | | | | | | | | | | | | |
|
| | |/ / / / / / / / / /
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Consistency change with how we mark constants in the rest of the
codebase.
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / / / / /
|/| | | | | | | | | | | |
services: Implement most of bsd:s and GetCurrentIpAddress from nifm
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Testing shows that Poll called with zero entries returns -1 and signals
an errno of zero.
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This implements: Socket, Poll, Accept, Bind, Connect, GetPeerName,
GetSockName, Listen, Fcntl, SetSockOpt, Shutdown, Recv, RecvFrom,
Send, SendTo, Write, and Close
The implementation was done referencing: SwIPC, switchbrew, testing
with libnx and inspecting its code, general information about bsd
sockets online, and analysing official software.
Not everything from these service calls is implemented, but everything
that is not implemented will be logged in some way.
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Manage worker threads with an easy to use abstraction.
We can expand this to support thread deletion in the future.
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This abstraction allows executing blocking functions (like recvfrom on a
socket configured for blocking) without blocking the service thread.
It is intended to be used with SleepClientThread.
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
These functions translate from Network enumerations/structures to guest
enumerations/structures and viceversa.
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Add guest enumerations and structures used in socket services
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This is trivially implemented using the Network abstraction
- Used by ftpd
|
|\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|/ / / / / / / / /
|/| | | | | | | | | | | |
hid: Implement MergeSingleJoyasDualJoy
|
|/ / / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
- Used in multiple games such as Super Mario Odyssey.
|
|\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
Port citra-emu/citra#5495: "Add LGTM static analyzer config file"
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Co-Authored-By: Valeri <v19930312@gmail.com>
|
|\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
externals: Update Xbyak to 5.96
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
I made a request on the Xbyak issue tracker to allow some constructors
to be constexpr in order to avoid static constructors from needing to
execute for some of our register constants.
This request was implemented, so this updates Xbyak so that we can make
use of it.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
gc_poller: Resolve compilation warnings on MSVC
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
We just need to make our intentional implicit truncations explicit.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
common_funcs: Add missing XOR operators to DECLARE_ENUM_FLAG_OPERATORS
|
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
Ensures that the full set of bitwise operators are available for types
that make use of this macro.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
hle/scheduler: Fix data race in is_context_switch_pending
|
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
As reported by tsan, SelectThreads could write to
is_context_switch_pending holding a mutex while SwitchToCurrent reads it
without holding any.
It is assumed that the author didn't want an atomic here, so the code is
reordered so that whenever is_context_switch_pending is read inside
SwitchToContext, the mutex is locked.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
async_shaders: Mark getters as const member functions
|
| | |/ / / / / / / / / / / / / /
| |/| | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
While we're at it, we can also mark them as nodiscard.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
file_sys/patch_manager: Add missing include
|
|/ / / / / / / / / / / / / / / /
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
Fixes build issues
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
fsp_srv: Resolve -Wmaybe_uninitialized warning in OpenSaveDataFileSystem()
|
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
We can just log out the parameters in the meantime.
|
| | |_|_|_|_|_|_|_|_|_|_|/ / / /
| |/| | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
Initialize id to a deterministic value and also mark the unreachable
cases in the switch with UNREACHABLE().
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
file_sys: Replace inclusions with forward declarations where applicable
|
| |/ / / / / / / / / / / / / / /
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
Same behavior, minus unnecessary inclusions where not necessary.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
externals: Work around libusb duplicate GUID errors
|
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
Given we have two libraries that seem to use the same identifier, we can
alter one of them so that the variable is used in place, effectively
changing the used identifier, but without altering the source of
libusb.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / / / / / / /
|/| | | | | | | | | | | | | | | | |
main: Use three dots to complete the ellipsis
|
|/ / / / / / / / / / / / / / / /
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
Fixes a typo in the UI file. An ellipsis has 3 dots.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
input_common/motion_input: Make use of Common::PI constant
|
|/ / / / / / / / / / / / / / / /
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
Also amend the copyright notice to yuzu's instead of Dolphin's, which was mistakenly copy-pasted from another file.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
input_common: Add a basic class for motion devices
|
| | | | | | | | | | | | | | | | | |
|
| | | | | | | | | | | | | | | | | |
|
| | | | | | | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
externals: Track upstream libusb directly
|
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
We can place the external in an inner folder and manage the custom files
necessary to integrate it with CMake directly. This allows us to
directly change how we use it with our build system, as opposed to
needing to change a fork.
|
| | |_|_|_|/ / / / / / / / / / / /
| |/| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
We shouldn't be tracking personal forks of repositories when upstream
can be managed directly.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
yuzu: Add motion and touch configuration from Citra
|
| | | | | | | | | | | | | | | | | | |
|
| | | | | | | | | | | | | | | | | | |
|
| | | | | | | | | | | | | | | | | | |
|
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/
| |/| | | | | | | | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
common/thread: Fix data race in is_set
|
| | |_|_|_|_|/ / / / / / / / / / /
| |/| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
As report by tsan, Event::Set can write is_set while WaitFor and friends
are reading from it. To address this issue, make is_set an atomic.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
hle/kernel: Fix data race in GetCurrentHostThreadID
|
| |/ / / / / / / / / / / / / / / /
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
As reported by tsan, host_thread_ids could be read while
any of the RegisterHostThread variants were called.
To fix this, lock the register mutex when yuzu is running in multicore
mode and GetCurrentHostThreadID is called.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
externals/microprofile: Fix data race in g_bUseLock
|
| |/ / / / / / / / / / / / / / / /
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
As reported by tsan, g_bUseLock had a data race. Fix this using an
atomic boolean.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
Fix thread naming on Linux, which limits names to 15 bytes.
|
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
- In `SetCurrentThreadName`, when on Linux, truncate to 15 bytes, as (at
least on glibc) `pthread_set_name_np` will otherwise return `ERANGE` and
do nothing.
- Also, add logging in case `pthread_set_name_np` returns an error
anyway. This is Linux-specific, as the Apple and BSD versions of
`pthread_set_name_np return `void`.
- Change the name for CPU threads in multi-core mode from
"yuzu:CoreCPUThread_N" (19 bytes) to "yuzu:CPUCore_N" (14 bytes) so it
fits into the Linux limit. Some other thread names are also cut off,
but I didn't bother addressing them as you can guess them from the
truncated versions. For a CPU thread, truncation means you can't see
which core it is!
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|_|/ / / / / / / / / /
|/| | | | | | | | | | | | | | | | | |
vk_device: Fix driver id check on AMD for VK_EXT_extended_dynamic_state
|
|/ / / / / / / / / / / / / / / / /
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
'driver_id' can only be known on Vulkan 1.1 after creating a logical
device. Move the driver id check to disable
VK_EXT_extended_dynamic_state after the logical device is successfully
initialized.
The Vulkan device will have the extension enabled but it will not be
used.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
sdl_impl: Minor cleanup
|
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
These maps can be constexpr arrays of std::pair.
|
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
Avoids redundant copies.
|
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
Avoids churning ParamPackage instances.
|
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
We need to add the 'f' suffix to make the right hand side a float and
not a double.
|
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | |
The purpose of make_tuple is that you don't need to explicitly type out
the types of the things that comprise said tuple.
Given this just returns default values, we can simplify this a bit.
|
| | |_|_|_|_|_|_|_|_|/ / / / / / /
| |/| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
This doesn't modify internal member state, so it can be marked as const.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / / / / / / / / /
|/| | | | | | | | | | | | | | | | |
bootmanager: Prevent unnecessary copies in TouchUpdateEvent()
|
| |/ / / / / / / / / / / / / / /
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
The list of points is returned by const reference, so we don't need to
make a copy of every element in the list.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
yuzu/main: Amend lifetime issues with InputSubsystem
|
| |/ / / / / / / / / / / / / / /
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
Due to the way Qt performs destruction of parent/child widgets, we need
to make the lifetime of the input subsystem shared across the main
window and the render window.
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / / / / / /
|/| | | | | | | | | | | | | | | |
yuzu/configuration: Fix index out of bounds for default_analogs
|
|/ / / / / / / / / / / / / / / |
|
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | |
input_common/main: Remove unimplemented prototype
|
| | | | | | | | | | | | | | | | |
|