summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
* server_session: Provide more useful information and don't crash on bad IPC ↵Gravatar bunnei2018-08-111-0/+8
| | | | request.
* Merge pull request #970 from DarkLordZach/loader-errorsGravatar bunnei2018-08-1114-103/+219
|\ | | | | loader: Add more descriptive errors
| * loader: Add more descriptive errorsGravatar Zach Hilman2018-08-0914-103/+219
| | | | | | Full list of new errors and descriptions in core/loader/loader.h
* | video_core; Get rid of global g_toggle_framelimit_enabled variableGravatar Lioncash2018-08-102-5/+2
|/ | | | | | | | | Instead, we make a struct for renderer settings and allow the renderer to update all of these settings, getting rid of the need for global-scoped variables. This also uncovered a few indirect inclusions for certain headers, which this commit also fixes.
* Merge pull request #997 from lioncash/const-funcGravatar bunnei2018-08-094-4/+4
|\ | | | | core: Make function reference parameters const where applicable
| * buffer_queue: Make reference parameter of SetPreallocatedBuffer constGravatar Lioncash2018-08-092-2/+2
| | | | | | | | | | | | | | | | This is simply copied by value, so there's no need to make it a modifiable reference. While we're at it, make the names of the parameters match its definition.
| * hle_ipc: Make WriteToOutgoingCommandBuffer()'s reference parameter constGravatar Lioncash2018-08-092-2/+2
| | | | | | | | | | This function doesn't modify anything within the reference Thread instance.
* | Merge pull request #990 from lioncash/entryGravatar bunnei2018-08-092-9/+12
|\ \ | | | | | | fsp_srv: Emplace entries first when building index instead of emplacing last
| * | fsp_srv: Use std::string_view's copy() function instead of strncpy()Gravatar Lioncash2018-08-082-8/+10
| | | | | | | | | | | | | | | | | | Given elements inserted into a vector are zeroed out, we can just copy MAX_LEN - 1 elements and the data will already be properly null terminated.
| * | fsp_srv: Emplace entries first when building index instead of emplacing lastGravatar Lioncash2018-08-081-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current way were doing it would require copying a 768 character buffer (part of the Entry struct) to the new element in the vector. Given it's a plain array, std::move won't eliminate that. Instead, we can emplace an instance directly into the destination buffer and then fill it out, avoiding the need to perform any unnecessary copies. Given this is done in a loop, we can request the destination to allocate all of the necessary memory ahead of time, avoiding the need to potentially keep reallocating over and over on every few insertions into the vector.
* | | Merge pull request #897 from DarkLordZach/vfs-accuracy-2Gravatar bunnei2018-08-0913-113/+560
|\ \ \ | |_|/ |/| | vfs: Add VfsFilesystem and fix RealVfs* implementations
| * | vfs: Fix documentationGravatar Zach Hilman2018-08-081-2/+2
| | |
| * | vfs: Fix typo in VfsFilesystem docsGravatar Zach Hilman2018-08-081-1/+1
| | |
| * | file_util: Use enum instead of bool for specifing path behaviorGravatar Zach Hilman2018-08-081-17/+27
| | |
| * | loader: Remove unused IdentifyFile overloadGravatar Zach Hilman2018-08-082-12/+0
| | |
| * | vfs: Use RealVfsFilesystem for fs-operations in RealVfsDirectoryGravatar Zach Hilman2018-08-081-2/+10
| | |
| * | file_sys: Add missing include in savedata_factoryGravatar Zach Hilman2018-08-081-0/+1
| | |
| * | core: Port core to VfsFilesystem for file accessGravatar Zach Hilman2018-08-086-13/+34
| | |
| * | vfs: Add unreachable assert to file permissions converterGravatar Zach Hilman2018-08-081-1/+3
| | |
| * | vfs: Add RealVfsFilesystem implementationGravatar Zach Hilman2018-08-082-81/+290
| | |
| * | vfs: Add VfsFilesystem interface and default implementationGravatar Zach Hilman2018-08-082-3/+211
| | |
| * | filesystem: Remove unnecessary if conditionsGravatar Zach Hilman2018-08-081-1/+1
| | |
* | | Merge pull request #986 from mailwl/acc-loadimageGravatar bunnei2018-08-081-1/+22
|\ \ \ | |/ / |/| | Service/Account: stub LoadImage function
| * | Service/Account: stub LoadImage functionGravatar mailwl2018-08-081-1/+22
| | |
* | | Merge pull request #978 from bunnei/fixioctlGravatar bunnei2018-08-081-1/+1
|\ \ \ | | | | | | | | nvhost_gpu: Don't over copy IoctlSubmitGpfifo.
| * | | nvhost_gpu: Don't over copy IoctlSubmitGpfifo.Gravatar bunnei2018-08-081-1/+1
| | | |
* | | | Merge pull request #975 from bunnei/am-stubGravatar bunnei2018-08-082-1/+9
|\ \ \ \ | |_|_|/ |/| | | am: Stub SetScreenShotImageOrientation.
| * | | am: Stub SetScreenShotImageOrientation.Gravatar bunnei2018-08-082-1/+9
| |/ / | | | | | | | | | - Used by Super Mario Odyssey.
* | | Merge pull request #850 from DarkLordZach/icon-metaGravatar bunnei2018-08-0812-8/+128
|\ \ \ | | | | | | | | Add Icons and Metadata Support
| * | | loader: Add icon and title support to XCIGravatar Zach Hilman2018-08-066-3/+43
| | | |
| * | | Use const where applicableGravatar Zach Hilman2018-08-062-2/+2
| | | |
| * | | Avoid parsing RomFS to directory in NCAGravatar Zach Hilman2018-08-067-6/+86
| | | |
* | | | Merge pull request #958 from lioncash/nv-globalGravatar bunnei2018-08-085-11/+22
|\ \ \ \ | |_|_|/ |/| | | nvdrv: Get rid of global std::weak_ptr
| * | | nvdrv: Get rid of global std::weak_ptrGravatar Lioncash2018-08-075-11/+22
| | |/ | |/| | | | | | | | | | Rather than use global state, we can simply pass the instance into the NVFlinger instance directly.
* | | Merge pull request #965 from lioncash/unused-filesGravatar bunnei2018-08-083-126/+0
|\ \ \ | | | | | | | | hle: Remove unused romfs.cpp/.h
| * | | hle: Remove unused romfs.cpp/.hGravatar Lioncash2018-08-073-126/+0
| |/ / | | | | | | | | | These files are no longer used, so we can get rid of them.
* | | Merge pull request #974 from lioncash/accGravatar bunnei2018-08-082-2/+2
|\ \ \ | | | | | | | | acc: Add missing function table entries for GetUserCount
| * | | acc: Add missing function table entries for GetUserCountGravatar Lioncash2018-08-072-2/+2
| | | | | | | | | | | | | | | | | | | | Given this is stubbed within the common module in 5ac7b84, it should be added to the other relevant tables as well.
* | | | hid: fix IsSixAxisSensorAtRest() responseGravatar mailwl2018-08-081-1/+1
|/ / /
* / / acc: Stub GetUserCount. (#973)Gravatar bunnei2018-08-073-1/+9
|/ / | | | | - Used by Pokken Tournament DX.
* | Merge pull request #920 from DarkLordZach/titlekeyGravatar bunnei2018-08-072-7/+39
|\ \ | | | | | | content_archive: Add support for titlekey cryptography
| * | content_archive: Add support for titlekey cryptographyGravatar Zach Hilman2018-08-042-7/+39
| | |
* | | Merge pull request #957 from lioncash/eventGravatar bunnei2018-08-071-1/+1
|\ \ \ | | | | | | | | nvflinger: Correct typo in name of composition event
| * | | nvflinger: Correct typo in name of composition eventGravatar Lioncash2018-08-071-1/+1
| | |/ | |/|
* | | Merge pull request #954 from lioncash/hidGravatar bunnei2018-08-071-0/+1
|\ \ \ | | | | | | | | services/hid: Add ActivateNpadWithRevision() to the hid function info array
| * | | services/hid: Add ActivateNpadWithRevision() to the hid function info arrayGravatar Lioncash2018-08-071-0/+1
| |/ / | | | | | | | | | Updated based off the information on Switch Brew.
* | | Merge pull request #960 from lioncash/apmGravatar bunnei2018-08-073-0/+34
|\ \ \ | | | | | | | | service/apm: Add the apm:sys service
| * | | service/apm: Add the apm:sys serviceGravatar Lioncash2018-08-073-0/+34
| |/ / | | | | | | | | | | | | Adds the basic skeleton of the apm:sys service based off the information on Switch Brew.
* | | Merge pull request #955 from lioncash/viewGravatar bunnei2018-08-072-3/+10
|\ \ \ | | | | | | | | nvflinger: Use std::string_view in OpenDisplay()
| * | | nvflinger: Get rid of indirect inclusionsGravatar Lioncash2018-08-072-1/+7
| | | |