summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ldr: Partially implement LoadNro.Gravatar bunnei2018-10-251-3/+49
| | | | - This is an incomplete implementation. It was tested with Super Mario Party.
* process: LoadModule should clear JIT instruction cache.Gravatar bunnei2018-10-251-0/+6
|
* Kernel/Memory: Added a function to first a suitable guest address at which ↵Gravatar bunnei2018-10-252-0/+28
| | | | to allocate a region of a given size.
* nro: Make LoadNro method accessible outside of apploader code.Gravatar bunnei2018-10-252-6/+18
|
* ips_layer: Use rle_size instead of data_size in RLE patch applicationGravatar Zach Hilman2018-10-251-1/+1
| | | | Prevents a potential bug when using RLE records in an IPS patch.
* Merge pull request #1579 from lioncash/usbGravatar bunnei2018-10-251-21/+22
|\ | | | | service/usb: Update service function tables
| * service/usb: Update service function tablesGravatar Lioncash2018-10-241-21/+22
| | | | | | | | Updated based off the information provided by Hexkyz on Switchbrew.
* | Merge pull request #1576 from lioncash/acc-warnGravatar bunnei2018-10-251-25/+27
|\ \ | | | | | | service/acc: Silence compiler truncation warnings
| * | service/acc: Move fallback image to file scopeGravatar Lioncash2018-10-241-14/+13
| | | | | | | | | | | | | | | | | | 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().
| * | service/acc: Silence compiler warningsGravatar Lioncash2018-10-241-5/+8
| | | | | | | | | | | | | | | Silences compiler warnings related to truncation. This also introduces a small helper function to perform the clamping of the image size.
| * | service/acc: Early return in failure case in LoadImage()Gravatar Lioncash2018-10-241-8/+8
| |/ | | | | | | Allows unindenting the other branch's code.
* | Merge pull request #1577 from lioncash/errGravatar bunnei2018-10-255-34/+16
|\ \ | | | | | | kernel/error: Amend error return code values
| * | kernel/errors: Remove now-unused, unnecessary, error codesGravatar Lioncash2018-10-242-13/+0
| | | | | | | | | | | | | | | | | | 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.
| * | kernel/shared_memory: Return ERR_INVALID_MEMORY_PERMISSIONS instead of ↵Gravatar Lioncash2018-10-241-4/+3
| | | | | | | | | | | | | | | | | | ERR_INVALID_COMBINATION This is more consistent with what the kernel does.
| * | kernel/server_port: Simplify emptiness check within ShouldWait()Gravatar Lioncash2018-10-241-1/+1
| | |
| * | kernel/server_port: Change error case return value in Accept() to ERR_NOT_FOUNDGravatar Lioncash2018-10-242-3/+1
| | | | | | | | | | | | This is what the kernel does in this instance.
| * | kernel/error: Remove leftover 3DS error codesGravatar Lioncash2018-10-241-5/+0
| | | | | | | | | | | | These are now entirely unused and can be removed.
| * | kernel/svc: Amend returned error code for invalid priorities in CreateThreadGravatar Lioncash2018-10-241-1/+1
| | | | | | | | | | | | | | | Like with the previous change, the kernel doesn't return NOT_AUTHORIZED here. It returns INVALID_THREAD_PRIORITY.
| * | kernel/svc: Move and correct returned error code for invalid thread ↵Gravatar Lioncash2018-10-241-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | kernel/error: Add error code for invalid pointersGravatar Lioncash2018-10-241-1/+1
| | | | | | | | | | | | | | | The kernel appears to return 0xE601 for this situation. Particularly in svcWaitSynchronization, svcReplyAndReceive, and svcGetThreadContext
| * | kernel/error: Add error code for closed sessionsGravatar Lioncash2018-10-241-1/+3
| |/ | | | | | | The kernel appears to return 0xF601 for this case.
* | Merge pull request #1524 from FernandoS27/layers-fixGravatar bunnei2018-10-253-72/+109
|\ \ | | | | | | rasterizer: Fix Layered Textures Loading and Cubemaps
| * | Fixed Layered Textures Loading and CubemapsGravatar FernandoS272018-10-233-72/+109
| | |
* | | Merge pull request #1575 from lioncash/qstringGravatar bunnei2018-10-241-4/+9
|\ \ \ | | | | | | | | game_list_worker: Use QString's formatting instead of fmt in FormatPatchNameVersions()
| * | | game_list_worker: Use QString's formatting instead of fmt in ↵Gravatar Lioncash2018-10-241-4/+9
| | |/ | |/| | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #1570 from lioncash/optionalGravatar bunnei2018-10-245-48/+53
|\ \ \ | | | | | | | | profile_manager: Use std::optional instead of boost::optional
| * | | profile_manager: Use std::optional instead of boost::optionalGravatar Lioncash2018-10-245-48/+53
| |/ / | | | | | | | | | | | | Now that we can actually use std::optional on macOS, we don't need to continue using boost::optional here.
* | | Merge pull request #1558 from lioncash/ptrGravatar bunnei2018-10-242-13/+14
|\ \ \ | | | | | | | | yuzu/configuration/config: Use a std::unique_ptr for qt_config instead of a raw pointer
| * | | yuzu/configuration/config: Use a std::unique_ptr for qt_config instead of a ↵Gravatar Lioncash2018-10-242-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | raw pointer Same behavior, less code.
| * | | yuzu/configuration/config: Reorganize member variable and function layoutGravatar Lioncash2018-10-231-6/+7
| | | | | | | | | | | | | | | | Makes the class layout consistent with the others.
* | | | Merge pull request #1565 from lioncash/audioGravatar bunnei2018-10-242-3/+1
|\ \ \ \ | | | | | | | | | | time_stretch: Remove unused m_channel_count member variable
| * | | | time_stretch: Remove unused m_channel_count member variableGravatar Lioncash2018-10-242-3/+1
| |/ / / | | | | | | | | | | | | This is only stored to, but never read from.
* | | | Merge pull request #1554 from FernandoS27/pointsizeGravatar bunnei2018-10-243-5/+28
|\ \ \ \ | | | | | | | | | | Implement PointSize Output Attribute.
| * | | | Implement PointSizeGravatar FernandoS272018-10-233-5/+28
| | | | |
* | | | | Merge pull request #1571 from lioncash/debug-translateGravatar bunnei2018-10-242-15/+20
|\ \ \ \ \ | | | | | | | | | | | | graphic_breakpoints: Correct translation of strings in BreakpointModel's data() function
| * | | | | graphic_breakpoints: Correct translation of strings in BreakpointModel's ↵Gravatar Lioncash2018-10-242-15/+20
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Merge pull request #1564 from lioncash/npadGravatar bunnei2018-10-241-2/+3
|\ \ \ \ \ | | | | | | | | | | | | npad: Remove unused controller variable from OnInit()
| * | | | | npad: Remove unused controller variable from OnInit()Gravatar Lioncash2018-10-241-2/+3
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | This also gets rid of variable shadowing related to the lambda parameter a little bit below this code as well.
* | | | | Merge pull request #1568 from lioncash/dirGravatar bunnei2018-10-241-4/+3
|\ \ \ \ \ | | | | | | | | | | | | game_list: Use QFileInfo instead of common's file functions
| * | | | | game_list: Use QFileInfo instead of common's file functionsGravatar Lioncash2018-10-241-4/+3
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | 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()
* | | | | Merge pull request #1567 from lioncash/translateGravatar bunnei2018-10-241-5/+5
|\ \ \ \ \ | | | | | | | | | | | | game_list: Make game list column headers translatable
| * | | | | game_list: Make game list column headers translatableGravatar Lioncash2018-10-241-5/+5
| |/ / / / | | | | | | | | | | | | | | | These are user-facing strings, so they should be marked as translatable
* | | | | Merge pull request #1566 from lioncash/strGravatar bunnei2018-10-241-4/+2
|\ \ \ \ \ | | | | | | | | | | | | bootmanager: Use QStringLiteral instead of std::string to represent the window title.
| * | | | | bootmanager: Use QStringLiteral instead of std::string to represent the ↵Gravatar Lioncash2018-10-241-4/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Merge pull request #1563 from lioncash/frameGravatar bunnei2018-10-241-4/+0
|\ \ \ \ \ | | | | | | | | | | | | perf_stats: Remove unused variable within DoFrameLimiting()
| * | | | | perf_stats: Remove unused variable within DoFrameLimiting()Gravatar Lioncash2018-10-241-4/+0
| | |/ / / | |/| | | | | | | | | | | | | This hasn't been used since ba8ff096fdc9f7ab101851c4cd06c3244a7d84c3
* | | | | Merge pull request #1562 from lioncash/aocGravatar bunnei2018-10-241-3/+3
|\ \ \ \ \ | | | | | | | | | | | | aoc_u: Make use of previously-unused CheckAOCTitleIDMatchesBase() function
| * | | | | aoc_u: Make use of previously-unused CheckAOCTitleIDMatchesBase() functionGravatar Lioncash2018-10-241-3/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Merge pull request #1560 from lioncash/unusedGravatar bunnei2018-10-242-2/+0
|\ \ \ \ \ | | | | | | | | | | | | maxwell_3d/decoders: Remove unused variables
| * | | | | decoders: Remove unused variable within SwizzledData()Gravatar Lioncash2018-10-231-1/+0
| | | | | |