Lioncash
dd17fc6213
kernel/errors: Remove now-unused, unnecessary, error codes
Now that we've gotten the innaccurate error codes out of the way, we can
finally toss away a bunch of these, trimming down the error codes to
ones that are actually used and knocking out two TODO comments.
7 years ago
Lioncash
815d526a6a
kernel/shared_memory: Return ERR_INVALID_MEMORY_PERMISSIONS instead of ERR_INVALID_COMBINATION
This is more consistent with what the kernel does.
7 years ago
Lioncash
2438be15a9
kernel/server_port: Simplify emptiness check within ShouldWait()
7 years ago
Lioncash
1bec1b6e99
kernel/server_port: Change error case return value in Accept() to ERR_NOT_FOUND
This is what the kernel does in this instance.
7 years ago
Lioncash
1206987215
kernel/error: Remove leftover 3DS error codes
These are now entirely unused and can be removed.
7 years ago
Lioncash
fc5b2b9f14
kernel/svc: Amend returned error code for invalid priorities in CreateThread
Like with the previous change, the kernel doesn't return NOT_AUTHORIZED
here. It returns INVALID_THREAD_PRIORITY.
7 years ago
Lioncash
e71849e099
kernel/svc: Move and correct returned error code for invalid thread priorities in SetThreadPriority()
All priority checks are supposed to occur before checking the validity
of the thread handle, we're also not supposed to return
ERR_NOT_AUTHORIZED here.
7 years ago
Lioncash
ad85a2da06
kernel/error: Add error code for invalid pointers
The kernel appears to return 0xE601 for this situation. Particularly in
svcWaitSynchronization, svcReplyAndReceive, and svcGetThreadContext
7 years ago
Lioncash
7748fd0e43
kernel/error: Add error code for closed sessions
The kernel appears to return 0xF601 for this case.
7 years ago
Mat M
393d92efce
Merge pull request #1468 from DarkLordZach/profile-manager-ui
qt: Add UI to manage emulated user profiles
7 years ago
Zach Hilman
5c294cdb5d
configure_system: Clear current username before overwriting
Prevents bug where old username would remain if the new username was shorter in length.
7 years ago
bunnei
56725f2913
Merge pull request #1551 from ogniK5377/improved-svcbreak
Added break types to svcBreak
7 years ago
Zach Hilman
1977ed3d9f
profile_manager: Create save data if it doesn't exist on use
7 years ago
Zach Hilman
da04134ce6
acc: Fix account UUID duplication error
7 years ago
Zach Hilman
e1784822f2
configure_system: Clear selection after user delete
7 years ago
Zach Hilman
8bdf2fe7b7
profile_manager: Load user icons, names, and UUIDs from system save
7 years ago
Zach Hilman
fe98903bfe
acc: Load user images from config dir
7 years ago
Zach Hilman
286b3a20b8
qt: Allow user to select emu user on open save data
7 years ago
Zach Hilman
22e74d049b
qt: Add Profile Manager UI to system settings
7 years ago
Zach Hilman
89d1743f1f
am: Pass current user UUID to launch parameters
7 years ago
Zach Hilman
9fbe44d36e
profile_manager: Load users from emulator settings
7 years ago
Zach Hilman
64595bddaf
settings: Add users and current_user settings and remove username
7 years ago
David
0d7783ba66
Added Amiibo support ( #1390 )
* Fixed conflict with nfp
* Few fixups for nfc
* Conflict 2
* Fixed AttachAvailabilityChangeEvent
* Conflict 3
* Fixed byte padding
* Refactored amiibo to not reside in "System"
* Removed remaining references of nfc from system
* used enum for Nfc GetStateOld
* Added missing newline
* Moved file operations to front end
* Conflict 4
* Amiibos now use structs and added mutexes
* Removed amiibo_path
7 years ago
bunnei
4085eddac9
Merge pull request #1515 from DarkLordZach/dlc-lfs
patch_manager: Add support for LayeredFS on DLC RomFS
7 years ago
bunnei
77c463e249
Merge pull request #1542 from lioncash/project
CMakeLists: Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR
7 years ago
bunnei
8320ad0709
Merge pull request #1553 from lioncash/mem
common: Remove memory_util.h/.cpp
7 years ago
bunnei
2669367f35
Merge pull request #1540 from lioncash/handle
kernel/process: Make the handle table per-process
7 years ago
Lioncash
72ed5d12a7
CMakeLists: Remove EMU_ARCH_BITS definition
This was only ever used by the now-removed memory_util functions. Also,
given we don't plan to support 32-bit architectures, this is just a
leftover from citra at this point.
7 years ago
Lioncash
443b1a6341
common: Remove memory_util.cpp/.h
Everything from here is completely unused and also written with the
notion of supporting 32-bit architecture variants in mind. Given the
Switch itself is on a 64-bit architecture, we won't be supporting 32-bit
architectures. If we need specific allocation functions in the future,
it's likely more worthwhile to new functions for that purpose.
7 years ago
bunnei
8072fc78ca
Merge pull request #1552 from FearlessTobi/port-4336
Port citra-emu/citra#4336 : "Only redefine some 64-bit file operation for MSVC"
7 years ago
bunnei
a12540e948
Merge pull request #1519 from ReinUsesLisp/vsetp
gl_shader_decompiler: Implement VSETP
7 years ago
bunnei
c1e228e29c
Merge pull request #1539 from lioncash/dma
maxwell_dma: Silence compilation warnings
7 years ago
bunnei
ad2c4e1b45
Merge pull request #1470 from FernandoS27/alpha_testing
Implemented Alpha Test using Shader Emulation
7 years ago
Weiyi Wang
307fb1cd3f
cmake: mingw also needs _FILE_OFFSET_BITS=64
7 years ago
Weiyi Wang
bbd5e63bdf
only redefine 64 bit file operation for MSVC
MinGW provides POSIX functions
7 years ago
David Marcec
1b21fca8d6
Added assertion failed, reworked logging levels
7 years ago
ReinUsesLisp
3c72944105
gl_shader_decompiler: Implement VSETP
7 years ago
ReinUsesLisp
95ebbee064
gl_shader_decompiler: Abstract VMAD into a video subset
7 years ago
David Marcec
8363276d6e
Added break types to svcBreak
There seems to be more such as type 1, and 2. Unsure what these currently are but when a game hits them we can investigate and add the rest
7 years ago
bunnei
3b07693b50
Merge pull request #1512 from ReinUsesLisp/brk
gl_shader_decompiler: Implement PBK and BRK
7 years ago
bunnei
e4463a9117
Merge pull request #1550 from FernandoS27/fmul32
Added Saturation to FMUL32I
7 years ago
bunnei
3c262c7bf4
Merge pull request #1543 from lioncash/target
CMakeLists: Use target_compile_definitions instead of add_definitions to define YUZU_ENABLE_COMPATIBILITY_REPORTING
7 years ago
bunnei
085aaeb200
Merge pull request #1537 from lioncash/shader
gl_shader_decompiler: Minor changes
7 years ago
FernandoS27
9183b82847
Added Saturation to FMUL32I
7 years ago
FernandoS27
d8a54902f0
Assert that multiple render targets are not set while alpha testing
7 years ago
bunnei
4f429abfc4
Merge pull request #1545 from DarkLordZach/psm
psm: Add psm service and stub commands 0 and 1
7 years ago
FernandoS27
f785872dd5
Use standard UBO and fix/stylize the code
7 years ago
FernandoS27
d51cdee070
Cache uniform locations and restructure the implementation
7 years ago
FernandoS27
f4c9ebb9fc
Remove SyncAlphaTest and clang format
7 years ago
FernandoS27
ceb985fcb0
Added Alpha Func
7 years ago