aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-07-28Merge pull request #4442 from lioncash/devicemembunnei
device_memory: Remove unused system member
2020-07-28configure_graphics: Remove Force 30 FPS modeMorph
The introduction of multicore rendered this setting non-functional as timing code was changed. This removes the setting entirely.
2020-07-28renderer_opengl: Use 1/4 of all threads for async shader compilationMorph
2020-07-28common/atomic_ops: Don't cast away volatile from pointersLioncash
Preserves the volatility of the pointers being casted.
2020-07-28service/bsd: Handle Poll with no entries accuratelyReinUsesLisp
Testing shows that Poll called with zero entries returns -1 and signals an errno of zero.
2020-07-28services/bsd: Implement most of bsd:sReinUsesLisp
This implements: Socket, Poll, Accept, Bind, Connect, GetPeerName, GetSockName, Listen, Fcntl, SetSockOpt, Shutdown, Recv, RecvFrom, Send, SendTo, Write, and Close The implementation was done referencing: SwIPC, switchbrew, testing with libnx and inspecting its code, general information about bsd sockets online, and analysing official software. Not everything from these service calls is implemented, but everything that is not implemented will be logged in some way.
2020-07-28service/sockets: Add worker pool abstractionReinUsesLisp
Manage worker threads with an easy to use abstraction. We can expand this to support thread deletion in the future.
2020-07-28service/sockets: Add worker abstraction to execute blocking calls asynchronouslyReinUsesLisp
This abstraction allows executing blocking functions (like recvfrom on a socket configured for blocking) without blocking the service thread. It is intended to be used with SleepClientThread.
2020-07-28service/sockets: Add translate functionsReinUsesLisp
These functions translate from Network enumerations/structures to guest enumerations/structures and viceversa.
2020-07-28service/sockets: Add enumerations and structuresReinUsesLisp
Add guest enumerations and structures used in socket services
2020-07-28services/nifm: Implement GetCurrentIpAddressReinUsesLisp
This is trivially implemented using the Network abstraction - Used by ftpd
2020-07-27device_memory: Remove unused system memberLioncash
This isn't used by anything in particular, so it can be removed.
2020-07-27cpu_manager: Remove redundant std::function declarationsLioncash
We can just return the function directly. Making for less reading.
2020-07-27Update src/core/hle/service/nvdrv/devices/nvmap.cppbunnei
Co-authored-by: LC <mathew1800@gmail.com>
2020-07-27core_timing: Make use of uintptr_t to represent user_dataLioncash
Makes the interface future-proofed for supporting other platforms in the event we ever support platforms with differing pointer sizes. This way, we have a type in place that is always guaranteed to be able to represent a pointer exactly.
2020-07-27yuzu/main: Remove redundant usages of QStringLiteral("")Lioncash
An empty QStringLiteral can more efficiently be replaced with an empty QString.
2020-07-27Merge pull request #4419 from lioncash/initializerbunnei
vulkan: Resolve -Wmissing-field-initializer warnings
2020-07-27Merge pull request #4434 from CrazyMax/lang_unused_varbunnei
AM: GetDesiredLanguage: remove unused variable
2020-07-27Merge pull request #4432 from bylaws/patch-1Rodrigo Locatti
video_core/gpu: Correct the size of the puller registers
2020-07-27remove unused variable;CrazyMax
2020-07-26Merge pull request #4431 from kelnos/fix-exit-crashbunnei
GCAdapter: only join worker thread if running & joinable
2020-07-26GCAdapter: only join worker thread if running & joinableBrian J. Tarricone
2020-07-26video_core/gpu: Correct the size of the puller registersBilly Laws
The puller register array is made up of u32s however the `NUM_REGS` value is the size in bytes, so switch it to avoid making the struct unnecessary large. Also fix a small typo in a comment.
2020-07-26config: Make the save-as identifier more consistentlat9nq
Solves an issue with restoring the value upon reloading program.
2020-07-26Merge pull request #4426 from lioncash/lockbunnei
nvflinger: Use return value of Lock()
2020-07-25Merge pull request #4418 from lioncash/udp-warnbunnei
udp/client: Remove unused boost include
2020-07-26hle: nvdrv: Rewrite of GPU memory management.bunnei
2020-07-25Merge pull request #4415 from lioncash/maybebunnei
virtual_buffer: Mark size parameter of FreeMemoryPages() as [[maybe_unused]]
2020-07-25Merge pull request #4417 from lioncash/pollbunnei
gc_adapter/gc_poller: Resolve compiler warnings
2020-07-26yuzu/configure_debug: Remove duplicated checkboxesFearlessTobi
Those are already found in the Filesystem tab. They were added back to the Debug tab by mistake in the Vulkan PR.
2020-07-25nvflinger: Mark interface functions with return values as [[nodiscard]]Lioncash
Not using the return value of these functions are undeniably the source of a bug. This way we allow compilers to loudly make any future misuses evident.
2020-07-25nvflinger: Use return value of Lock()Lioncash
comex reported in #4424 that we were incorrectly discarding the return value of Lock() which is correct.
2020-07-25Merge pull request #4350 from ogniK5377/hid-update-connectedbunnei
hid: Only update keyboard & debug pad inputs if enabled
2020-07-25common/string_util: Remove unimplemented function prototype (#4414)LC
This function was relocated to log.h as a constexpr function, so this can be removed.
2020-07-25Fix perf regressionDavid Marcec
2020-07-25vulkan: Resolve -Wmissing-field-initializer warningsLioncash
2020-07-25udp/client: Remove unused boost includeLioncash
Also silences a deprecation warning from boost on Clang/GCC.
2020-07-25gc_adapter: Resolve C++20 deprecation warningLioncash
2020-07-25gc_poller: Resolve -Wsign-compare warningLioncash
2020-07-25gc_poller: Resolve -Wredundant-move warningLioncash
2020-07-25lz4_compression: Make use of std::span in interfacesLioncash
Allows compressing the data and size parameters into one.
2020-07-25zstd_compression: Make use of std::span in interfacesLioncash
Allows condensing the data and size parameters into a single argument.
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