summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2020-08-04Merge pull request #4430 from bunnei/new-gpu-vmmbunnei
hle: nvdrv: Rewrite of GPU memory management.
2020-08-04Merge pull request #4472 from lioncash/const-getbunnei
perf_stats: Mark GetMeanFrametime() as const
2020-08-04Merge pull request #4470 from lioncash/qualifierDavid
patch_manager: Resolve -Wignored-qualifier warnings
2020-08-04Merge pull request #4481 from lioncash/cpp-depDavid
yuzu: Resolve C++20 deprecation warnings related to lambda captures
2020-08-04Merge pull request #4474 from lioncash/hle-profileDavid
profile_manager: Make use of designated initializers
2020-08-03Merge pull request #4473 from lioncash/cheat-desigbunnei
dmnt_cheat_vm: Make use of designated initializers
2020-08-03Merge pull request #4456 from Morph1984/stub-really-long-fs-funcbunnei
fsp-srv: Stub Read/WriteSaveDataFileSystemExtraDataWithMaskBySaveDataAttribute
2020-08-03aes_util: Allow SetIV to be non-allocatingLioncash
In a few places, the data to be set as the IV is already within an array. We shouldn't require this data to be heap-allocated if it doesn't need to be. This allows certain callers to reduce heap churn.
2020-08-03Merge pull request #4482 from lioncash/ldr-signbunnei
service/ldr: Resolve sign mismatch warnings
2020-08-03Merge pull request #4468 from lioncash/regcachebunnei
registered_cache: Resolve -Wmaybe_uninitialized warnings
2020-08-03Merge pull request #4471 from ogniK5377/sm-getservice-conceptbunnei
sm: Make use of IsBaseOf for GetService
2020-08-03perf_stats: Make use of designated initializersLioncash
Same behavior, but allows us to avoid a now-unnecessary zero initialization.
2020-08-03perf_stats: Mark GetMeanFrametime() as constLioncash
The general pattern is to mark mutexes as mutable when it comes to matters of constness, given the mutex acts as a transient member of a data structure.
2020-08-03yuzu: Resolve C++20 deprecation warnings related to lambda capturesLioncash
C++20 deprecates capturing the this pointer via the '=' capture. Instead, we replace it or extend the capture specification.
2020-08-03service/ldr: Resolve sign mismatch warningsLioncash
We were performing an int < size_t comparison. We can just correct the type of the induction variable.
2020-08-03Merge pull request #4467 from lioncash/modebunnei
file_sys/mode: Make use of DECLARE_ENUM_FLAG_OPERATORS with Mode
2020-08-03time_zone_binary: Make use of designated initializersLioncash
2020-08-03buffer_queue: Make use of std::nulloptLioncash
Allows compilers to eliminate unnecessary zeroing out of the optional's buffer.
2020-08-03buffer_queue: Make use of designated initializersLioncash
2020-08-03profile_manager: Make use of std::nulloptLioncash
Allows some implementations to completely avoid unnecessarily zeroing out the internal buffer.
2020-08-03profile_manager: Make use of designated initializersLioncash
More compact code.
2020-08-03dmnt_cheat_vm: Make use of designated initializersLioncash
Allows for more compact code.
2020-08-03file_sys/mode: Make use of DECLARE_ENUM_FLAG_OPERATORS with ModeLioncash
Same behavior, minus a hand-rolled operator.
2020-08-03sm: Make use of IsBaseOf for GetServiceDavid Marcec
2020-08-03patch_manager: Resolve -Wignored-qualifier warningsLioncash
Top level const will always be ignored in this case, so it can be removed.
2020-08-03registered_cache: Resolve -Wmaybe_uninitialized warningsLioncash
While we're at it, we can avoid a redundant map lookup.
2020-08-03Place in anonymous namespaceDavid Marcec
2020-08-03loader: Make IdentifyFile typesafeDavid Marcec
Relies on #4465 for concept.h Common::IsBaseOf
2020-08-03ipc: Allow all trivially copyable objects to be passed directly into ↵David
WriteBuffer (#4465) * ipc: Allow all trivially copyable objects to be passed directly into WriteBuffer With the support of C++20, we can use concepts to deduce if a type is an STL container or not. * More agressive concept for stl containers * Add -fconcepts * Move to common namespace * Add Common::IsBaseOf
2020-08-03Merge pull request #4439 from lioncash/cpuDavid
cpu_manager: Remove redundant std::function declarations
2020-07-31minor nitsMorph
2020-08-01am: Unstub SetScreenShotPermissionDavid Marcec
2020-07-30fsp-srv: Stub Read/WriteSaveDataFileSystemExtraDataWithMaskBySaveDataAttributeMorph
Stub these 2 service commands required for Animal Crossing: New Horizons Update 1.4.0
2020-07-30fs: Rename SaveDataDescriptor to SaveDataAttributeMorph
2020-07-29xts_archive: Check if the file is nullptr prior to parsingMorph
Fixes an access violation where the file no longer exists at the specified path while being parsed.
2020-07-29registered_cache: Add support for removing folder ncasMorph
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-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.