Lioncash
5430961f0d
profile_manager: Make use of std::nullopt
Allows some implementations to completely avoid unnecessarily zeroing
out the internal buffer.
5 years ago
Lioncash
1f909d614c
profile_manager: Make use of designated initializers
More compact code.
5 years ago
Lioncash
743ed2b727
dmnt_cheat_vm: Make use of designated initializers
Allows for more compact code.
5 years ago
Lioncash
2fa750dd6b
file_sys/mode: Make use of DECLARE_ENUM_FLAG_OPERATORS with Mode
Same behavior, minus a hand-rolled operator.
5 years ago
David Marcec
4d0ba04c73
sm: Make use of IsBaseOf for GetService
5 years ago
Lioncash
39ac833461
patch_manager: Resolve -Wignored-qualifier warnings
Top level const will always be ignored in this case, so it can be
removed.
5 years ago
Lioncash
872200c7a9
registered_cache: Resolve -Wmaybe_uninitialized warnings
While we're at it, we can avoid a redundant map lookup.
5 years ago
David Marcec
b20f4de430
Place in anonymous namespace
5 years ago
David Marcec
46d3c84839
loader: Make IdentifyFile typesafe
Relies on #4465 for concept.h Common::IsBaseOf
5 years ago
David
ecaac59acd
ipc: Allow all trivially copyable objects to be passed directly into 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
5 years ago
David
6ecae2e559
Merge pull request #4263 from lat9nq/fix-screencaps-2
screenshots: Option to save screenshots immediately in a specified directory + Linux workaround
5 years ago
David
6b05ff83bb
Merge pull request #4439 from lioncash/cpu
cpu_manager: Remove redundant std::function declarations
5 years ago
David
1e44d65d1e
Merge pull request #4438 from lioncash/localizing
yuzu/main: Remove redundant usages of QStringLiteral("")
5 years ago
Lioncash
ebfc3dfc52
ci: Make use of clang-format 10.0
10.0 seems to play nicer with C++ attributes compared to clang-format
6.0.
5 years ago
David Marcec
0cd3851934
mix buffer depopping
5 years ago
Morph
f6fa311cf9
minor nits
5 years ago
David Marcec
542ea8c6e8
am: Unstub SetScreenShotPermission
5 years ago
Morph
488cacca52
fsp-srv: Stub Read/WriteSaveDataFileSystemExtraDataWithMaskBySaveDataAttribute
Stub these 2 service commands required for Animal Crossing: New Horizons Update 1.4.0
6 years ago
Morph
06adef078c
fs: Rename SaveDataDescriptor to SaveDataAttribute
6 years ago
David
4d4f03d11c
Merge pull request #4392 from lioncash/guard
compatible_formats: Add missing header guard
6 years ago
David Marcec
6368b02526
adpcm streaming
6 years ago
bunnei
2441e2670e
Merge pull request #4396 from lioncash/comma
surface_params: Replace questionable usages of the comma operator with semicolons
6 years ago
bunnei
b89930a836
Merge pull request #4372 from Morph1984/remove_context_menu
game_list: Add "Remove" context menu
6 years ago
Morph
9759c28518
game_list_worker: Fix game list subdirectory scanning
Oddly enough the scan that feeds the manual content provider is hardcoded to scan 2 nested directories deep.
This effectively rendered the scan subdirectories setting useless as the manual content provider cannot find any games located more than 2 nested directories deep.
Furthermore, this behavior causes game files to be picked up by the manual content provider even if scan subdirectories is disabled.
FIx this by utilizing the behavior described when populating the game list for populating the content provider.
6 years ago
Morph
eafd4145ac
main: Add support for removing SDMC installed titles
6 years ago
Morph
4a6d4ab839
xts_archive: Check if the file is nullptr prior to parsing
Fixes an access violation where the file no longer exists at the specified path while being parsed.
6 years ago
Morph
0724e89467
registered_cache: Add support for removing folder ncas
6 years ago
Morph
d15eb82edc
game_list: Limit context menu options for homebrew
Hides the following options when the title id is 0:
- Open Save Location
- Open Mod Data Location
- Open Transferable Shader Cache
- All removal options except Remove Custom Configuration
6 years ago
Morph
81e3d7e924
main: Remove assert for opening savedata when program_id = 0
6 years ago
Morph
092dda59cb
main: Silence [[fallthrough]] warning
6 years ago
Morph
0c6e683a63
main: Split removal cases into their individual functions and address feedback
6 years ago
Morph
96583b9b05
main: Connect game list remove signals to removal functions
6 years ago
Morph
c756d76945
game_list: Add "Remove" context menu
Adds the following actions:
- Remove Installed Update
- Remove All Installed DLC
- Remove Shader Cache
- Remove Custom Configuration
- Remove All Installed Contents
6 years ago
bunnei
04a8b17939
Merge pull request #4442 from lioncash/devicemem
device_memory: Remove unused system member
6 years ago
LC
a742005808
Merge pull request #4446 from Morph1984/remove-30fps-hack
configure_graphics: Remove Force 30 FPS mode
6 years ago
Morph
9fa696c0d5
configure_graphics: Remove Force 30 FPS mode
The introduction of multicore rendered this setting non-functional as timing code was changed.
This removes the setting entirely.
6 years ago
Morph
b93b5093a9
renderer_opengl: Use 1/4 of all threads for async shader compilation
6 years ago
Lioncash
32ce1467e5
common/atomic_ops: Don't cast away volatile from pointers
Preserves the volatility of the pointers being casted.
6 years ago
ReinUsesLisp
87e6485855
service/bsd: Handle Poll with no entries accurately
Testing shows that Poll called with zero entries returns -1 and signals
an errno of zero.
6 years ago
ReinUsesLisp
853ee47a15
services/bsd: Implement most of bsd:s
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.
6 years ago
ReinUsesLisp
20ac4ae8b7
service/sockets: Add worker pool abstraction
Manage worker threads with an easy to use abstraction.
We can expand this to support thread deletion in the future.
6 years ago
ReinUsesLisp
3cd68cade4
service/sockets: Add worker abstraction to execute blocking calls asynchronously
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.
6 years ago
ReinUsesLisp
8a8f687fd2
service/sockets: Add translate functions
These functions translate from Network enumerations/structures to guest
enumerations/structures and viceversa.
6 years ago
ReinUsesLisp
c2a607014a
service/sockets: Add enumerations and structures
Add guest enumerations and structures used in socket services
6 years ago
ReinUsesLisp
bd466d12be
services/nifm: Implement GetCurrentIpAddress
This is trivially implemented using the Network abstraction
- Used by ftpd
6 years ago
Lioncash
078b7446c7
device_memory: Remove unused system member
This isn't used by anything in particular, so it can be removed.
6 years ago
bunnei
194103745c
Merge pull request #4437 from lioncash/ptr
core_timing: Make use of uintptr_t to represent user_data
6 years ago
Lioncash
951d602830
CMakeLists: Update boost to 1.73
Keeps the library up to date.
6 years ago
Lioncash
67cb0370e5
CMakeLists: Update catch to 2.13
Keeps the library up to date
6 years ago
Lioncash
c923f89b87
CMakeLists: Update zstd to 1.4.5
Keeps the library version up to date.
6 years ago