summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-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-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-20Merge pull request #4168 from ReinUsesLisp/global-memorybunnei
gl_arb_decompiler: Use NV_shader_buffer_{load,store} on assembly shaders
2020-07-19Fix axis thresholding while pollingameerj
axes were very sensitive when mapping controls.
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
2020-07-17Merge pull request #4365 from lioncash/miibunnei
mii/manager: Make use of designated initializers
2020-07-17Merge pull request #4374 from ReinUsesLisp/fix-errbunnei
vk_device: Fix build error on old MSVC versions
2020-07-17Merge pull request #4366 from lioncash/mii-signbunnei
mii/manager: Resolve sign mismatch warnings
2020-07-17vk_device: Fix build error on old MSVC versionsReinUsesLisp
Designated initializers on old MSVC versions fail to build when they take the address of a constant.
2020-07-17Merge pull request #4344 from VolcaEM/c3bunnei
dmnt_cheat_vm: Implement opcode 0xC3 (ReadWriteStaticRegister)
2020-07-17Merge pull request #4309 from Morph1984/fix-romfs-bugbunnei
fs: Fix RomFS building when zero byte files are present
2020-07-17std::size_t where appropriate, make error message more clear if can't readameerj
2020-07-17Merge pull request #4322 from ReinUsesLisp/fix-dynstatebunnei
vk_state_tracker: Fix dirty flags for stencil_enable on VK_EXT_extended_dynamic_state
2020-07-17alignment: Simplify AlignmentAllocator implementationLioncash
With C++20, much of the allocator interface has been simplified, so we can make the same adjustments.
2020-07-17Merge pull request #4369 from lioncash/hle-macroLC
macro_hle: Remove unnecessary std::make_pair calls
2020-07-17Merge pull request #4340 from lioncash/removeLC
shader_cache: Make use of std::erase_if
2020-07-17Drop settings namespaceDavid Marcec
2020-07-17Remove duplicate configDavid Marcec
2020-07-17Use conditional varDavid Marcec
2020-07-17Drop max workers from 8->2 for testingDavid Marcec
2020-07-17Rebase for per game settingsDavid Marcec
2020-07-17async shadersDavid Marcec
2020-07-17Merge pull request #4347 from lioncash/loggingDavid
settings: Make use of std::string_view over std::string for logging
2020-07-17Merge pull request #4371 from lioncash/cmake2David
core/CMakeLists: Add missing physical_memory.h header file
2020-07-17Merge pull request #4357 from lioncash/unused4David
kernel: Remove unused variables
2020-07-17Merge pull request #4358 from lioncash/unused5David
kernel/thread: Remove unimplemented function prototype
2020-07-16macro_hle: Remove unnecessary static keywordsLioncash
These functions are already in an anonymous namespace which makes the functions internally linked.