Rodrigo Locatti
beafe0508a
Merge pull request #4359 from ReinUsesLisp/clamp-shared
renderer_{opengl,vulkan}: Clamp shared memory to host's limit
6 years ago
Rodrigo Locatti
05ffdb1383
Merge pull request #4360 from ReinUsesLisp/glasm-bar
gl_arb_decompiler: Execute BAR even when inside control flow
6 years ago
Rodrigo Locatti
ce9754ffa5
Merge pull request #4361 from ReinUsesLisp/lane-id
decode/other: Implement S2R.LaneId
6 years ago
Lioncash
3245700495
surface_params: Make use of designated initializers where applicable
Provides a convenient way to avoid unnecessary zero initializing.
6 years ago
Lioncash
4ec316a7b2
surface_params: Remove redundant assignment
This is a redundant assignment that can be removed.
6 years ago
Lioncash
9758e39655
surface_params: Replace questionable usages of the comma operator with semicolons
These are bugs waiting to happen.
6 years ago
David
9263c9af72
Merge pull request #4306 from ReinUsesLisp/bsd-network
core/network: Add network abstraction
6 years ago
Lioncash
074f382a39
video_core: Remove unused variables
Silences several compiler warnings about unused variables.
6 years ago
Lioncash
09172c0347
vk_rasterizer: Remove unused variable in Clear()
The relevant values are already assigned further down in the lambda, so
this can be removed entirely.
6 years ago
Lioncash
cff696cfbb
compatible_formats: Add missing header guard
Prevents potential inclusion issues from occurring.
6 years ago
Lioncash
991e4dc0b3
video_core: Allow copy elision to take place where applicable
Removes const from some variables that are returned from functions, as
this allows the move assignment/constructors to execute for them.
6 years ago
bunnei
2e4a5d2110
Merge pull request #4324 from ReinUsesLisp/formats
video_core: Fix, add and rename pixel formats
6 years ago
lat9nq
c9dd8cd8a5
configure_ui: Ensure a separator follows the returned path
6 years ago
lat9nq
90a5f09f8c
configure_ui: don't use an empty string
If the user had cancelled, it would clear the text box. That behavior was sanitized underneath, but may anyways cause inconveniences.
6 years ago
lat9nq
0f7e75ddb5
main: Don't use as many string copies
Co-Authored-By: LC <lioncash@users.noreply.github.com>
6 years ago
lat9nq
0e7594102b
main: rewrite (save as) screenshot saving
This picks a default directory and file name. If on Windows and save-as screenshot saving is enabled, it asks the user, first defaulting to the default screenshot path, and with a default filename in the format `[title_id]_[year-mt-dy_hr-mn-sc-msc].png`. Otherwise, or on Linux for now, it simply saves a file in that directory with that file name.
6 years ago
lat9nq
3db1abfcbc
configuration: Setup UI to config screenshot path and saving
This adds two options to the General -> UI tab. The first disables picking a place to save the file. The second chooses a default directory for saving screenshots.
6 years ago
lat9nq
11fb3d5d12
common: Add a screenshots directory
Adds a screenshots directory as a path managed by FileUtil.
6 years ago
David Marcec
f3ef6e4fb1
video_core: Remove redundant pixel format type
We already get the format type before converting shadow formats and during shadow formats.
6 years ago
bunnei
10ae1e1dad
Merge pull request #4168 from ReinUsesLisp/global-memory
gl_arb_decompiler: Use NV_shader_buffer_{load,store} on assembly shaders
6 years ago
Lioncash
1842c5df37
buffer_cache: Eliminate redundant map lookup in MarkRegionAsWritten()
We can make use of emplace()'s return value to determine whether or not
we need to perform an increment.
emplace() performs no insertion if an element already exist, so this can
eliminate a find() call.
6 years ago
Morph
19b3180ae3
wait_tree: Include Midnight Blue dark themes
6 years ago
James Rowe
e9af5f404a
qt-themes: Add Midnight Blue qdarkstyle theme (2.8.1)
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
6 years ago
David Marcec
a8d522603e
frontend: Match indeterminate checkbox state with light theme
Keeps consistency between the two themes
6 years ago
David Marcec
87a838304b
Address issues
6 years ago
lat9nq
255f148a11
configure_graphics_advnaced: clang-format mk ii
6 years ago
lat9nq
41724d04c1
configure_graphics_advanced: Fix oversight from rebase
6 years ago
lat9nq
a8532de77b
configuration_shared: Remove unused functions
These were only kept for compatibility with old code during testing.
6 years ago
lat9nq
932de8986b
configuration: Use forward declares and remove extraneous structs
6 years ago
lat9nq
7df8f2b760
configuration_shared: Make CheckState strongly typed
Also gets rid of unnecessary explicit namespace usage.
6 years ago
lat9nq
d26e1a1839
clang-format
6 years ago
lat9nq
3676efbf03
configuration_shared: Break up tracker structs to respective classes
One less global variable.
6 years ago
lat9nq
54f4eba5a9
configure_system: break instead of semicolon
Makes the code more readable
Co-Authored-By: LC <lioncash@users.noreply.github.com>
6 years ago
lat9nq
c2fa65efb6
clang-format
6 years ago
lat9nq
f5f2f3e926
configure_system: Highlight labels on startup
whoops
6 years ago
lat9nq
a0c66140a6
configure_graphics: Fix layout in global config
Fixes a regression where the global config takes up a lot of extra space.
6 years ago
lat9nq
a186061bb9
configure_per_game: Improve style consistency
The way the configurations are set up, it is not trivial to do this. I'll leave it as is, but the API selection, and the background color and volume slider selectors are kind of not following the style.
6 years ago
lat9nq
2cb8f9ba8b
configure_system: Implement highlighted overrides
6 years ago
lat9nq
e79a198006
configuration_shared: Add default combobox setup function
Not a catch-all, but helps clean up the code for when I do this a lot. Also fixes some bugs caught in configure_graphics.
6 years ago
lat9nq
df6af4e1a3
configuration_shared: Use an int instead of a QString
I noticed some of the code could be reduced to just passing the function an int, since I was doing the same thing over and over. Also clang-formats configure_graphics
6 years ago
lat9nq
d75846daff
configure_graphics_advanced: Implement highlighted overrides
6 years ago
lat9nq
14ab428a82
configuration_shared: Switch back to background colors
Let's see if I make up my mind.
6 years ago
lat9nq
cfff443f00
configuration_shared: Better use global text
Also adds trackers for graphics and advanced graphics
6 years ago
lat9nq
5565548fb7
configure_audio: fix UI margins
6 years ago
lat9nq
c80b9c67a7
configure_graphics: Implement highlighted overrides
6 years ago
lat9nq
0c8536e020
configure_audio: Implement highlighted overrides
6 years ago
lat9nq
1408d300ea
configuration_shared: Require name of the widget for highlighting
Prevents mass-coloring of elements later on
6 years ago
lat9nq
26b196fcb2
configuration_shared: Use a highlight instead of background color
Fixes visibility in the built-in dark theme
6 years ago
lat9nq
b4c860d57e
configure_general: Implement manual tristate buttons
6 years ago
lat9nq
a2ba6cf83d
configuration_shared: Initial functions and data for manual tristate
Sets up initial support for implementing colored tristate functions. These functions color a QWidget blue when it's overriding a global setting, and discolor it when not. The lack of color indicates it uses the global state, replacing the Qt::CheckState::PartiallyChecked state with the global state.
6 years ago