CrazyMax
cf76769026
AM: fix GetDesiredLanguage:
try to get a control metadata from application update when is failed to get from the basic version.
Tested on Kirby Star Allies
6 years ago
ReinUsesLisp
2a9d17b7e7
maxwell_dma: Rename registers to match official docs and reorder
Rename registers in the MaxwellDMA class to match Nvidia's official
documentation. This one can be found here:
https://github.com/NVIDIA/open-gpu-doc/blob/master/classes/dma-copy/clb0b5.h
While we are at it, reorganize the code in MaxwellDMA to be separated in
different functions.
6 years ago
MerryMage
e7c77b90c4
cpu_interrupt_handler: Remove #pragma once from .cpp file
6 years ago
Ameer
b57475887b
Address PR feedback, fix axis button thresholding
6 years ago
Jan Beich
1db10b8f4c
input_common/gcadapter: add missing C++11 header required by libc++
In file included from src/input_common/gcadapter/gc_adapter.cpp:8:
src/./input_common/gcadapter/gc_adapter.h:77:10: error: no template named 'unordered_map' in namespace 'std'
std::unordered_map<int, bool> buttons;
~~~~~^
src/./input_common/gcadapter/gc_adapter.h:78:10: error: no template named 'unordered_map' in namespace 'std'
std::unordered_map<int, u16> axes;
~~~~~^
6 years ago
Ameer
e3253b5f18
Brace the code! Fix compile error due to class member construction order
6 years ago
Ameer
86abff48e1
Recalibrate reconnected controllers
6 years ago
Ameer
7ad423923d
Save origin state of GC controller analog features, compare against origin for input detection
6 years ago
Ameer
40cf9288e9
change shortcut context for other hotkeys with file open dialog
6 years ago
CrazyMax
7bd3558c64
GetDisplayVersion should return a null-terminated version string.
also, in case of failed to get of the basic version, we will try get it from application update.
6 years ago
Ameer
fa4d6df4c5
Fix ss crash on game menu, fix ss on windowed mode
6 years ago
Lioncash
4f678284e2
configure_graphics: Make use of qOverload in signals/slots
While we're in the same area, we can make use of qOverload to tidy up
some function pointer casts.
6 years ago
Lioncash
be06b21f7b
configure_graphics: Prevent unnecessary string copies in UpdateDeviceComboBox()
Unlikely to impact performance at all, but this is essentially a "free"
transformation, so why not?
6 years ago
MerryMage
76bd617b2d
memory: Set page-table pointers before setting attribute = Memory
6 years ago
Morph
c0dc8f9d25
AM/ISelfController: Stub CreateManagedDisplaySeparableLayer
Stub this by sending 1 layer id instead of 2 as yuzu does not support multiple layers per display.
No adverse side effects have been observed.
- Used by Animal Crossing: New Horizons Update 1.3.0
6 years ago
Ameer
d00972fce1
Fix for always firing triggers on some controllers, trigger threshold more universal
6 years ago
Ameer
e69d715e3d
Address lioncash feedback: Log formatting, extern const PadButtonArray, little touch ups
6 years ago
bunnei
98fcd3ba5d
Revert "cmake: fix fmt linking"
6 years ago
Ameer
6e1639c7b0
Fix unnecessary diffs
6 years ago
Ameer
6b7c8e469b
Add LR triggers as axes, half press to initiate a press, add GC axis id in config, clarify some code blocks for better readability
6 years ago
VolcaEM
3f910efb40
Rename two functions in NS
- Rename "GetShellEvent" to "GetShellEventHandle"
- Rename "LaunchApplicationFromHost" to "LaunchApplication"
6 years ago
VolcaEM
38b585a309
Rename GetApplicationArea2 to GetApplicationAreaSize
6 years ago
Jan Beich
b1b1ed7597
cmake: stop linking against QGL after c6a0ab9792
6 years ago
ReinUsesLisp
f6cb128eac
shader_cache: Fix use-after-free and orphan invalidation cache entries
This fixes some cases where entries could have been removed multiple
times reading freed memory. To address this issue this commit removes
duplicates from entries marked for removal and sorts out the removal
process to fix another use-after-free situation.
Another issue fixed in this commit is orphan invalidation cache entries.
Previously only the entries that were invalidated in the current
operations had its entries removed. This led to more use-after-free
situations when these entries were actually invalidated but referenced
an object that didn't exist.
6 years ago
Ameer
34a590e509
Reset adapter state on init, fixes errors relating driver hang from unexpected unplug
6 years ago
David Marcec
28aa697528
Don't handle cycles late if stretcher is active
Timestretcher seems to be broken
6 years ago
David Marcec
24c2930012
audio: Improving audio timing for multicore/single core
Fixes the issue with needing the timestretcher for multicore.
6 years ago
David Marcec
d5dfe34c49
externals: Track opus as submodule instead of using conan
Supersedes #4068 see for details.
6 years ago
Lioncash
fb13f053bb
key_manager: Correct casing of instance()
Our codebase uppercases member function names.
6 years ago
Lioncash
c91710a82f
key_manager: Delete move operations
Prevents the singleton from being moved from.
6 years ago
Lioncash
00a1d106bd
key_manager: Make use of canonical deleted operator=
operator= typically returns a reference, it's not void.
While we're at it, we can correct the parameter formatting to adhere to the
codebase.
6 years ago
Jan Beich
3b1683a152
common: switch to nullptr for sysctl's empty new value
6 years ago
Ameer
a76e11e7f0
Address feedback regarding increments, const vars, and general cleanup
6 years ago
Ameer
dfdf87d844
fix implicit conversion of size_t type to int
6 years ago
Morph
1b31755ba6
maxwell_to_gl: Implement MirrorOnceClampOGL using GL_MIRROR_CLAMP_EXT
Like MirrorOnceBorder, this requires the GL_EXT_texture_mirror_clamp extension. This extension is unfortunately not available on Intel's drivers (both Windows proprietary and Linux Mesa). Use GL_MIRROR_CLAMP_TO_EDGE as a fallback if the extension is unavailable.
6 years ago
David
7c970132b5
macro: Add support for "middle methods" on the code cache ( #4112 )
Macro code is just uploaded sequentially from a starting address, however that does not mean the entry point for the macro is at that address. This PR adds preliminary support for executing macros in the middle of our cached code.
6 years ago
Jan Beich
e6085ea35f
common: add sysconf() fallback
src/common/memory_detect.cpp:15:10: fatal error: 'sys/sysinfo.h' file not found
#include <sys/sysinfo.h>
^~~~~~~~~~~~~~~
6 years ago
Morph
10eca7f651
maxwell_to_gl: Rename VertexType() to VertexFormat()
6 years ago
John Galt
765e37aa35
cmake: fix fmt linking
On gcc/ld, and clang/lld, fmt::v6 symbols are excluded, so linking
fails. This fixes the issue.
Note: This was included in the FindBoost changes I shared with
BlinkHawk, however only they were merged. I'm not sure if it was missed,
or if there was an issue with this part of the change.
6 years ago
VolcaEM
86946ea13c
Remove duplicate functions
6 years ago
VolcaEM
f3630a0713
Use decimal instead of hexadecimal
Co-authored-by: David <25727384+ogniK5377@users.noreply.github.com>
6 years ago
VolcaEM
a0c499aef7
Fix typo
6 years ago
VolcaEM
f2eead3b5b
Clang-format
6 years ago
VolcaEM
6a0010d0c6
service: Update function tables
6 years ago
ReinUsesLisp
8562b516c0
core_timing,scheduler: Use std::scoped_lock when possible
Simplifies the cognitive load of procedures using locks and makes locks
safe against exceptions.
6 years ago
David Marcec
db824b59c8
ldr: Cleanup NRO & NRR structs
6 years ago
Morph
4a35df337b
maxwell_to_vk: Reorder vertex formats and add A2B10G10R10 for all types except float
6 years ago
David Marcec
dcf345febe
am: Stub GetIndirectLayerConsumerHandle
Needed by Monster Hunter Generations Ultimate
6 years ago
Morph
78d80d99a0
maxwell_to_gl: Add 32 bit component sizes to (un)signed scaled formats
Add 32 bit component sizes to (un)signed scaled formats and group (un)signed normalized, scaled, and integer formats together.
6 years ago
David Marcec
f0baf2abf2
acc: ListOpenContextStoredUsers partial stub
Needed by Baldur's Gate 1/2
6 years ago