summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-06-16Merge pull request #6460 from Morph1984/fs-access-log-fixMorph
fsp_srv: Fix filesystem access logging
2021-06-16common: fs: file: Remove redundant call to WriteStringToFileMorph
The Append open mode will create a new file if said file does not exist at a given path, making this call redundant.
2021-06-16fsp_srv: Fix filesystem access loggingMorph
This introduces a new setting Enable FS Access Log which saves the filesystem access log to sdmc:/FsAccessLog.txt If this setting is not enabled, this will indicate to FS to not call OutputAccessLogToSdCard. Fixes softlocks during loading in Xenoblade Chronicles 2 when certain DLC is enabled.
2021-06-15Merge pull request #6462 from Morph1984/proper-flushbunnei
common: fs: file: Flush the file to the disk when Flush() is called
2021-06-14lm: Demote guest logs to LOG_DEBUGameerj
Guest logs are not very useful, as they are intended for use by the game developers during development. As such, they provide little meaning to be logged by yuzu and tend to overwhelm the log output at times.
2021-06-14Merge pull request #6456 from Morph1984/very-important-changesbunnei
configure_cpu_debug: Clarify settings behavior
2021-06-14Merge pull request #6448 from Morph1984/recursive-dir-iteratorFernando Sahmkow
common: fs: Use the normal directory iterator in *Recursively functions
2021-06-13general: Remove extraneous includesMorph
2021-06-13common: logging: Restructure backend codeMorph
2021-06-13common: logging: backend: Wrap IOFile in a unique_ptrMorph
Allows us to forward declare Common::FS::IOFile.
2021-06-13common: fs: file: Flush the file to the disk when Flush() is calledMorph
std::fflush does not guarantee that file buffers are flushed to the disk. Use _commit on Windows and fsync on all other OSes to ensure that the file is flushed to the disk.
2021-06-13Merge pull request #6452 from german77/sixaxis_firmware_stubMorph
hid: Stub IsFirmwareUpdateAvailableForSixAxisSensor
2021-06-13configure_cpu_debug: Clarify settings behaviorMorph
This makes it clear that the disabled settings only take effect when CPU Accuracy is set to Debug Mode.
2021-06-12common: fs: Use the normal directory iterator in *Recursively functionsMorph
MSVC's implementation of recursive_directory_iterator throws an exception on an error despite a std::error_code being passed into its constructor. This is most likely a bug in MSVC's implementation since directory_iterator does not throw an exception on an error. We can replace the usage of recursive_directory_iterator for now until MSVC fixes their implementation of it.
2021-06-11Merge pull request #6451 from Morph1984/check-disk-space-dumpbunnei
yuzu: main: Ensure enough space is available for RomFS dumping
2021-06-11hid: Stub IsFirmwareUpdateAvailableForSixAxisSensorgerman77
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.