aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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>
2020-07-18frontend: Improve wait tree readability for dark themesDavid Marcec
2020-07-18Merge pull request #4348 from lioncash/nanobunnei
core_timing: Make usage of nanoseconds more consistent in the interface
2020-07-18Merge pull request #4373 from lioncash/allocatorbunnei
alignment: Simplify AlignmentAllocator implementation
2020-07-18gl_arb_decompiler: Use NV_shader_buffer_{load,store} on assembly shadersReinUsesLisp
NV_shader_buffer_{load,store} is a 2010 extension that allows GL applications to use what in Vulkan is known as physical pointers, this is basically C pointers. On GLASM these is exposed through the LOAD/STORE/ATOM instructions. Up until now, assembly shaders were using NV_shader_storage_buffer_object. These work fine, but have a (probably unintended) limitation that forces us to have the limit of a single stage for all shader stages. In contrast, with NV_shader_buffer_{load,store} we can pass GPU addresses to the shader through local parameters (GLASM equivalent uniform constants, or push constants on Vulkan). Local parameters have the advantage of being per stage, allowing us to generate code without worrying about binding overlaps.
2020-07-18Merge pull request #4345 from Morph1984/fix-createfilebunnei
filesystem: Create subdirectories prior to creating a file
2020-07-18Merge pull request #4273 from ogniK5377/async-shaders-prodbunnei
video_core: Add asynchronous shader decompilation and compilation
2020-07-18Fix style issuesDavid Marcec
2020-07-18Merge pull request #4364 from lioncash/desig5bunnei
vulkan: Make use of designated initializers where applicable