aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-06-30yuzu_cmd: config: Pass a reference inlat9nq
Also adds documentation for the ReadSetting function. Address review comments. Co-authored-by: Mai M. <mathew1800@gmail.com>
2021-06-29Merge pull request #6471 from lat9nq/dump-as-modMorph
yuzu qt, core: Support LayeredFS mods from SDMC directory
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-28yuzu qt: Make most UISettings a BasicSettinglat9nq
For simple primitive settings, moves their defaults and labels to definition time. Also fixes typo and clang-format yuzu qt: config: Fix rng_seed
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-28Merge pull request #6502 from ameerj/vendor-titleMorph
main: Add GPU Vendor name to running title bar
2021-06-28CMakeLists: Disable all warnings for external headersMorph
This lets us avoid needing to wrap external headers with #pragma warning directives for warnings we treat as errors and avoids generating warnings for external code. Thanks to MerryMage for pointing this out.
2021-06-28video_core: Remove #pragma warning directives for external headersMorph
2021-06-28input_common: Remove #pragma warning directives for external headersMorph
2021-06-28CMakeLists: Enforce C4018, C4267, C4305, C4389Morph
2021-06-28core: Enforce C4242Morph
2021-06-28input_common: Enforce C4242Morph
2021-06-28video_core: 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-28yuzu qt: Add option to dump to SDMC directorylat9nq
Enables dumping the RomFS to SDMC directory, specifically '[yuzu data directory]/sdmc/atmosphere/contents/[title_id]/romfs'.
2021-06-28video_core: Silence signed/unsigned mismatch warningsMorph
2021-06-28main: Display the instruction set of the running title in the window nameameerj
Displays whether the currently running title uses 64-bit instructions or only 32-bit instructions.
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-27Merge pull request #6529 from ReinUsesLisp/reaper-fixupsMorph
buffer_cache,texture_cache: Misc fixups from the memory reaper
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-26configuration: Defer to common/settings for per-game settings defaultslat9nq
Avoids double-setting defaults, and avoids potential accidents when inconsistently setting the default on new settings.
2021-06-26common: Force defaults for Settings::Setting'slat9nq
Requires a default value when creating each per-game setting.
2021-06-26buffer_cache: Only flush downloaded sizeReinUsesLisp
Fixes a regression unintentionally introduced by the garbage collector. This makes regular memory downloads only flush the requested sizes. This negatively affected Koei Tecmo games.
2021-06-26video_core: Enforce C4244ReinUsesLisp
Enforce implicit integer casts to a smaller type as errors.
2021-06-26codec,vic: Disable warnings in ffmpeg headersReinUsesLisp
2021-06-26vk_buffer_cache: Silence implicit cast warningsReinUsesLisp
2021-06-26buffer_cache/texture_cache: Make GC functions privateReinUsesLisp
2021-06-26buffer_cache: Silence implicit cast warningReinUsesLisp
2021-06-25vulkan_device: Make device memory match the rest of the fileReinUsesLisp
Match the style in the file.
2021-06-24Merge pull request #6496 from ameerj/astc-fixesbunnei
astc: Various robustness enhancements for the gpu decoder
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-24audio_core: common: Bump audio revision to 9.bunnei
- This is used in fw 12.x.x games.
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-23Merge pull request #6518 from lioncash/funcbunnei
maxwell3d: Add missing return in default SizeInBytes() case
2021-06-23maxwell3d: Add missing return in default SizeInBytes() caseLioncash
We were returning '1' in ComponentCount()'s default case but were neglecting to do the same with SizeInBytes().
2021-06-23Merge pull request #6465 from FernandoS27/sex-on-the-beachMai M
GPU: Implement a garbage collector for GPU Caches (project Reaper+)
2021-06-23Merge pull request #6508 from ReinUsesLisp/bootmanager-stop-tokenMai M
bootmanager: Use std::stop_source for stopping emulation