summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-06-13cmake: Fix find_program usage for 3.15lat9nq
yuzu requires CMake 3.15 yet find_program was using REQUIRED, which is only available on 3.18 and later. Instead, we check for "<VAR>-NOTFOUND". In addition, check for additional requirements before building libusb or FFmpeg with autotools. Otherwise, CMake configuration will pass yet compilation will fail.
2021-06-11Merge pull request #6451 from Morph1984/check-disk-space-dumpbunnei
yuzu: main: Ensure enough space is available for RomFS dumping
2021-06-11Merge pull request #6422 from FernandoS27/i-am-the-senateMai M
Implement/Port Fastmem from Citra to Yuzu
2021-06-11yuzu: main: Ensure enough space is available for RomFS dumpingMorph
This warns the user if there isn't enough free space to dump the entire RomFS to disk. It requires at least the size of the extracted RomFS + 1 GiB as a buffer of free space.
2021-06-11Merge pull request #6443 from Morph1984/k-light-condition-variablebunnei
kernel: KLightConditionVariable: Update implementation to 12.x
2021-06-11common/host_memory: Implement a fallback if fastmem fails.Markus Wick
This falls back to the old approach of using a virtual buffer. Windows is untested, but this build should fix support for Windows < 10 v1803. However without fastmem support at all.
2021-06-11common/host_shader: Load Windows 10 functions dynamicallyReinUsesLisp
Workaround old headers and libraries shipped on MinGW.
2021-06-11GPUTHread: Remove async reads from Normal Accuracy.Fernando Sahmkow
2021-06-11rasterizer: Update pages in batchesReinUsesLisp
2021-06-11host_memory: Support staged VirtualProtect callsReinUsesLisp
2021-06-11General: Add settings for fastmem and disabling adress space check.FernandoS27
2021-06-11common/host_memory: Optimize for huge tables.Markus Wick
In theory, if we have 2 MB continously mapped, this should save one layer of TLB. Let's make it at least more likely by aligning the memory.
2021-06-11core: Make use of fastmemMarkus Wick
2021-06-11tests: Add tests for host memoryReinUsesLisp
2021-06-11common/host_memory: Add Linux implementationMarkus Wick
2021-06-11common/host_memory: Add interface and Windows implementationReinUsesLisp
2021-06-10Merge pull request #6407 from lat9nq/fix-libusb-2bunnei
cmake: Use autotools for libusb linking generally on GNU, and cleanup
2021-06-10Merge pull request #6445 from degasus/fix_ubsnbunnei
Fix GCC undefined behavior sanitizer.
2021-06-11kernel: Unconditionally set thread state when appropriateMorph
2021-06-11kernel: KLightConditionVariable: Update implementation to 12.xMorph
Updates the implementation of KLightConditionVariable to FW 12.x
2021-06-10Fix GCC undefined behavior sanitizer.Markus Wick
* Wrong alignment in u64 LOG_DEBUG -> memcpy. * Huge shift exponent in stride calculation for linear buffer, unused result -> skipped. * Large shift in buffer cache if word = 0, skip checking for set bits. Non of those were critical, so this should not change any behavior. At least with the assumption, that the last one used masking behavior, which always yield continuous_bits = 0.
2021-06-10hle: service: sm: Remove redundant session reservation, etc.bunnei
- We were double-reserving, causing us to run out of sessions in Pokemon Sword & Shield.
2021-06-10hle: service: Increase arbitrary max sessions limit.bunnei
- Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
2021-06-09hle: kernel: KClientPort: Add an assert for session count.bunnei
- Prevents us from over decrementing num_sessions.
2021-06-09hle: service: sm: Fix GetService setup of session & port.bunnei
2021-06-09hle: service: Use correct size for ServerSessionCountMax.bunnei
2021-06-09hle: kernel: KServerSession: Fix client disconnected.bunnei
- Prevents a cloned session's handler from being overwritten by another disconnected session. - Fixes session handler nullptr asserts with Pokemon Sword & Shield.
2021-06-09kernel: svc: Add missing error check to CancelSynchronization.bunnei
- Avoids a potential crash if the handle is invalid, and also makes this code accurate to real kernel behavior.
2021-06-09Merge pull request #6436 from liushuyu/masterMai M
src/common/CMakeLists.txt: fix variable escaping
2021-06-09hle: service: Increase arbitrary max sessions limit.bunnei
- Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
2021-06-09Merge pull request #6413 from Kewlan/limitable_input_dialog_limitbunnei
limitable_input_dialog: Implement character limiter
2021-06-09src/common/CMakeLists.txt: fix variable escapingliushuyu
2021-06-09Merge pull request #6435 from lioncash/nodisc2Morph
common/fs/path_util: Remove [[nodiscard]] from function with void return
2021-06-08Merge pull request #6434 from lioncash/tcontextbunnei
configure_ui: Add translation context for file-scope strings
2021-06-08Merge pull request #6428 from bunnei/service-thread-crash-fixbunnei
hle: kernel: Remove service thread manager and use weak_ptr.
2021-06-08common/fs/path_util: Remove [[nodiscard]] from function with void returnLioncash
We can't make use of the return value here, since we don't a return value to work with.
2021-06-08configure_ui: Add translation context for file-scope stringsLioncash
Allows for these strings to show up in the translation files.
2021-06-08Merge pull request #6426 from lat9nq/context-menu-startMai M
yuzu qt: Start games from context menu
2021-06-08hle: kernel: KServerSession: Work-around scenario where session is closed ↵bunnei
too early.
2021-06-07hle: kernel: hle_ipc: Ensure SessionRequestHandler is valid.bunnei
2021-06-07Merge pull request #6412 from clementgallet/yuzu-cmd-window-glbunnei
yuzu-cmd: Fix OpenGL rendering
2021-06-07hle: kernel: Remove service thread manager and use weak_ptr.bunnei
- We no longer need to queue up service threads to be destroyed. - Fixes a race condition where a thread could be destroyed too early, which caused a crash in Pokemon Sword/Shield.
2021-06-07yuzu qt: Start games from context menulat9nq
This connects the BootGame function to the context menu. In addition, there is an option to boot without using the custom configuration.
2021-06-07Merge pull request #6410 from lat9nq/avoid-oobbunnei
decoders: Avoid out-of-bounds access
2021-06-06Merge pull request #6414 from bunnei/fix-service-threadsbunnei
hle: kernel: Refactor to allocate a ServiceThread per service handler.
2021-06-06hle: kernel: KServerSession: Use ASSERT_MSG where appropriate.bunnei
2021-06-06hle: kernel: k_server_session: Return service thread by strong pointer.bunnei
2021-06-06hle: kernel: k_server_session: Ensure service thread is valid before ↵bunnei
dereference.
2021-06-06Merge pull request #6400 from ameerj/disable-uniform-simplifybunnei
buffer_cache: Simplify uniform disabling logic
2021-06-06hle: kernel: hle_ipc: Use default destructor for SessionRequestManager.bunnei