Morph
c4d6d9dfd3
general: Replace RESULT_UNKNOWN with ResultUnknown
Transition to PascalCase for result names.
5 years ago
Morph
7ebc38a6d1
general: Replace RESULT_SUCCESS with ResultSuccess
Transition to PascalCase for result names.
5 years ago
Morph
255597ad04
Merge pull request #6395 from lioncash/result-move
common_funcs: Move R_ macros to result.h
5 years ago
Mai M
3d1f1ac7fc
Merge pull request #6397 from Morph1984/fs_util
common: fs: fs_util: Add more string conversion functions
5 years ago
Morph
02fcdf1a4a
common: fs: fs_util: Move PathToUTF8String to fs_util
5 years ago
Morph
6545556483
common: fs: fs_util: Add more string conversion functions
5 years ago
bunnei
56070f371a
Merge pull request #6361 from lat9nq/per-hb-cfg
yuzu qt: Handle per-game configs for title id 0
5 years ago
Morph
9469ae8afc
Merge pull request #6396 from lat9nq/mingw-sdl-fix
externals: Use defaults for building SDL2 on WIN32
5 years ago
bunnei
bfacb2dd28
Merge pull request #6318 from german77/dualJoycon
input_common: Add dual joycon support
5 years ago
bunnei
6f7e68ee56
Merge pull request #6367 from ReinUsesLisp/vma-host
vulkan_memory_allocator: Allow textures to be allocated in host memory
5 years ago
Lioncash
cb111c0038
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.
5 years ago
lat9nq
f84b96908e
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.
5 years ago
Ameer J
640601082a
Merge pull request #6394 from lat9nq/mingw-fix
externals: libusb: Use autotools for MinGW
5 years ago
lat9nq
a075dc1304
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.
5 years ago
bunnei
89c77a6b91
Merge pull request #6385 from degasus/save_memory_access
core/memory: Check our memory fallbacks for out-of-bound behavior.
5 years ago
bunnei
3ce92348e4
Merge pull request #6344 from german77/update-libusb
Update libusb to 1.0.24
5 years ago
bunnei
9c2c961435
Merge pull request #6377 from lioncash/point
common: Extract Point struct into common
5 years ago
bunnei
3c1b54384e
Merge pull request #6387 from lioncash/class-token
k_class_token: Use variable templates where applicable
5 years ago
bunnei
f8478eb045
Merge pull request #6386 from bunnei/shutdown-fix
video_core: gpu: WaitFence: Do not block threads during shutdown.
5 years ago
bunnei
bd654a9084
ci: build-msvc: Remove CMake install step.
- This is breaking our build pipelines with Zydis (dynarmic dependency).
5 years ago
Mai M
41fa521da1
Merge pull request #6374 from Morph1984/swkbd-textcheck-encoding
applets/swkbd: Only read the text check message on Failure/Confirm
5 years ago
Mai M
dfffaab2a3
Merge pull request #6364 from german77/stub-lp2p
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.
5 years ago
bunnei
709978a253
Merge pull request #6379 from degasus/update_dynarmic
externals: Update dynarmic.
5 years ago
Lioncash
2197782ecd
k_class_token: Use variable templates where applicable
Same behavior, less code.
5 years ago
bunnei
137938f971
Merge pull request #6384 from lioncash/virtual
kernel: Add missing override specifiers
5 years ago
bunnei
6864ccfee8
Merge pull request #6382 from lioncash/null
k_thread: Move dereference after null check in Initialize()
5 years ago
bunnei
9aa144323b
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.
5 years ago
Markus Wick
870505def8
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.
5 years ago
bunnei
fb86819b39
Merge pull request #6373 from bunnei/use-slabheap-tls
hle: kernel: KSlabHeap: Allow host or guest allocations.
5 years ago
Mai M
34f281a583
Merge pull request #6383 from degasus/fix_gcc_warnings
Fix two GCC 11 warnings: Unneeded copies.
5 years ago
Markus Wick
5aca25637f
core/arm_interface: Improve the performance of memory fallbacks.
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.
5 years ago
Lioncash
a9fcaa9c00
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.
5 years ago
Markus Wick
9f92beed0a
Fix two GCC 11 warnings: Unneeded copies.
std::move created an unneeded copy.
iterating without reference also created copies.
5 years ago
Markus Wick
6203af4169
externals: Update dynarmic.
The new version supports fastmem on a64.
5 years ago
Lioncash
2d390c1911
k_thread: Move dereference after null check in Initialize()
Prevents a -Wnonnull warning on GCC.
5 years ago
bunnei
95b988ece3
Merge pull request #6371 from degasus/drop_ExceptionalExit
core/arm_interface: Call SVC after end of dynarmic block.
5 years ago
bunnei
639baf88f7
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.
5 years ago
bunnei
1a459cd780
Merge pull request #6356 from ogniK5377/ApplyNpadSystemCommonPolicy
hid: ApplyNpadSystemCommonPolicy
5 years ago
Lioncash
dabb48cb06
touchscreen: Make use of common point struct
5 years ago
Lioncash
f49ea1959b
common: Extract point into a common struct
This is generic enough that it can be moved into the Common class for
reuse.
5 years ago
Morph
cd96d8f2c1
Merge pull request #6375 from lioncash/iofs
common/fs/file: Default initialize IOFile members
5 years ago
Lioncash
c0e0c9f71f
common/fs/file: Explicitly delete copy constructors
Relocates them to the same place the move equivalents are at for
consistent viewing.
5 years ago
Lioncash
1f79d51913
common/fs/file: Devirtualize destructor
IOFile is a final class, so there's no need for a virtual destructor.
5 years ago
Lioncash
0b7cade7b8
common/fs/file: Default initialize IOFile members
Prevents a potential uninitialized read vector in the move constructor.
5 years ago
Morph
ed52a83511
applets/swkbd: Make use of std::move where applicable
Avoids redundant string copies
5 years ago
Morph
4b064097bd
applets/swkbd: Only read the text check message on Failure/Confirm
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.
5 years ago
bunnei
53bc58008f
Merge pull request #6372 from bunnei/raster-cache-fix
video_core: rasterizer_cache: Use u16 for cached page count.
5 years ago
bunnei
e4f580af9a
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.
5 years ago
Markus Wick
c9f9e77be3
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.
5 years ago
Mai M
5e95283c23
Merge pull request #6369 from lat9nq/cmake-fix-dep-opt
cmake: Fix usage of CMAKE_DEPENDENT_OPTION
5 years ago