BytesGalore
f2ef0fede2
build(cmake): fix missing Qt5::DBus link target
4 years ago
Fernando S
bc96f67ce1
Merge pull request #7973 from Morph1984/debug-crash
host_memory: Fix fastmem crashes in debug builds
4 years ago
bunnei
9d25f5409d
Merge pull request #7935 from Wunkolo/logging-join-fix
logging: Convert `backend_thread` into an `std::jthread`
4 years ago
bunnei
ae301a650e
Merge pull request #7956 from bunnei/improve-mem-manager
Kernel Memory Updates (Part 4): Revamp KMemoryManager & other fixes
4 years ago
Morph
5ea520a149
host_memory: Fix fastmem crashes in debug builds
It is possible for virtual_offset to not be 0 when the iterator is at the beginning, and thus, std::prev(it) may be evaluated, leading to a crash in debug mode.
Co-Authored-By: Fernando S. <1731197+FernandoS27@users.noreply.github.com>
4 years ago
Fernando S
a4a6aa4b33
Merge pull request #7959 from merryhime/cmpxchg
dynarmic: Inline exclusive memory accesses
4 years ago
Mai M
079400000c
Merge pull request #7967 from zhaobot/tx-update-20220301023432
Update translations (2022-03-01)
4 years ago
The yuzu Community
e274042d12
Update translations (2022-03-01)
4 years ago
Mai M
7b55338788
Merge pull request #7963 from ameerj/gl_fence_nit
gl_fence_manager: Minor optimization to signal querying
4 years ago
Mai M
91f78954f1
Merge pull request #7966 from merryhime/cmake-ffmpeg-endif
ffmpeg: Fix mis-maching argument warning for endif
4 years ago
Merry
da236f22b3
ffmpeg: Fix mis-maching argument warning for endif
4 years ago
merry
4b709cce07
dynarmic: Update to latest master
4 years ago
bunnei
82ca8230ad
hle: kernel: Re-create memory layout at initialization.
- As this can only be derived once.
4 years ago
bunnei
41c9c93736
hle: kernel: Remove unused pool locals.
4 years ago
bunnei
939707cf75
hle: kernel: k_memory_manager: Rework for latest kernel behavior.
- Updates the KMemoryManager implementation against latest documentation.
- Reworks KMemoryLayout to be accessed throughout the kernel.
- Fixes an issue with pool sizes being incorrectly reported.
4 years ago
Wunkolo
8da42d8235
logging: Convert `backend_thread` into an `std::jthread`
Was getting an unhandled `invalid_argument` [exception](https://en.cppreference.com/w/cpp/thread/thread/join ) during
shutdown on my linux machine. This removes the need for a `StopBackendThread` function entirely since `jthread`
[automatically handles both checking if the thread is joinable and stopping the token before attempting to join](https://en.cppreference.com/w/cpp/thread/jthread/~jthread ) in the case that `StartBackendThread` was never called.
4 years ago
ameerj
51d9a43dad
gl_fence_manager: Minor optimization to signal querying
Per the spec, bufSize is the number of integers that will be written, in this case, 1.
Also, the length argument is optional if the information of the number of elements written is not needed.
4 years ago
merry
3fe2c2d40d
dynarmic: Inline exclusive memory accesses
Inlines implementation of exclusive instructions into JITted code,
improving performance of applications relying heavily on these
instructions.
We also fastmem these instructions for additional speed, with
support for appropriate recompilation on fastmem failure.
An unsafe optimization to disable the intercore global_monitor is also
provided, should one wish to rely solely on cmpxchg semantics for
safety.
See also: merryhime/dynarmic#664
4 years ago
bunnei
d780096c3c
hle: kernel: k_page_heap: GetPhysicalAddr can be const.
4 years ago
bunnei
00d395c330
hle: kernel: k_page_heap: Remove superfluous consexpr.
4 years ago
bunnei
3f129b2700
hle: kernel: k_page_heap: Various updates and improvements.
- KPageHeap tracks physical addresses, not virtual addresses.
- Various updates and improvements to match latest documentation for this type.
4 years ago
bunnei
8ef7b10f92
hle: kernel: Add initial_process.h header.
4 years ago
bunnei
75b111b6de
hle: kernel: board: nx: Add k_memory_layout.h header.
4 years ago
bunnei
99acfba11f
hle: kernel: k_system_control: Add GetRealMemorySize and update GetKernelPhysicalBaseAddress.
4 years ago
bunnei
f562f3780e
hle: kernel: k_memory_layout: Add GetPhysicalLinearRegion.
4 years ago
bunnei
a48d756692
hle: kernel: k_memory_region_types: Update for new regions.
4 years ago
bunnei
b05068b092
Merge pull request #7955 from bunnei/update-dynarmic
externals: Dynarmic: Update to latest rev.
4 years ago
bunnei
de0c647109
externals: Dynarmic: Update to latest rev.
- Fixes inaccurate size reporting in SpaceRemaining, which caused crashes in yuzu with SSBU.
4 years ago
bunnei
2bbcc3d1c4
Merge pull request #7932 from bunnei/extended-mem-layout
Add extended memory layout (6GB) support and improve KResourceLimit management
4 years ago
bunnei
254c8f1736
Merge pull request #7953 from ameerj/radv-rdna2-crash
vulkan_device: Blacklist RADV on RDNA2 from VK_EXT_vertex_input_dynamic_state
4 years ago
Mai M
18ea863757
Merge pull request #7948 from Morph1984/11-11-10-float
maxwell_to_(gl/vk): Add 11_11_10 float vertex format
4 years ago
Ameer J
f4c97f7410
vulkan_device: Blacklist RADV on RDNA2 from VK_EXT_vertex_input_dynamic_state
RDNA2 devices running under the RADV driver were crashing when VK_EXT_vertex_input_dynamic_state was enabled.
Blacklisting these devices until a proper fix is established.
4 years ago
Morph
77514a45a6
maxwell_to_(gl/vk): Add 11_11_10 float vertex format
- Used by パワプロクンポケットR
4 years ago
bunnei
2e31f86cd6
Merge pull request #7939 from asLody/fb-format-gbra8
vk_blit_screen: Add missing framebuffer format
4 years ago
bunnei
41c3c5fb86
Merge pull request #7927 from german77/amiibo
yuzu: Disconnect amiibos on drag and drop
4 years ago
bunnei
8c3f50e6bc
Merge pull request #7859 from german77/battery_again
input_common: Remove battery duplicated struct and update every button press
4 years ago
Lody
d2369dc3a3
vk_blit_screen: Add missing format bgra8
4 years ago
Mai M
70e3ccaeca
Merge pull request #7933 from german77/am_update
service: am: Update enum names to match documentation
4 years ago
Narr the Reg
273b9b5772
service: am: Update enum names to match documentation
4 years ago
bunnei
005debed1e
Merge pull request #7913 from voidanix/anv-fix
vulkan_device: fix missing format in ANV
4 years ago
bunnei
d3198bb960
hle: kernel: KSystemControl: Use 6GB memory layout when "use_extended_memory_layout" setting is enabled.
- This uses a larger 6GB DRAM memory layout, which is useful for some mods that require more memory.
4 years ago
bunnei
b928936457
core: device_memory: Use memory size reported by KSystemControl.
- That way, we can consolidate the memory layout to one place.
4 years ago
bunnei
5dc4c92dc2
settings: Add a new "use_extended_memory_layout" setting.
- This will be used to enable emulation of a larger memory arrangement.
4 years ago
bunnei
f2cc07cc2c
core: hle: kernel: Remove resource limit hack for PhysicalMemory.
- With prior changes, we now report the correct amount of physical memory available to the emulated process.
4 years ago
bunnei
09adf10025
core: hle: kernel: KProcess: Pass in KResourceLimit on process creation.
- This allows us to have a resource limit per process, rather than use the global system resource limit.
4 years ago
bunnei
64ae76bff6
core: hle: kernel: KEvent: Pass in owner KProcess on event creation.
- This is necessary to ensure resource limits are freed from the right process.
4 years ago
bunnei
fe48c772e9
core: hle: kernel: KResourceLimit: Add a helper function for creating a KResourceLimit for a process.
4 years ago
bunnei
0e50d2914a
Merge pull request #7919 from bunnei/phys-mem-updates
core: hle: kernel: KPageTable: Improve Un/MapPhysicalMemory.
4 years ago
bunnei
0b8e6347ee
Merge pull request #7920 from bunnei/fix-unmap-pages
core: hle: kernel: KPageTable: Fix UnmapPages.
4 years ago
voidanix
9891701985
vulkan_device: fix missing format in ANV
Currently Mesa's ANV driver does not support
VK_FORMAT_B5G6R5_UNORM_PACK16, implement an alternative for it.
4 years ago