aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-07-25virtual_buffer: Mark size parameter of FreeMemoryPages() as [[maybe_unused]]Lioncash
This isn't used on Windows, but is used on non-Windows operating systems.
2020-07-24Merge pull request #4380 from ogniK5377/swkbd-inline-1bunnei
swkbd: Return result for Calc request for inlined swkbd
2020-07-24Merge pull request #4393 from lioncash/unused5bunnei
vk_rasterizer: Remove unused variable in Clear()
2020-07-25Fix stream channel count when outputting to stereoDavid Marcec
2020-07-25Address issuesDavid Marcec
2020-07-25Queue extra mix bufferDavid Marcec
2020-07-25Disable time stretcher for time beingDavid Marcec
2020-07-25audio_core: Apollo Part 1, AudioRenderer refactorDavid Marcec
2020-07-24Merge pull request #4377 from Morph1984/dark-themesbunnei
qt-themes: Add Midnight Blue qdarkstyle theme (2.8.1)
2020-07-24Merge pull request #4334 from lat9nq/clear-per-game-settingsbunnei
configure_per_game: Clearer per-game settings
2020-07-24Merge pull request #4388 from lioncash/writtenbunnei
buffer_cache: Eliminate redundant map lookup in MarkRegionAsWritten()
2020-07-24Merge pull request #4391 from lioncash/nrvobunnei
video_core: Allow copy elision to take place where applicable
2020-07-23Merge pull request #4394 from lioncash/unused6bunnei
video_core: Remove unused variables
2020-07-23Merge pull request #4353 from ameerj/gc-refactorbunnei
gc_adapter: Refactor code
2020-07-22network: add missing include for BSDsJan Beich
src/core/network/network.cpp:112:28: error: use of undeclared identifier 'SHUT_RD' constexpr int SD_RECEIVE = SHUT_RD; ^ src/core/network/network.cpp:113:25: error: use of undeclared identifier 'SHUT_WR' constexpr int SD_SEND = SHUT_WR; ^ src/core/network/network.cpp:114:25: error: use of undeclared identifier 'SHUT_RDWR' constexpr int SD_BOTH = SHUT_RDWR; ^ src/core/network/network.cpp:120:37: error: unknown type name 'in_addr'; did you mean 'in_addr_t'? constexpr IPv4Address TranslateIPv4(in_addr addr) { ^~~~~~~ in_addr_t /usr/include/netdb.h:66:20: note: 'in_addr_t' declared here typedef __uint32_t in_addr_t; ^ src/core/network/network.cpp:121:27: error: member reference base type 'in_addr_t' (aka 'unsigned int') is not a structure or union const u32 bytes = addr.s_addr; ~~~~^~~~~~~ src/core/network/network.cpp:121:15: error: variables defined in a constexpr function must be initialized const u32 bytes = addr.s_addr; ^ src/core/network/network.cpp:126:10: error: incomplete result type 'sockaddr' in function definition sockaddr TranslateFromSockAddrIn(SockAddrIn input) { ^ /usr/include/netdb.h:142:9: note: forward declaration of 'sockaddr' struct sockaddr *ai_addr; /* binary address */ ^ src/core/network/network.cpp:127:5: error: unknown type name 'sockaddr_in'; did you mean 'sockaddr'? sockaddr_in result; ^~~~~~~~~~~ sockaddr /usr/include/netdb.h:142:9: note: 'sockaddr' declared here struct sockaddr *ai_addr; /* binary address */ ^ src/core/network/network.cpp:127:17: error: variable has incomplete type 'sockaddr' sockaddr_in result; ^ /usr/include/netdb.h:142:9: note: forward declaration of 'sockaddr' struct sockaddr *ai_addr; /* binary address */ ^ src/core/network/network.cpp:131:29: error: use of undeclared identifier 'AF_INET' result.sin_family = AF_INET; ^ src/core/network/network.cpp:135:29: error: use of undeclared identifier 'AF_INET' result.sin_family = AF_INET; ^ src/core/network/network.cpp:139:23: error: use of undeclared identifier 'htons' result.sin_port = htons(input.portno); ^ src/core/network/network.cpp:143:14: error: variable has incomplete type 'sockaddr' sockaddr addr; ^ /usr/include/netdb.h:142:9: note: forward declaration of 'sockaddr' struct sockaddr *ai_addr; /* binary address */ ^ src/core/network/network.cpp:156:1: error: unknown type name 'linger' linger MakeLinger(bool enable, u32 linger_value) { ^ src/core/network/network.cpp:157:5: error: unknown type name 'linger' linger value; ^ src/core/network/network.cpp:185:16: error: use of undeclared identifier 'AF_INET' return AF_INET; ^ src/core/network/network.cpp:195:16: error: use of undeclared identifier 'SOCK_STREAM' return SOCK_STREAM; ^ src/core/network/network.cpp:197:16: error: use of undeclared identifier 'SOCK_DGRAM' return SOCK_DGRAM; ^ src/core/network/network.cpp:207:16: error: use of undeclared identifier 'IPPROTO_TCP' return IPPROTO_TCP; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=]
2020-07-21vi: IApplicationDisplayService:GetIndirectLayerImageRequiredMemoryInfoDavid Marcec
Needed for dark souls and monster hunter
2020-07-21Merge pull request #4359 from ReinUsesLisp/clamp-sharedRodrigo Locatti
renderer_{opengl,vulkan}: Clamp shared memory to host's limit
2020-07-21Merge pull request #4360 from ReinUsesLisp/glasm-barRodrigo Locatti
gl_arb_decompiler: Execute BAR even when inside control flow
2020-07-21Merge pull request #4361 from ReinUsesLisp/lane-idRodrigo Locatti
decode/other: Implement S2R.LaneId
2020-07-21surface_params: Make use of designated initializers where applicableLioncash
Provides a convenient way to avoid unnecessary zero initializing.
2020-07-21surface_params: Remove redundant assignmentLioncash
This is a redundant assignment that can be removed.
2020-07-21surface_params: Replace questionable usages of the comma operator with ↵Lioncash
semicolons These are bugs waiting to happen.
2020-07-21Merge pull request #4306 from ReinUsesLisp/bsd-networkDavid
core/network: Add network abstraction
2020-07-21video_core: Remove unused variablesLioncash
Silences several compiler warnings about unused variables.
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