aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-10-24kernel/svc: Amend returned error code for invalid priorities in CreateThreadLioncash
Like with the previous change, the kernel doesn't return NOT_AUTHORIZED here. It returns INVALID_THREAD_PRIORITY.
2018-10-24kernel/svc: Move and correct returned error code for invalid thread ↵Lioncash
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.
2018-10-24kernel/error: Add error code for invalid pointersLioncash
The kernel appears to return 0xE601 for this situation. Particularly in svcWaitSynchronization, svcReplyAndReceive, and svcGetThreadContext
2018-10-24kernel/error: Add error code for closed sessionsLioncash
The kernel appears to return 0xF601 for this case.
2018-10-24game_list_worker: Use QString's formatting instead of fmt in ↵Lioncash
FormatPatchNameVersions() Using fmt here requires unnecessary string conversions back into QString. Instead, we can just use QString's formatting and get the end result of the formatting operation in the proper type.
2018-10-24profile_manager: Use std::optional instead of boost::optionalLioncash
Now that we can actually use std::optional on macOS, we don't need to continue using boost::optional here.
2018-10-24graphic_breakpoints: Correct translation of strings in BreakpointModel's ↵Lioncash
data() function tr() will not function properly on static/global data like this, as the object is only ever constructed once, so the strings won't translate if the language is changed without restarting the program, which is undesirable. Instead we can just turn the map into a plain old function that maps the values to their equivalent strings. This is also lessens the memory allocated, since it's only allocating memory for the strings themselves, and not an encompassing map as well.
2018-10-24yuzu/main: Notify user of loading errors with Amiibo dataLioncash
We shouldn't silently continue if loading failed, since the general assumption is that no messages showing up implicitly indicates success.
2018-10-24Merge pull request #1468 from DarkLordZach/profile-manager-uiMat M
qt: Add UI to manage emulated user profiles
2018-10-24configure_system: Clear current username before overwritingZach Hilman
Prevents bug where old username would remain if the new username was shorter in length.
2018-10-24game_list: Use QFileInfo instead of common's file functionsLioncash
We can just use the facilities that Qt provides instead of pulling in stuff from common. While we're at it, we can also simplify the nearby logging statement's argument by just calling .toStdString()
2018-10-24game_list: Make game list column headers translatableLioncash
These are user-facing strings, so they should be marked as translatable
2018-10-24bootmanager: Use QStringLiteral instead of std::string to represent the ↵Lioncash
window title This gets rid of an unnecessary type conversion. We can just use the regular QStringLiteral to already format the string as the type setWindowTitle accepts instead of converting from a std::string instance.
2018-10-24time_stretch: Remove unused m_channel_count member variableLioncash
This is only stored to, but never read from.
2018-10-24npad: Remove unused controller variable from OnInit()Lioncash
This also gets rid of variable shadowing related to the lambda parameter a little bit below this code as well.
2018-10-24perf_stats: Remove unused variable within DoFrameLimiting()Lioncash
This hasn't been used since ba8ff096fdc9f7ab101851c4cd06c3244a7d84c3
2018-10-24yuzu/configuration/config: Use a std::unique_ptr for qt_config instead of a ↵Lioncash
raw pointer Same behavior, less code.
2018-10-24aoc_u: Make use of previously-unused CheckAOCTitleIDMatchesBase() functionLioncash
We can just call the function instead of duplicating the code here. This also prevents an unused function warning. We also don't need to take the lambda capture by reference. It's just a u64 value, so by value is fine here.
2018-10-24vfs: Handle failure of file reading within VfsRawCopy()Lioncash
Also gets rid of an unused variable.
2018-10-24key_manager: Remove unused variable in DeriveBase()Lioncash
2018-10-23decoders: Remove unused variable within SwizzledData()Lioncash
2018-10-23maxwell_3d: Remove unused variable within ProcessQueryGet()Lioncash
2018-10-23logging/backend: Add missing services to the log filtersLioncash
Just a few overlooked services.
2018-10-23yuzu/configuration/config: Reorganize member variable and function layoutLioncash
Makes the class layout consistent with the others.
2018-10-23Merge pull request #1551 from ogniK5377/improved-svcbreakbunnei
Added break types to svcBreak
2018-10-23profile_manager: Create save data if it doesn't exist on useZach Hilman
2018-10-23acc: Fix account UUID duplication errorZach Hilman
2018-10-23configure_system: Clear selection after user deleteZach Hilman
2018-10-23profile_manager: Load user icons, names, and UUIDs from system saveZach Hilman
2018-10-23acc: Load user images from config dirZach Hilman
2018-10-23qt: Allow user to select emu user on open save dataZach Hilman
2018-10-23qt: Add Profile Manager UI to system settingsZach Hilman
2018-10-23am: Pass current user UUID to launch parametersZach Hilman
2018-10-23profile_manager: Load users from emulator settingsZach Hilman
2018-10-23settings: Add users and current_user settings and remove usernameZach Hilman
2018-10-23Added Amiibo support (#1390)David
* 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
2018-10-23Merge pull request #1515 from DarkLordZach/dlc-lfsbunnei
patch_manager: Add support for LayeredFS on DLC RomFS
2018-10-23Merge pull request #1542 from lioncash/projectbunnei
CMakeLists: Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR
2018-10-23Merge pull request #1553 from lioncash/membunnei
common: Remove memory_util.h/.cpp
2018-10-23Merge pull request #1540 from lioncash/handlebunnei
kernel/process: Make the handle table per-process
2018-10-23Implement PointSizeFernandoS27
2018-10-23Fixed Layered Textures Loading and CubemapsFernandoS27
2018-10-23common: Remove memory_util.cpp/.hLioncash
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.
2018-10-23Merge pull request #1552 from FearlessTobi/port-4336bunnei
Port citra-emu/citra#4336: "Only redefine some 64-bit file operation for MSVC"
2018-10-23Merge pull request #1519 from ReinUsesLisp/vsetpbunnei
gl_shader_decompiler: Implement VSETP
2018-10-23Merge pull request #1539 from lioncash/dmabunnei
maxwell_dma: Silence compilation warnings
2018-10-23Merge pull request #1470 from FernandoS27/alpha_testingbunnei
Implemented Alpha Test using Shader Emulation
2018-10-23only redefine 64 bit file operation for MSVCWeiyi Wang
MinGW provides POSIX functions
2018-10-23Added assertion failed, reworked logging levelsDavid Marcec
2018-10-23gl_shader_decompiler: Implement VSETPReinUsesLisp