aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-07-21vk_rasterizer: Remove unused variable in Clear()Lioncash
The relevant values are already assigned further down in the lambda, so this can be removed entirely.
2020-07-21compatible_formats: Add missing header guardLioncash
Prevents potential inclusion issues from occurring.
2020-07-21video_core: Allow copy elision to take place where applicableLioncash
Removes const from some variables that are returned from functions, as this allows the move assignment/constructors to execute for them.
2020-07-21Merge pull request #4324 from ReinUsesLisp/formatsbunnei
video_core: Fix, add and rename pixel formats
2020-07-20configure_ui: Ensure a separator follows the returned pathlat9nq
2020-07-20configure_ui: don't use an empty stringlat9nq
If the user had cancelled, it would clear the text box. That behavior was sanitized underneath, but may anyways cause inconveniences.
2020-07-20main: Don't use as many string copieslat9nq
Co-Authored-By: LC <lioncash@users.noreply.github.com>
2020-07-20main: rewrite (save as) screenshot savinglat9nq
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.
2020-07-20configuration: Setup UI to config screenshot path and savinglat9nq
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.
2020-07-20common: Add a screenshots directorylat9nq
Adds a screenshots directory as a path managed by FileUtil.
2020-07-21video_core: Remove redundant pixel format typeDavid Marcec
We already get the format type before converting shadow formats and during shadow formats.
2020-07-20Merge pull request #4168 from ReinUsesLisp/global-memorybunnei
gl_arb_decompiler: Use NV_shader_buffer_{load,store} on assembly shaders
2020-07-20buffer_cache: Eliminate redundant map lookup in MarkRegionAsWritten()Lioncash
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.
2020-07-20wait_tree: Include Midnight Blue dark themesMorph
2020-07-20qt-themes: Add Midnight Blue qdarkstyle theme (2.8.1)James Rowe
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2020-07-20Address issuesDavid Marcec
2020-07-19configure_graphics_advnaced: clang-format mk iilat9nq
2020-07-19configure_graphics_advanced: Fix oversight from rebaselat9nq
2020-07-19configuration_shared: Remove unused functionslat9nq
These were only kept for compatibility with old code during testing.
2020-07-19configuration: Use forward declares and remove extraneous structslat9nq
2020-07-19configuration_shared: Make CheckState strongly typedlat9nq
Also gets rid of unnecessary explicit namespace usage.
2020-07-19clang-formatlat9nq
2020-07-19configuration_shared: Break up tracker structs to respective classeslat9nq
One less global variable.
2020-07-19configure_system: break instead of semicolonlat9nq
Makes the code more readable Co-Authored-By: LC <lioncash@users.noreply.github.com>
2020-07-19clang-formatlat9nq
2020-07-19configure_system: Highlight labels on startuplat9nq
whoops
2020-07-19configure_graphics: Fix layout in global configlat9nq
Fixes a regression where the global config takes up a lot of extra space.
2020-07-19configure_per_game: Improve style consistencylat9nq
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.
2020-07-19configure_system: Implement highlighted overrideslat9nq
2020-07-19configuration_shared: Add default combobox setup functionlat9nq
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.
2020-07-19configuration_shared: Use an int instead of a QStringlat9nq
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
2020-07-19configure_graphics_advanced: Implement highlighted overrideslat9nq
2020-07-19configuration_shared: Switch back to background colorslat9nq
Let's see if I make up my mind.
2020-07-19configuration_shared: Better use global textlat9nq
Also adds trackers for graphics and advanced graphics
2020-07-19configure_audio: fix UI marginslat9nq
2020-07-19configure_graphics: Implement highlighted overrideslat9nq
2020-07-19configure_audio: Implement highlighted overrideslat9nq
2020-07-19configuration_shared: Require name of the widget for highlightinglat9nq
Prevents mass-coloring of elements later on
2020-07-19configuration_shared: Use a highlight instead of background colorlat9nq
Fixes visibility in the built-in dark theme
2020-07-19configure_general: Implement manual tristate buttonslat9nq
2020-07-19configuration_shared: Initial functions and data for manual tristatelat9nq
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.
2020-07-19Fix axis thresholding while pollingameerj
axes were very sensitive when mapping controls.
2020-07-19swkbd: Return result for Calc request for inlined swkbdDavid Marcec
Fixes random swkbd popups in monster hunter
2020-07-19core/network: Add network abstractionReinUsesLisp
This commit adds a network abstraction designed to implement bsd:s but at the same time work as a generic abstraction to implement any networking code we have to use from core. This is implemented on top of BSD sockets on Unix systems and winsock on Windows. The code is designed around winsocks having compatibility definitions to support both BSD and Windows sockets.
2020-07-19Merge pull request #4376 from ogniK5377/dark-wait-treeRodrigo Locatti
frontend: Improve wait tree readability for dark themes
2020-07-18alignment: explicitly include <new> after 723edb4c0659Jan Beich
In file included from src/core/hle/kernel/memory/page_table.cpp:5: src/./common/alignment.h:67:68: error: no member named 'align_val_t' in namespace 'std' return static_cast<T*>(::operator new (n * sizeof(T), std::align_val_t{Align})); ~~~~~^ src/./common/alignment.h:71:51: error: no member named 'align_val_t' in namespace 'std' ::operator delete (p, n * sizeof(T), std::align_val_t{Align}); ~~~~~^
2020-07-19Address issuesDavid Marcec
2020-07-18Address trivial review comments.FearlessTobi
2020-07-18configure_ui: Address some review comments from the previous PRFearlessTobi
2020-07-18yuzu: Port translation support from CitraFearlessTobi
Co-Authored-By: Weiyi Wang <wwylele@gmail.com>