aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2021-07-08arm_dynarmic_64: Re-add fastmem_address_space_bits to Auto settinglat9nq
2021-07-08arm_dynarmic{32,64}: Fixes from test buildlat9nq
Now sets optimizations regardless of the Settings. Drops unsafe fastmem optimization.
2021-07-08core,common,yuzu qt: Add CPU accuracy option 'Auto'lat9nq
The current CPU accuracy settings in yuzu are fairly polarized and require more than common knowledge to know what the optimal settings for yuzu would be. This adds a curated option called 'Auto' that applies a few at the moment known-good unsafe optimizations to Dynarmic.
2021-07-08Merge pull request #6539 from lat9nq/default-settingAmeer J
general: Move most settings' defaults and labels into their definition
2021-07-08general: Code formatting improvementslat9nq
Slight improvements to readability. Dropped suggestions for string_view (settings.h:101), pass by value (settings.h:82), reverting double to a float (config.cpp:316), and other smaller ones, some out of scope. Addresses review feedback. Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
2021-07-07Merge pull request #6567 from Kelebek1/Audio2bunnei
[audren] Report 2 channels active rather than 1
2021-07-06Report 2 channels active. Fixes Tales of Vesperia's mono channel audio.Kelebek1
2021-07-06CMakeLists: Treat -Wsign-compare as an error on GCC/ClangMorph
Treats (un)signed comparison mismatches as errors to be consistent with MSVC
2021-07-05Merge pull request #6537 from Morph1984/warningsbunnei
general: Enforce multiple warnings in MSVC
2021-07-04service: mii: Retrieve the correct default miis.Morph
We were including the first 2 default miis which are not meant to be shown in games. With this change, we properly retrieve the 6 default miis shown in games, with 3 of each gender.
2021-07-03Merge pull request #6498 from Kelebek1/Audiobunnei
[audio_core] Decouple audio update and processing, and process at variable rate
2021-07-01Fix XC2/VOEZ crashing, add audio looping and a few misc fixesKelebek1
2021-06-28core, input_common: Miscellaneous fixeslat9nq
bcat: Fix settings access telemetry_session: Fix settings accesses So this is what I get for testing with the web service disabled. touch_from_button: Fix settings access for clang
2021-06-28general: Make most settings a BasicSettinglat9nq
Creates a new BasicSettings class in common/settings, and forces setting a default and label for each setting that uses it in common/settings. Moves defaults and labels from both frontends into common settings. Creates a helper function in each frontend to facillitate reading the settings now with the new default and label properties. Settings::Setting is also now a subclass of Settings::BasicSetting. Also adds documentation for both Setting and BasicSetting.
2021-06-28core: Enforce C4242Morph
2021-06-28patch_manager: Do not apply LayeredFS mods when dumpingMorph
We should not apply any mods when dumping a game's RomFS.
2021-06-28filesystem: Open a read-only directory for SDMC modsMorph
This prevents mod files from being locked due to the read-only share flag in Windows.
2021-06-28core: Simplify SDMC mod loadinglat9nq
If someone else wants to support other mod formats in the SDMC directory, that can be added later. For now, just allow RomFS modding here and force people to do other types of mods the old way. Addresses review comments. Co-authored-by: LC <mathew1800@gmail.com>
2021-06-28core: Support LayeredFS mod from SDMC directorylat9nq
Enables loading a mod directly from `[yuzu data directory]/sdmc/atmosphere/contents/[title_id]`. For use with some homebrew mod managers.
2021-06-27Decouple audio processing and run at variable rateKelebek1
Currently, processing of audio samples is called from AudioRenderer's Update method, using a fixed 4 buffers to process the given samples. Games call Update at variable rates, depending on framerate and/or sample count, which causes inconsistency in audio processing. From what I've seen, 60 FPS games update every ~0.004s, but 30 FPS/160 sample games update somewhere between 0.02 and 0.04, 5-10x slower. Not enough samples get fed to the backend, leading to a lot of audio skipping. This PR seeks to address this by de-coupling the audio consumption and the audio update. Update remains the same without calling for buffer queuing, and the consume now schedules itself to run based on the sample rate and count.
2021-06-26Merge pull request #6526 from bunnei/doom-updatebunnei
services: Misc. minor changes for latest SDK update.
2021-06-26hle: service: hwopus: OpenHardwareOpusDecoderEx: Remove unused buffer size.bunnei
2021-06-24Merge pull request #6519 from Wunkolo/mem-size-literalbunnei
common: Replace common_sizes into user-literals
2021-06-24hle: hle_helpers: Skip data payload offset checks on TIPC requests.bunnei
- TIPC does not use this.
2021-06-24hle: service: hwopus: Implement GetWorkBufferSizeEx and ↵bunnei
OpenHardwareOpusDecoderEx. - This is used by the latest update of Doom Eternal.
2021-06-24hle: service: aoc: Stub GetAddOnContentListChangedEventWithProcessId.bunnei
- This is used by the latest update of Doom Eternal.
2021-06-24common: Replace common_sizes into user-literalsWunkolo
Removes common_sizes.h in favor of having `_KiB`, `_MiB`, `_GiB`, etc user-literals within literals.h. To keep the global namespace clean, users will have to use: ``` using namespace Common::Literals; ``` to access these literals.
2021-06-24Merge pull request #6522 from Morph1984/pragmabunnei
general: Add missing #pragma once directives
2021-06-24general: Add missing #pragma once directivesMorph
2021-06-24Add missing includes (#6521)Chloe
* Add missing includes * Add array
2021-06-23Merge pull request #6517 from lioncash/fmtlibbunnei
externals: Update fmt to 8.0.0
2021-06-23Merge pull request #6504 from Kelebek1/samples-playedbunnei
[audout] Implement GetAudioOutPlayedSampleCount
2021-06-23General: Resolve fmt specifiers to adhere to 8.0.0 API where applicableLioncash
Also removes some deprecated API usages.
2021-06-22Merge pull request #6510 from ReinUsesLisp/npad-data-raceMai M
npad: Fix data race when updating devices
2021-06-22Merge pull request #6493 from Morph1984/fs-nodiscardbunnei
common: fs: Miscellaneous changes
2021-06-22Merge pull request #6472 from Morph1984/splbunnei
service: spl: Implement general SPL service
2021-06-22Merge pull request #6483 from Morph1984/get-tz-filebunnei
service: time: Use GetFileRelative to get files within subdirectories
2021-06-22vfs_real: Fix Mode to FileAccessMode conversionMorph
These enforce requiring the file to exist prior to opening.
2021-06-22common: fs: Remove [[nodiscard]] attribute on Remove* functionsMorph
There are a lot of scenarios where we don't particularly care whether or not the removal operation and just simply attempt a removal. As such, removing the [[nodiscard]] attribute is best for these functions.
2021-06-22Merge pull request #6511 from ReinUsesLisp/core-is-powered-data-raceMai M
core: Make is_powered_on atomic
2021-06-22core: Make is_powered_on atomicRodrigo Locatti
Fixes potential data races when shutting down.
2021-06-22npad: Fix data race when updating devicesRodrigo Locatti
Add a lock to avoid data races. This reduces the number of -fsanitize=thread errors significantly.
2021-06-21Merge pull request #6481 from Morph1984/missing-peak-setbunnei
kernel: Fix missing peak set in KResourceLimit::SetLimitValue
2021-06-22Implement audout GetAudioOutPlayedSampleCountKelebek1
Used in Ninja Gaiden games.
2021-06-21Merge pull request #6499 from FernandoS27/we-were-on-a-breakbunnei
Update dynarmic and add new unsafe CPU option.
2021-06-20Update dynarmic and add new unsafe CPU option.Fernando Sahmkow
2021-06-18service: time: Use GetFileRelative to get files within subdirectoriesMorph
The timezone info file can be within subdirectories (such as Asia/Tokyo), use GetFileRelative instead of GetFile to get files within subdirectories.
2021-06-18kernel: Fix missing peak set in KResourceLimit::SetLimitValueMorph
2021-06-17nvflinger: Add toggle to disable buffer swap interval limitsameerj
Enabling this setting will allow some titles to present more frames to the screen as they become available in the nvflinger buffer queue.
2021-06-16Merge pull request #6464 from ameerj/disable-astcbunnei
textures: Add a toggle for GPU Accelerated ASTC decoder