summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-10-25ips_layer: Use rle_size instead of data_size in RLE patch applicationZach Hilman
Prevents a potential bug when using RLE records in an IPS patch.
2018-10-25Merge pull request #1579 from lioncash/usbbunnei
service/usb: Update service function tables
2018-10-25Merge pull request #1576 from lioncash/acc-warnbunnei
service/acc: Silence compiler truncation warnings
2018-10-25Merge pull request #1577 from lioncash/errbunnei
kernel/error: Amend error return code values
2018-10-25Merge pull request #1524 from FernandoS27/layers-fixbunnei
rasterizer: Fix Layered Textures Loading and Cubemaps
2018-10-24Merge pull request #1575 from lioncash/qstringbunnei
game_list_worker: Use QString's formatting instead of fmt in FormatPatchNameVersions()
2018-10-24service/usb: Update service function tablesLioncash
Updated based off the information provided by Hexkyz on Switchbrew.
2018-10-24service/acc: Move fallback image to file scopeLioncash
This is just flat data, so it doesn't really need to be in the function itself. This also allows deduplicating the constant for the backup size in GetImageSize().
2018-10-24service/acc: Silence compiler warningsLioncash
Silences compiler warnings related to truncation. This also introduces a small helper function to perform the clamping of the image size.
2018-10-24service/acc: Early return in failure case in LoadImage()Lioncash
Allows unindenting the other branch's code.
2018-10-24Merge pull request #1570 from lioncash/optionalbunnei
profile_manager: Use std::optional instead of boost::optional
2018-10-24Merge pull request #1558 from lioncash/ptrbunnei
yuzu/configuration/config: Use a std::unique_ptr for qt_config instead of a raw pointer
2018-10-24Merge pull request #1565 from lioncash/audiobunnei
time_stretch: Remove unused m_channel_count member variable
2018-10-24Merge pull request #1554 from FernandoS27/pointsizebunnei
Implement PointSize Output Attribute.
2018-10-24Merge pull request #1571 from lioncash/debug-translatebunnei
graphic_breakpoints: Correct translation of strings in BreakpointModel's data() function
2018-10-24Merge pull request #1564 from lioncash/npadbunnei
npad: Remove unused controller variable from OnInit()
2018-10-24Merge pull request #1568 from lioncash/dirbunnei
game_list: Use QFileInfo instead of common's file functions
2018-10-24Merge pull request #1567 from lioncash/translatebunnei
game_list: Make game list column headers translatable
2018-10-24Merge pull request #1566 from lioncash/strbunnei
bootmanager: Use QStringLiteral instead of std::string to represent the window title.
2018-10-24Merge pull request #1563 from lioncash/framebunnei
perf_stats: Remove unused variable within DoFrameLimiting()
2018-10-24Merge pull request #1562 from lioncash/aocbunnei
aoc_u: Make use of previously-unused CheckAOCTitleIDMatchesBase() function
2018-10-24Merge pull request #1560 from lioncash/unusedbunnei
maxwell_3d/decoders: Remove unused variables
2018-10-24Merge pull request #1561 from lioncash/fsbunnei
file_sys: Remove unused variables
2018-10-24Merge pull request #1559 from lioncash/logbunnei
logging/backend: Add missing services to the log filters
2018-10-24kernel/errors: Remove now-unused, unnecessary, error codesLioncash
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.
2018-10-24kernel/shared_memory: Return ERR_INVALID_MEMORY_PERMISSIONS instead of ↵Lioncash
ERR_INVALID_COMBINATION This is more consistent with what the kernel does.
2018-10-24kernel/server_port: Simplify emptiness check within ShouldWait()Lioncash
2018-10-24kernel/server_port: Change error case return value in Accept() to ERR_NOT_FOUNDLioncash
This is what the kernel does in this instance.
2018-10-24kernel/error: Remove leftover 3DS error codesLioncash
These are now entirely unused and can be removed.
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-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