summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
* settings, arm_dynarmic, yuzu qt: Move CPU debugging optionGravatar lat9nq2021-07-082-2/+2
| | | | | | Decouples the CPU debugging mode from the enumeration to its own boolean. After this, it moves the CPU Debugging tab over to a sub tab underneath the Debug tab in the configuration UI.
* arm_dynarmic_64: Re-add fastmem_address_space_bits to Auto settingGravatar lat9nq2021-07-081-0/+1
|
* arm_dynarmic{32,64}: Fixes from test buildGravatar lat9nq2021-07-082-18/+5
| | | | | Now sets optimizations regardless of the Settings. Drops unsafe fastmem optimization.
* core,common,yuzu qt: Add CPU accuracy option 'Auto'Gravatar lat9nq2021-07-082-8/+36
| | | | | | | 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.
* Merge pull request #6539 from lat9nq/default-settingGravatar Ameer J2021-07-0811-20/+23
|\ | | | | general: Move most settings' defaults and labels into their definition
| * general: Code formatting improvementsGravatar lat9nq2021-07-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * core, input_common: Miscellaneous fixesGravatar lat9nq2021-06-282-4/+6
| | | | | | | | | | | | | | | | | | | | 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
| * general: Make most settings a BasicSettingGravatar lat9nq2021-06-2810-16/+17
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #6567 from Kelebek1/Audio2Gravatar bunnei2021-07-071-1/+1
|\ \ | | | | | | [audren] Report 2 channels active rather than 1
| * | Report 2 channels active. Fixes Tales of Vesperia's mono channel audio.Gravatar Kelebek12021-07-061-1/+1
| | |
* | | CMakeLists: Treat -Wsign-compare as an error on GCC/ClangGravatar Morph2021-07-061-2/+0
|/ / | | | | | | Treats (un)signed comparison mismatches as errors to be consistent with MSVC
* | Merge pull request #6537 from Morph1984/warningsGravatar bunnei2021-07-051-6/+3
|\ \ | | | | | | general: Enforce multiple warnings in MSVC
| * | core: Enforce C4242Gravatar Morph2021-06-281-6/+3
| | |
* | | service: mii: Retrieve the correct default miis.Gravatar Morph2021-07-041-2/+3
| | | | | | | | | | | | 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.
* | | Merge pull request #6498 from Kelebek1/AudioGravatar bunnei2021-07-031-5/+7
|\ \ \ | | | | | | | | [audio_core] Decouple audio update and processing, and process at variable rate
| * | | Fix XC2/VOEZ crashing, add audio looping and a few misc fixesGravatar Kelebek12021-07-011-1/+1
| | | |
| * | | Decouple audio processing and run at variable rateGravatar Kelebek12021-06-271-4/+6
| |/ / | | | | | | | | | | | | | | | 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.
* | | patch_manager: Do not apply LayeredFS mods when dumpingGravatar Morph2021-06-282-3/+6
| | | | | | | | | | | | We should not apply any mods when dumping a game's RomFS.
* | | filesystem: Open a read-only directory for SDMC modsGravatar Morph2021-06-283-19/+25
| | | | | | | | | | | | This prevents mod files from being locked due to the read-only share flag in Windows.
* | | core: Simplify SDMC mod loadingGravatar lat9nq2021-06-283-21/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | core: Support LayeredFS mod from SDMC directoryGravatar lat9nq2021-06-285-2/+47
|/ / | | | | | | | | | | Enables loading a mod directly from `[yuzu data directory]/sdmc/atmosphere/contents/[title_id]`. For use with some homebrew mod managers.
* | Merge pull request #6526 from bunnei/doom-updateGravatar bunnei2021-06-265-8/+60
|\ \ | |/ |/| services: Misc. minor changes for latest SDK update.
| * hle: service: hwopus: OpenHardwareOpusDecoderEx: Remove unused buffer size.Gravatar bunnei2021-06-261-1/+30
| |
| * hle: hle_helpers: Skip data payload offset checks on TIPC requests.Gravatar bunnei2021-06-241-2/+6
| | | | | | | | - TIPC does not use this.
| * hle: service: hwopus: Implement GetWorkBufferSizeEx and ↵Gravatar bunnei2021-06-242-5/+15
| | | | | | | | | | | | OpenHardwareOpusDecoderEx. - This is used by the latest update of Doom Eternal.
| * hle: service: aoc: Stub GetAddOnContentListChangedEventWithProcessId.Gravatar bunnei2021-06-242-1/+10
| | | | | | | | - This is used by the latest update of Doom Eternal.
* | Merge pull request #6519 from Wunkolo/mem-size-literalGravatar bunnei2021-06-249-62/+83
|\ \ | |/ |/| common: Replace common_sizes into user-literals
| * common: Replace common_sizes into user-literalsGravatar Wunkolo2021-06-249-62/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #6522 from Morph1984/pragmaGravatar bunnei2021-06-243-0/+6
|\ \ | | | | | | general: Add missing #pragma once directives
| * | general: Add missing #pragma once directivesGravatar Morph2021-06-243-0/+6
| | |
* | | Add missing includes (#6521)Gravatar Chloe2021-06-241-0/+2
|/ / | | | | | | | | * Add missing includes * Add array
* | Merge pull request #6517 from lioncash/fmtlibGravatar bunnei2021-06-234-9/+13
|\ \ | |/ |/| externals: Update fmt to 8.0.0
| * General: Resolve fmt specifiers to adhere to 8.0.0 API where applicableGravatar Lioncash2021-06-234-9/+13
| | | | | | | | Also removes some deprecated API usages.
* | Merge pull request #6504 from Kelebek1/samples-playedGravatar bunnei2021-06-231-1/+9
|\ \ | |/ |/| [audout] Implement GetAudioOutPlayedSampleCount
| * Implement audout GetAudioOutPlayedSampleCountGravatar Kelebek12021-06-221-1/+9
| | | | | | | | Used in Ninja Gaiden games.
* | Merge pull request #6510 from ReinUsesLisp/npad-data-raceGravatar Mai M2021-06-222-0/+8
|\ \ | | | | | | npad: Fix data race when updating devices
| * | npad: Fix data race when updating devicesGravatar Rodrigo Locatti2021-06-222-0/+8
| | | | | | | | | | | | | | | Add a lock to avoid data races. This reduces the number of -fsanitize=thread errors significantly.
* | | Merge pull request #6493 from Morph1984/fs-nodiscardGravatar bunnei2021-06-222-8/+3
|\ \ \ | | | | | | | | common: fs: Miscellaneous changes
| * | | vfs_real: Fix Mode to FileAccessMode conversionGravatar Morph2021-06-221-6/+1
| | | | | | | | | | | | | | | | These enforce requiring the file to exist prior to opening.
| * | | common: fs: Remove [[nodiscard]] attribute on Remove* functionsGravatar Morph2021-06-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #6472 from Morph1984/splGravatar bunnei2021-06-229-78/+493
|\ \ \ \ | | | | | | | | | | service: spl: Implement general SPL service
| * | | | spl: Mark the other functions as unimplementedGravatar Morph2021-06-161-5/+30
| | | | |
| * | | | spl: Implement spl::GetConfigGravatar Morph2021-06-162-1/+90
| | | | |
| * | | | hle: api_version: Add HLE API version constantsGravatar Morph2021-06-163-33/+54
| | | | |
| * | | | spl: Add the general SPL interfaceGravatar Morph2021-06-164-45/+64
| | | | |
| * | | | spl: Add SPL typesGravatar Morph2021-06-162-0/+231
| | | | |
| * | | | spl: Add SPL result codesGravatar Morph2021-06-162-0/+30
| | | | |
* | | | | Merge pull request #6483 from Morph1984/get-tz-fileGravatar bunnei2021-06-221-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | | service: time: Use GetFileRelative to get files within subdirectories
| * | | | service: time: Use GetFileRelative to get files within subdirectoriesGravatar Morph2021-06-181-1/+1
| | |_|/ | |/| | | | | | | | | | The timezone info file can be within subdirectories (such as Asia/Tokyo), use GetFileRelative instead of GetFile to get files within subdirectories.
* | | | Merge pull request #6511 from ReinUsesLisp/core-is-powered-data-raceGravatar Mai M2021-06-221-2/+3
|\ \ \ \ | | | | | | | | | | core: Make is_powered_on atomic