Lioncash
e1ab72a0ea
tests/core_timing: Remove pragma optimize(off)
...
I made a review comment about this in the PR that this was introduced
in (#3955 , commit 71c4779211
), 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
3697fc8d14
Merge pull request #4467 from lioncash/mode
...
file_sys/mode: Make use of DECLARE_ENUM_FLAG_OPERATORS with Mode
5 years ago
Lioncash
04ca1ed2bd
time_zone_binary: Make use of designated initializers
5 years ago
Lioncash
8725b37a35
logging/backend: Make use of designated initializers
...
Same behavior, less code.
5 years ago
Lioncash
9b837c6069
buffer_queue: Make use of std::nullopt
...
Allows compilers to eliminate unnecessary zeroing out of the optional's
buffer.
5 years ago
Lioncash
24bd068a08
buffer_queue: Make use of designated initializers
5 years ago
Lioncash
b9831fd80a
profile_manager: Make use of std::nullopt
...
Allows some implementations to completely avoid unnecessarily zeroing
out the internal buffer.
5 years ago
Lioncash
3fcaf937d2
profile_manager: Make use of designated initializers
...
More compact code.
5 years ago
Lioncash
c883666045
dmnt_cheat_vm: Make use of designated initializers
...
Allows for more compact code.
5 years ago
Lioncash
2b8ae009a0
file_sys/mode: Make use of DECLARE_ENUM_FLAG_OPERATORS with Mode
...
Same behavior, minus a hand-rolled operator.
5 years ago
David Marcec
6a0b77996b
sm: Make use of IsBaseOf for GetService
5 years ago
Lioncash
1c6d3ba397
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
4ca0014479
registered_cache: Resolve -Wmaybe_uninitialized warnings
...
While we're at it, we can avoid a redundant map lookup.
5 years ago
David Marcec
a5af1161c9
Place in anonymous namespace
5 years ago
David Marcec
6cfff2c3f6
loader: Make IdentifyFile typesafe
...
Relies on #4465 for concept.h Common::IsBaseOf
5 years ago
David
9b75481755
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
6c7292de33
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
0ca42c806f
Merge pull request #4439 from lioncash/cpu
...
cpu_manager: Remove redundant std::function declarations
5 years ago
David
50d8264833
Merge pull request #4438 from lioncash/localizing
...
yuzu/main: Remove redundant usages of QStringLiteral("")
5 years ago
Lioncash
0105368cc1
ci: Make use of clang-format 10.0
...
10.0 seems to play nicer with C++ attributes compared to clang-format
6.0.
5 years ago
Morph
fc86cb4ca2
minor nits
5 years ago
David Marcec
e586921c28
am: Unstub SetScreenShotPermission
5 years ago
Morph
1241020093
fsp-srv: Stub Read/WriteSaveDataFileSystemExtraDataWithMaskBySaveDataAttribute
...
Stub these 2 service commands required for Animal Crossing: New Horizons Update 1.4.0
5 years ago
Morph
45fd67c109
fs: Rename SaveDataDescriptor to SaveDataAttribute
5 years ago
David
0c262f8ac2
Merge pull request #4392 from lioncash/guard
...
compatible_formats: Add missing header guard
5 years ago
bunnei
4c0f6f1bc8
Merge pull request #4396 from lioncash/comma
...
surface_params: Replace questionable usages of the comma operator with semicolons
5 years ago
bunnei
b8a7b530f8
Merge pull request #4372 from Morph1984/remove_context_menu
...
game_list: Add "Remove" context menu
5 years ago
Morph
e0d02d032b
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
e59d17167d
main: Add support for removing SDMC installed titles
5 years ago
Morph
ed46f3c62a
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.
5 years ago
Morph
2ec852dd9f
registered_cache: Add support for removing folder ncas
5 years ago
Morph
b317942131
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
5 years ago
Morph
cd814bfdfe
main: Remove assert for opening savedata when program_id = 0
5 years ago
Morph
f78e44762a
main: Silence [[fallthrough]] warning
5 years ago
Morph
ef02370816
main: Split removal cases into their individual functions and address feedback
5 years ago
Morph
85e1facfe6
main: Connect game list remove signals to removal functions
5 years ago
Morph
de6b852dc2
game_list: Add "Remove" context menu
...
Adds the following actions:
- Remove Installed Update
- Remove All Installed DLC
- Remove Shader Cache
- Remove Custom Configuration
- Remove All Installed Contents
5 years ago
bunnei
b205b12e75
Merge pull request #4442 from lioncash/devicemem
...
device_memory: Remove unused system member
5 years ago
LC
33d789524e
Merge pull request #4446 from Morph1984/remove-30fps-hack
...
configure_graphics: Remove Force 30 FPS mode
5 years ago
Morph
8d42456dc2
configure_graphics: Remove Force 30 FPS mode
...
The introduction of multicore rendered this setting non-functional as timing code was changed.
This removes the setting entirely.
5 years ago
Morph
e8f22730d1
renderer_opengl: Use 1/4 of all threads for async shader compilation
5 years ago
Lioncash
e3f0c93230
common/atomic_ops: Don't cast away volatile from pointers
...
Preserves the volatility of the pointers being casted.
5 years ago
Lioncash
2258f33ee4
device_memory: Remove unused system member
...
This isn't used by anything in particular, so it can be removed.
5 years ago
bunnei
05781ce8c4
Merge pull request #4437 from lioncash/ptr
...
core_timing: Make use of uintptr_t to represent user_data
5 years ago
Lioncash
2e68282214
CMakeLists: Update boost to 1.73
...
Keeps the library up to date.
5 years ago
Lioncash
6bb77b06dc
CMakeLists: Update catch to 2.13
...
Keeps the library up to date
5 years ago
Lioncash
5b785232de
CMakeLists: Update zstd to 1.4.5
...
Keeps the library version up to date.
5 years ago
Lioncash
d25265d63a
CMakeFiles: Update json to 3.8.0
...
Keeps the tracked version of the library up to date.
5 years ago
Lioncash
989ad52dc1
cpu_manager: Remove redundant std::function declarations
...
We can just return the function directly. Making for less reading.
5 years ago
bunnei
312c3788df
Merge pull request #4420 from lat9nq/fix-themed-label-bg
...
qt_themes: Set QLabel background color to transparent for Dark and Midnight Blue themes
5 years ago