Morph
f4f67c448a
yuzu: config: Silence narrowing conversion warning on MSVC
5 years ago
Ameer J
60db565a5f
Merge pull request #6259 from Morph1984/main-conv
yuzu: main: Silence type conversion warning on MSVC
5 years ago
Morph
d93fa45cf8
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.
5 years ago
Morph
36e7e886d0
yuzu: main: Silence type conversion warning on MSVC
5 years ago
bunnei
9c73b9168b
Merge pull request #6250 from lioncash/loader-shadow
loader: Resolve instances of variable shadowing
5 years ago
Lioncash
41c7ce33b6
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.
5 years ago
german77
b91b81a2a3
address comments
5 years ago
german77
7d6d399f26
input_common: Reset GC sticks center by measuring multiple packets
5 years ago
bunnei
d2ac0ce0c7
Merge pull request #6246 from lioncash/shadow
service: Eliminate cases of member variable shadowing
5 years ago
bunnei
2ea830d780
Merge pull request #6236 from Morph1984/swkbd-button-hint-scaling
applets/swkbd: Fix software keyboard button hint scaling
5 years ago
A-w-x
116d1bd6bf
gl_device: Intel: Disable texture view formats workaround on mesa
5 years ago
Lioncash
b25f44f4d7
service: Eliminate cases of member shadowing
Resolves a few localized instances of member variable shadowing. Brings
us a little closer to turning shadowing warnings into errors.
5 years ago
bunnei
d333828ae1
Merge pull request #6198 from Kewlan/favorite-games
game_list: Mark games as favorite to make them appear at the top.
5 years ago
bunnei
0366163ef3
Merge pull request #6237 from ameerj/nvdec-end-fix
nvhost_vic: Fix device closure
5 years ago
bunnei
51204856c5
Merge pull request #6241 from Morph1984/new-keyboard-bindings
config: Add new keyboard bindings
5 years ago
lat9nq
8b8c2ddf99
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.
5 years ago
Morph
9e57d03087
config: Add new keyboard bindings
Changes the keyboard bindings to be based on RPCS3's tried and true keyboard bindings.
5 years ago
Rodrigo Locatti
0e98d54769
Merge pull request #6238 from ameerj/vk-bgr-fix
vk_texture_cache: Swap R and B channels of color flipped format
5 years ago
ameerj
7d421b1c04
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.
5 years ago
ameerj
de494b30d4
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.
5 years ago
Its-Rei
6b2bdb75bd
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.
5 years ago
Mat M
dd3655702d
Merge pull request #6234 from Morph1984/stub-am
ICommonStateGetter: Stub SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled
5 years ago
Mat M
5a8ddc5c16
Merge pull request #6235 from german77/ectx_aw
glue: Add ectx:aw service placeholder
5 years ago
german77
9ceb9df088
glue: Add ectx:aw placeholder
5 years ago
bunnei
7f2b5d4e83
Merge pull request #6230 from Morph1984/default-resource-size
program_metadata: Set a default resource size when a NPDM is not present
5 years ago
bunnei
0ecae06ce6
Merge pull request #6227 from lioncash/meta
program_metadata: Explicitly specify copy/move operators/functions
5 years ago
german77
c8845b4fdf
hid: Implement SevenSixAxis and ConsoleSixAxisSensor
5 years ago
Morph
7835a7370f
ICommonStateGetter: Stub SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled
- Used by Pixel Game Maker Series Werewolf Princess Kaguya
5 years ago
bunnei
e4c5b365d5
Merge pull request #6228 from lioncash/semi
lm: Resolve -Wextra-semi warning
5 years ago
bunnei
1903c126dc
Merge pull request #6229 from lioncash/unused-var
acc/lbl: Remove unused variables
5 years ago
bunnei
8c0d8b486e
Merge pull request #6231 from lioncash/aes
aes_util: Make use of std::span
5 years ago
Morph
0357607044
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.
5 years ago
bunnei
97673232fd
Merge pull request #6232 from lioncash/alias2
emu_window: unsigned -> u32
5 years ago
Lioncash
e19906c9b6
emu_window: Return pair from ClipToTouchScreen() instead of tuple
This is only a 2-tuple, so it can be converted over to the std::pair
class.
5 years ago
Lioncash
19caa4ffd2
emu_window: unsigned -> u32
This is more concise and consistent with the rest of the codebase.
5 years ago
Lioncash
72481cce94
aes_util: Make use of std::span
Allows us to simplify the interface quite a bit as it will handle
contiguous sequences for us.
5 years ago
Lioncash
5bc631a7c5
acc/lbl: Remove unused variables
5 years ago
Lioncash
61f25f6eff
lm: Make use of insert_or_assign() in Log()
Avoids unnecessary default construction of an entry in cases where no
entry exists before overwriting the created entry.
5 years ago
Lioncash
0b535a371f
lm: Prevent redundant map lookups in Log()
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.
5 years ago
Lioncash
d9917dd09c
lm: Resolve -Wextra-semi warning
Resolves a trivial warning with clang.
5 years ago
Lioncash
596e303d7b
program_metadata: Explicitly specify copy/move 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.
5 years ago
Morph
2e6d247754
Merge pull request #6225 from ameerj/unused-header
yuzu_cmd: Remove unused resource.h
5 years ago
ameerj
26f5049a7e
yuzu_cmd: Remove unused resource.h
5 years ago
bunnei
296172950e
Merge pull request #6224 from Morph1984/hid_InitializeSevenSixAxisSensor
service: hid: Get transfer memory for InitializeSevenSixAxisSensor
5 years ago
bunnei
f8e4c29953
Merge pull request #6222 from lat9nq/ext-boost
cmake: Download Boost from ext-linux-bin if inadequate local version
5 years ago
lat9nq
8480f49835
cmake: Download Boost 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
5 years ago
Morph
9c8242ed3f
service: hid: Get transfer memory for InitializeSevenSixAxisSensor
5 years ago
bunnei
e02a62283e
Merge pull request #6223 from lat9nq/ffmpeg-external-fixes
cmake: Fix FFmpeg external usage and cleanup
5 years ago
bunnei
9e35805ac8
Merge pull request #6214 from Morph1984/time-fix-kirby-clash
time: Fix GetClockSnapshotFromSystemClockContext
5 years ago
lat9nq
98d932f5a7
cmake: Suppress SDL2 not found warning
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.
5 years ago