german
1be18dc110
Fix orientation errors and improve drift correction
5 years ago
german
e6fc3b5662
Address comments
5 years ago
german
2d207ec609
Implement a basic class for motion devices
5 years ago
Morph
8ffc491546
input_common/main: Add "/Mouse" to the display name
5 years ago
Lioncash
7b50c48df7
memory_manager: Make use of [[nodiscard]] in the interface
5 years ago
Lioncash
d12d59f62a
memory_manager: Make operator+ const qualified
This doesn't modify member state, so it can be marked as const.
5 years ago
Morph
f5f30781ae
configure_input_player: Fix modifier scale button mapping
5 years ago
Morph
1bd70d73c0
configuration/input: Add support for mouse button clicks
Supports the Left, Right, Middle, Backward and Forward mouse buttons.
5 years ago
Morph
eb149ec696
controllers/npad: Fix inconsistencies with controller connection statuses
5 years ago
Morph
334ef2efdd
controllers/npad: Fix LibNX controller connection statuses
This allows homebrew applications to be able to properly detect connected controllers.
5 years ago
Morph
e7c174b426
controllers/npad: Fix LedPattern for P1-4
5 years ago
Morph
de79897f04
input_common: Fix directional deadzone values
The hardware tested value is 0.5 which translates to SHRT_MAX / 2
5 years ago
Morph
efa0b7a056
Address feedback
5 years ago
Morph
f0fac0c7fb
Project Mjölnir: Part 1
Co-authored-by: James Rowe <jroweboy@gmail.com>
Co-authored-by: Its-Rei <kupfel@gmail.com>
6 years ago
Lioncash
3bfaabdbdd
common/assert: Make use of C++ attribute syntax
Normalizes the syntax used for attributes
5 years ago
Lioncash
5bce81c3d6
memory_manager: Mark IsGranularRange() as a const member function
This doesn't modify internal member state, so it can be marked as const.
5 years ago
Lioncash
bae4e6c2f5
gl_texture_cache: Take std::string by reference in DecorateViewName()
LabelGLObject takes a string_view, so we don't need to make copies of
the std::string.
5 years ago
Lioncash
f3bb52c0a9
video_core/fence_manager: Remove unnecessary includes
Avoids pulling in unnecessary things that can cause rebuilds when they
aren't required.
5 years ago
ReinUsesLisp
91df2beee3
video_core/host_shaders: Add CMake integration for string shaders
Add the necessary CMake code to copy the contents in a string source
shader (GLSL or GLASM) to a header file then consumed by video_core
files.
This allows editting GLSL in its own files without having to maintain
them in source files.
For now, only OpenGL presentation shaders are moved, but we can add
GLASM presentation shaders and static SPIR-V generation through
glslangValidator in the future.
5 years ago
ReinUsesLisp
0eaf7e1daa
gl_shader_util: Use std::string_view instead of star pointer
This allows us passing any type of string and hinting the length of the
string to the OpenGL driver.
5 years ago
Lioncash
67a8e73101
registered_cache: Make use of ends_with for string suffix checking
Simplifies code.
5 years ago
Lioncash
f83c6e1e0c
registered_cache: Make use of designated initializers
Removes the need for comments to indicate the fields being assigned.
5 years ago
Lioncash
b62a8ca43e
key_manager: Make data arrays constexpr
We can convert these maps into constexpr arrays to eliminate some
runtime static constructors.
5 years ago
Lioncash
544fbd5c84
cpu_manager: Make use of ranged for where applicable
We can simplify a few loops by making use of ranged for.
5 years ago
Lioncash
79504f1a39
core_timing: Remove unused header
5 years ago
Lioncash
25cd5d9dda
core_timing: Move clock initializer into constructor initializer list
Same behavior, minus unnecessary zeroing out of the pointer.
5 years ago
Lioncash
2624b1eae6
core_timing: Resolve sign conversion warning
This constant is only ever assigned to downcount, which is a s64, not a
u64.
5 years ago
Lioncash
ca5ed50655
web_service: Move web_result.h into web_service
This is the only place it's actively used. It's also more appropriate
for web-related structures to be within the web service target.
Especially given this one doesn't rely on anything in the common
library.
5 years ago
ReinUsesLisp
da53bcee60
video_core: Initialize renderer with a GPU
Add an extra step in GPU initialization to be able to initialize render
backends with a valid GPU instance.
6 years ago
ReinUsesLisp
aed6011d7c
vk_state_tracker: Fix primitive topology
State track the current primitive topology with a regular comparison
instead of using dirty flags.
This fixes a bug in dirty flags for this particular state and it also
avoids unnecessary state changes as this property is stored in a
frequently changed bit field.
5 years ago
bunnei
acbae572d3
Revert "common/time_zone: Simplify GetOsTimeZoneOffset()"
5 years ago
Lioncash
f6bb905182
common/telemetry: Migrate namespace into the Common namespace
Migrates the Telemetry namespace into the Common namespace to make the
code consistent with the rest of our common code.
5 years ago
Lioncash
551882e512
vfs_real: Resolve sign conversion warnings
5 years ago
Lioncash
ed9ae5a977
vfs_real: Avoid redundant map lookups
Avoids some trivially avoidable map lookups by keeping the result of
find operations around and querying them.
5 years ago
Lioncash
e864aa25d5
common/color: Migrate code over to the Common namespace
No external code makes use of this header, so we can freely change the
namespace.
5 years ago
Lioncash
999fc2fece
common/concepts: Move <type_traits> include out of the Common namespace
This is a compiler/linker error waiting to happen.
5 years ago
ameerj
fde8102a41
Remove unneeded newlines, optional Registry in shader params
Addressing feedback from Rodrigo
5 years ago
Ameer J
f49ffdd648
Morph: Update worker allocation comment
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
5 years ago
ameerj
1b829fbd7a
move thread 1/4 count computation into allocate workers method
5 years ago
ameerj
31a76410e8
Address feedback, add shader compile notifier, update setting text
5 years ago
ameerj
c02464f64e
Vk Async Worker directly emplace in cache
6 years ago
ameerj
4539073ce1
Address feedback. Bruteforce delete duplicates
6 years ago
ameerj
6ac97405df
Vk Async pipeline compilation
6 years ago
MerryMage
836ec9176a
dynarmic: Add unsafe optimizations
5 years ago
Lioncash
e23289d869
configure_hotkeys: Don't translate empty strings
There's no need to translate an empty string. This just gives
translators unnecessary work.
5 years ago
Lioncash
c4ed791164
common/fileutil: Convert namespace to Common::FS
Migrates a remaining common file over to the Common namespace, making it
consistent with the rest of common files.
This also allows for high-traffic FS related code to alias the
filesystem function namespace as
namespace FS = Common::FS;
for more concise typing.
5 years ago
Lioncash
d09456fc41
common: Silence two discarded result warnings
These are intentionally discarded internally, since the rest of the
public API allows querying success. We want all non-internal uses of
these functions to be explicitly checked, so we can signify that we
intentionally want to discard the return values here.
5 years ago
Lioncash
fe97d34156
common/time_zone: Simplify GetOsTimeZoneOffset()
We can simplify this function down into a single line with the use of
fmt. A benefit with the fmt approach is that the fmt variant of
localtime is thread-safe as well, making GetOsTimeZoneOffset()
thread-safe as well.
5 years ago
Lioncash
dbb1cbce67
yuzu: Resolve -Wextra-semi warnings
While we're in the same area, we can ensure GameDir member variables are
always initialized to consistent values.
5 years ago
lat9nq
9f972b7d01
main: Add an option to modify the currrent game's configuration
Creates a new entry in the Emulation menu called "Configure Current Game..." that is only available if a game is currently being executed in yuzu. When selected, it opens the game properties dialog for the current game.
Thanks to @BSoDGamingYT for reminding me to do this.
5 years ago