Commit Graph

18490 Commits (9d6a98d950da39dd2a7ca5ad25525de4fb825415)
 

Author SHA1 Message Date
Morph 248a146ab7 CMakeLists: Disable all warnings for external headers
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.
4 years ago
Morph 22d7b89c15 video_core: Remove #pragma warning directives for external headers 4 years ago
Morph 954259312e input_common: Remove #pragma warning directives for external headers 4 years ago
Morph 0eae00e263 CMakeLists: Enforce C4018, C4267, C4305, C4389 4 years ago
Morph e828c5a559 core: Enforce C4242 4 years ago
Morph 58550cfcdc input_common: Enforce C4242 4 years ago
Morph a47704f4dd video_core: Enforce C4242 4 years ago
Morph 511ee03a21 patch_manager: Do not apply LayeredFS mods when dumping
We should not apply any mods when dumping a game's RomFS.
4 years ago
Morph 6ac978426c filesystem: Open a read-only directory for SDMC mods
This prevents mod files from being locked due to the read-only share flag in Windows.
4 years ago
lat9nq 844e0114b0 core: Simplify SDMC mod loading
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>
4 years ago
lat9nq 1664c74a6c core: Support LayeredFS mod from SDMC directory
Enables loading a mod directly from `[yuzu data
directory]/sdmc/atmosphere/contents/[title_id]`. For use with some
homebrew mod managers.
4 years ago
lat9nq bfecd395d4 yuzu qt: Add option to dump to SDMC directory
Enables dumping the RomFS to SDMC directory, specifically '[yuzu data
directory]/sdmc/atmosphere/contents/[title_id]/romfs'.
4 years ago
Morph d3d6613d33 video_core: Silence signed/unsigned mismatch warnings 4 years ago
Morph c5e25cffb9
Merge pull request #6535 from ameerj/insert-fancy-name
main: Display the instruction set of the running title in the window name
4 years ago
ameerj 4cee25281f main: Display the instruction set of the running title in the window name
Displays whether the currently running title uses 64-bit instructions or only 32-bit instructions.
4 years ago
Kelebek1 0857d6a3db Decouple audio processing and run at variable rate
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.
4 years ago
Morph 4df04ad48a
Merge pull request #6529 from ReinUsesLisp/reaper-fixups
buffer_cache,texture_cache: Misc fixups from the memory reaper
4 years ago
Morph 3bc7b0a587
Merge pull request #6532 from MerryMage/libusb-apple
libusb: Apple is a POSIX system
4 years ago
MerryMage f54f29198f libusb: Apple is a POSIX system 4 years ago
bunnei 432fab7c4f
Merge pull request #6526 from bunnei/doom-update
services: Misc. minor changes for latest SDK update.
4 years ago
bunnei 36d581ec73 hle: service: hwopus: OpenHardwareOpusDecoderEx: Remove unused buffer size. 4 years ago
lat9nq 35b17fa5e0 configuration: Defer to common/settings for per-game settings defaults
Avoids double-setting defaults, and avoids potential accidents when
inconsistently setting the default on new settings.
4 years ago
lat9nq 20e51402b0 common: Force defaults for Settings::Setting's
Requires a default value when creating each per-game setting.
4 years ago
ReinUsesLisp 9476309d53 buffer_cache: Only flush downloaded size
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.
4 years ago
ReinUsesLisp 03abe8bf85 video_core: Enforce C4244
Enforce implicit integer casts to a smaller type as errors.
4 years ago
ReinUsesLisp 05bd50a1cf codec,vic: Disable warnings in ffmpeg headers 4 years ago
ReinUsesLisp 3ab5bf6454 vk_buffer_cache: Silence implicit cast warnings 4 years ago
ReinUsesLisp b4894faeae buffer_cache/texture_cache: Make GC functions private 4 years ago
ReinUsesLisp e79d02bf38 buffer_cache: Silence implicit cast warning 4 years ago
Ameer J d9fb6dbd37
Merge pull request #6528 from ReinUsesLisp/device-memory
vulkan_device: Make device memory match the rest of the file
4 years ago
ReinUsesLisp 99b859db55 vulkan_device: Make device memory match the rest of the file
Match the style in the file.
4 years ago
bunnei c805c0b395
Merge pull request #6496 from ameerj/astc-fixes
astc: Various robustness enhancements for the gpu decoder
4 years ago
bunnei b9c2732121
Merge pull request #6519 from Wunkolo/mem-size-literal
common: Replace common_sizes into user-literals
4 years ago
bunnei 982be246ab hle: hle_helpers: Skip data payload offset checks on TIPC requests.
- TIPC does not use this.
4 years ago
bunnei 3565e32f4d hle: service: hwopus: Implement GetWorkBufferSizeEx and OpenHardwareOpusDecoderEx.
- This is used by the latest update of Doom Eternal.
4 years ago
bunnei d1ba4a2db2 hle: service: aoc: Stub GetAddOnContentListChangedEventWithProcessId.
- This is used by the latest update of Doom Eternal.
4 years ago
bunnei 50d0cc2716 audio_core: common: Bump audio revision to 9.
- This is used in fw 12.x.x games.
4 years ago
Wunkolo 4569f39c7c common: Replace common_sizes into user-literals
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.
4 years ago
bunnei 4dc2f5a341
Merge pull request #6522 from Morph1984/pragma
general: Add missing #pragma once directives
4 years ago
Morph eed0d1f33b general: Add missing #pragma once directives 4 years ago
Chloe f216a9432b
Add missing includes (#6521)
* Add missing includes

* Add array
4 years ago
Schplee 5ed87152c3
Fix bold tag 4 years ago
Schplee 373bc6512d
Fix typo in Readme 4 years ago
Schplee 496327490f
Update Readme 4 years ago
bunnei 1b09d6628b
Merge pull request #6517 from lioncash/fmtlib
externals: Update fmt to 8.0.0
4 years ago
bunnei 809e5fd523
Merge pull request #6504 from Kelebek1/samples-played
[audout] Implement GetAudioOutPlayedSampleCount
4 years ago
Lioncash d0b1f2bd05 General: Resolve fmt specifiers to adhere to 8.0.0 API where applicable
Also removes some deprecated API usages.
4 years ago
bunnei d8d9bb0dfb
Merge pull request #6518 from lioncash/func
maxwell3d: Add missing return in default SizeInBytes() case
4 years ago
Lioncash be6844c1ed maxwell3d: Add missing return in default SizeInBytes() case
We were returning '1' in ComponentCount()'s default case but were
neglecting to do the same with SizeInBytes().
4 years ago
Lioncash c3fe071723 externals: Update dynarmic to allow fmt compilation to succeed 4 years ago