Age | Commit message (Collapse) | Author |
|
Previously the constructor for all of these would run at program
startup, consuming time before the application can enter main().
This is also particularly dangerous, given the logging system wouldn't
have been initialized properly yet, yet the program would use the logs
to signify an error.
To rectify this, we can replace the literals with constexpr functions
that perform the conversion at compile-time, completely eliminating the
runtime cost of initializing these arrays.
|
|
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
|
|
screenshots: Option to save screenshots immediately in a specified directory + Linux workaround
|
|
cpu_manager: Remove redundant std::function declarations
|
|
yuzu/main: Remove redundant usages of QStringLiteral("")
|
|
compatible_formats: Add missing header guard
|
|
surface_params: Replace questionable usages of the comma operator with semicolons
|
|
game_list: Add "Remove" context menu
|
|
|
|
Fixes an access violation where the file no longer exists at the specified path while being parsed.
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
Adds the following actions:
- Remove Installed Update
- Remove All Installed DLC
- Remove Shader Cache
- Remove Custom Configuration
- Remove All Installed Contents
|
|
device_memory: Remove unused system member
|
|
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.
|
|
This isn't used by anything in particular, so it can be removed.
|
|
core_timing: Make use of uintptr_t to represent user_data
|
|
We can just return the function directly. Making for less reading.
|
|
qt_themes: Set QLabel background color to transparent for Dark and Midnight Blue themes
|
|
Makes the interface future-proofed for supporting other platforms in the event we ever support platforms with differing pointer sizes. This way, we have a type in place that is always guaranteed to be able to represent a pointer exactly.
|
|
An empty QStringLiteral can more efficiently be replaced with an empty
QString.
|
|
vulkan: Resolve -Wmissing-field-initializer warnings
|
|
AM: GetDesiredLanguage: remove unused variable
|
|
video_core/gpu: Correct the size of the puller registers
|
|
|
|
GCAdapter: only join worker thread if running & joinable
|
|
|
|
The puller register array is made up of u32s however the `NUM_REGS` value is the size in bytes, so switch it to avoid making the struct unnecessary large. Also fix a small typo in a comment.
|
|
Solves an issue with restoring the value upon reloading program.
|
|
nvflinger: Use return value of Lock()
|
|
udp/client: Remove unused boost include
|
|
virtual_buffer: Mark size parameter of FreeMemoryPages() as [[maybe_unused]]
|
|
gc_adapter/gc_poller: Resolve compiler warnings
|
|
yuzu/configure_debug: Remove duplicated checkboxes
|
|
Those are already found in the Filesystem tab.
They were added back to the Debug tab by mistake in the Vulkan PR.
|
|
Not using the return value of these functions are undeniably the source
of a bug. This way we allow compilers to loudly make any future misuses
evident.
|
|
comex reported in #4424 that we were incorrectly discarding the return
value of Lock() which is correct.
|
|
hid: Only update keyboard & debug pad inputs if enabled
|
|
This function was relocated to log.h as a constexpr function, so this
can be removed.
|
|
Fixes the override highlights in per-game settings from looking weird when viewed on the Dark or Midnight Blue themes by setting QLabels to have transparent backgrounds by default.
Also apparently adds a newline to the end of the Dark theme's qss file.
|
|
|
|
Also silences a deprecation warning from boost on Clang/GCC.
|
|
|
|
|
|
|