Lioncash
42c79b8507
vfs_vector: Make creation of array vfs files less verbose
We can add a helper function to make creation of these files nicer.
While we're at it, we can eliminate an unnecessary std::array copy in
the constructor. This makes the overhead on some of these functions way
less intensive, given some arrays were quite large.
e.g. The timezone location names are 9633 bytes in size.
5 years ago
bunnei
460d686bbd
Merge pull request #4476 from lioncash/tz
time_zone_binary: Make use of designated initializers
5 years ago
bunnei
4e96278c63
Merge pull request #4401 from ogniK5377/GetIndirectLayerImageRequiredMemoryInfo
vi: IApplicationDisplayService:GetIndirectLayerImageRequiredMemoryInfo
5 years ago
bunnei
09bd480eab
Merge pull request #4430 from bunnei/new-gpu-vmm
hle: nvdrv: Rewrite of GPU memory management.
5 years ago
bunnei
fba9c9c7f3
Merge pull request #4440 from lioncash/json
CMakeLists: Update several libraries
5 years ago
bunnei
62a64fc33b
Merge pull request #4445 from Morph1984/async-threads
renderer_opengl: Use 1/4 of all threads for async shader compilation
5 years ago
bunnei
9fa1bebc57
Merge pull request #4450 from Morph1984/fix-gamelist-scanning
game_list_worker: Fix game list subdirectory scanning
5 years ago
bunnei
e909b4731b
Merge pull request #4472 from lioncash/const-get
perf_stats: Mark GetMeanFrametime() as const
5 years ago
bunnei
7cbb4227c7
Merge pull request #4469 from lioncash/missing
vk_texture_cache: Silence -Wmissing-field-initializer warnings
5 years ago
David
614476af30
Merge pull request #4470 from lioncash/qualifier
patch_manager: Resolve -Wignored-qualifier warnings
5 years ago
David
82f4fb21e8
Merge pull request #4481 from lioncash/cpp-dep
yuzu: Resolve C++20 deprecation warnings related to lambda captures
5 years ago
David
a7fa221005
Merge pull request #4474 from lioncash/hle-profile
profile_manager: Make use of designated initializers
5 years ago
bunnei
a4ff924420
Merge pull request #4473 from lioncash/cheat-desig
dmnt_cheat_vm: Make use of designated initializers
5 years ago
bunnei
cf35405a71
Merge pull request #4456 from Morph1984/stub-really-long-fs-func
fsp-srv: Stub Read/WriteSaveDataFileSystemExtraDataWithMaskBySaveDataAttribute
5 years ago
bunnei
afe7c91b50
Merge pull request #4480 from lioncash/optimize
tests/core_timing: Remove pragma optimize(off)
5 years ago
bunnei
cdd9f577b4
Merge pull request #4482 from lioncash/ldr-sign
service/ldr: Resolve sign mismatch warnings
5 years ago
bunnei
70a59da903
Merge pull request #4468 from lioncash/regcache
registered_cache: Resolve -Wmaybe_uninitialized warnings
5 years ago
bunnei
9a685a6c85
Merge pull request #4471 from ogniK5377/sm-getservice-concept
sm: Make use of IsBaseOf for GetService
5 years ago
Lioncash
bb711ced9d
perf_stats: Make use of designated initializers
Same behavior, but allows us to avoid a now-unnecessary zero
initialization.
5 years ago
Lioncash
2a2bc9c147
perf_stats: Mark GetMeanFrametime() as const
The general pattern is to mark mutexes as mutable when it comes to
matters of constness, given the mutex acts as a transient member of a
data structure.
5 years ago
Lioncash
29ee53cb35
vulkan: Silence more -Wmissing-field-initializer warnings
5 years ago
Lioncash
08e30e0240
yuzu: Resolve C++20 deprecation warnings related to lambda captures
C++20 deprecates capturing the this pointer via the '=' capture.
Instead, we replace it or extend the capture specification.
5 years ago
Lioncash
78ff298d6d
service/ldr: Resolve sign mismatch warnings
We were performing an int < size_t comparison. We can just correct the
type of the induction variable.
5 years ago
Lioncash
2745697bcc
tests/core_timing: Remove pragma optimize(off)
I made a review comment about this in the PR that this was introduced
in (#3955 , commit 4df46e0525 ), but it
seems to have been missed.
We shouldn't be using this pragma here because it's MSVC specific. This
causes warnings on other compilers.
The test it's surrounding is *extremely* dubious, but for the sake of
silencing warnings on other compilers, we can mark "placebo" as volatile
and be on with it.
5 years ago
bunnei
be05759325
Merge pull request #4467 from lioncash/mode
file_sys/mode: Make use of DECLARE_ENUM_FLAG_OPERATORS with Mode
5 years ago
Lioncash
607a02edda
time_zone_binary: Make use of designated initializers
5 years ago
Lioncash
5430961f0d
profile_manager: Make use of std::nullopt
Allows some implementations to completely avoid unnecessarily zeroing
out the internal buffer.
5 years ago
Lioncash
1f909d614c
profile_manager: Make use of designated initializers
More compact code.
5 years ago
Lioncash
743ed2b727
dmnt_cheat_vm: Make use of designated initializers
Allows for more compact code.
5 years ago
Lioncash
2fa750dd6b
file_sys/mode: Make use of DECLARE_ENUM_FLAG_OPERATORS with Mode
Same behavior, minus a hand-rolled operator.
5 years ago
David Marcec
4d0ba04c73
sm: Make use of IsBaseOf for GetService
5 years ago
Lioncash
39ac833461
patch_manager: Resolve -Wignored-qualifier warnings
Top level const will always be ignored in this case, so it can be
removed.
5 years ago
Lioncash
872200c7a9
registered_cache: Resolve -Wmaybe_uninitialized warnings
While we're at it, we can avoid a redundant map lookup.
5 years ago
David
ecaac59acd
ipc: Allow all trivially copyable objects to be passed directly into WriteBuffer ( #4465 )
* ipc: Allow all trivially copyable objects to be passed directly into WriteBuffer
With the support of C++20, we can use concepts to deduce if a type is an STL container or not.
* More agressive concept for stl containers
* Add -fconcepts
* Move to common namespace
* Add Common::IsBaseOf
5 years ago
David
6ecae2e559
Merge pull request #4263 from lat9nq/fix-screencaps-2
screenshots: Option to save screenshots immediately in a specified directory + Linux workaround
5 years ago
David
6b05ff83bb
Merge pull request #4439 from lioncash/cpu
cpu_manager: Remove redundant std::function declarations
5 years ago
David
1e44d65d1e
Merge pull request #4438 from lioncash/localizing
yuzu/main: Remove redundant usages of QStringLiteral("")
5 years ago
Morph
f6fa311cf9
minor nits
5 years ago
Morph
488cacca52
fsp-srv: Stub Read/WriteSaveDataFileSystemExtraDataWithMaskBySaveDataAttribute
Stub these 2 service commands required for Animal Crossing: New Horizons Update 1.4.0
5 years ago
Morph
06adef078c
fs: Rename SaveDataDescriptor to SaveDataAttribute
5 years ago
David
4d4f03d11c
Merge pull request #4392 from lioncash/guard
compatible_formats: Add missing header guard
5 years ago
bunnei
2441e2670e
Merge pull request #4396 from lioncash/comma
surface_params: Replace questionable usages of the comma operator with semicolons
5 years ago
bunnei
b89930a836
Merge pull request #4372 from Morph1984/remove_context_menu
game_list: Add "Remove" context menu
5 years ago
Morph
9759c28518
game_list_worker: Fix game list subdirectory scanning
Oddly enough the scan that feeds the manual content provider is hardcoded to scan 2 nested directories deep.
This effectively rendered the scan subdirectories setting useless as the manual content provider cannot find any games located more than 2 nested directories deep.
Furthermore, this behavior causes game files to be picked up by the manual content provider even if scan subdirectories is disabled.
FIx this by utilizing the behavior described when populating the game list for populating the content provider.
5 years ago
Morph
eafd4145ac
main: Add support for removing SDMC installed titles
6 years ago
Morph
4a6d4ab839
xts_archive: Check if the file is nullptr prior to parsing
Fixes an access violation where the file no longer exists at the specified path while being parsed.
6 years ago
Morph
0724e89467
registered_cache: Add support for removing folder ncas
6 years ago
Morph
d15eb82edc
game_list: Limit context menu options for homebrew
Hides the following options when the title id is 0:
- Open Save Location
- Open Mod Data Location
- Open Transferable Shader Cache
- All removal options except Remove Custom Configuration
6 years ago
Morph
81e3d7e924
main: Remove assert for opening savedata when program_id = 0
6 years ago
Morph
092dda59cb
main: Silence [[fallthrough]] warning
6 years ago