summaryrefslogtreecommitdiff
path: root/src/core/hle (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1028 from ogniK5377/aoaGravatar bunnei2018-08-121-5/+26
|\ | | | | Added GetAudioRendererSampleRate, GetAudioRendererSampleCount & GetAudioRendererMixBufferCount
| * Pushed the requested sample rate instead of our fixed sample rateGravatar David Marcec2018-08-121-4/+2
| |
| * Added GetAudioRendererSampleRate, GetAudioRendererSampleCount & ↵Gravatar David Marcec2018-08-121-5/+28
| | | | | | | | | | | | GetAudioRendererMixBufferCount GetAudioRendererSampleRate is set as a "STUB" as a game could check if the sample rate it sent and the sample rate it wants don't match. Just a thought of something which could happen so keeping it as stub for the mean time
* | hid: disable clang-format around tablesGravatar Lioncash2018-08-121-4/+5
| | | | | | | | Prevents clang-format from butchering them.
* | hid: Stub DisconnectNpad()Gravatar Lioncash2018-08-121-1/+7
| | | | | | | | This is required by ARMS.
* | Stub UpdateUserPresenceGravatar David Marcec2018-08-121-1/+8
|/ | | | Needed for Retro City Rampage to go in game
* friend: Stub DeclareCloseOnlinePlaySession.Gravatar bunnei2018-08-111-1/+10
| | | | - Used by Splatoon 2.
* friend: Fix CreateFriendService to return an IFriendService interface.Gravatar bunnei2018-08-111-2/+86
|
* server_session: Provide more useful information and don't crash on bad IPC ↵Gravatar bunnei2018-08-111-0/+8
| | | | request.
* video_core; Get rid of global g_toggle_framelimit_enabled variableGravatar Lioncash2018-08-101-0/+1
| | | | | | | | | 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-091-6/+3
|\ \ | | | | | | 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-081-5/+1
| | | | | | | | | | | | | | | | | | 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-094-12/+17
|\ \ \ | |_|/ |/| | vfs: Add VfsFilesystem and fix RealVfs* implementations
| * | core: Port core to VfsFilesystem for file accessGravatar Zach Hilman2018-08-084-11/+16
| | |
| * | 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 #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-082-124/+0
|\ \ | | | | | | hle: Remove unused romfs.cpp/.h
| * | hle: Remove unused romfs.cpp/.hGravatar Lioncash2018-08-072-124/+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 #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
| | |
| * | nvflinger: Use std::string_view in OpenDisplay()Gravatar Lioncash2018-08-072-2/+3
| |/ | | | | | | | | | | We don't need to use a std::string here, given all that's done is comparing the character sequence against another. This allows passing regular const char* without needing to heap allocate.
* | Merge pull request #953 from lioncash/timeGravatar bunnei2018-08-071-2/+2
|\ \ | | | | | | service/time: Amend command IDs of ToPosixTime() and ToPosixTimeWithMyRule()
| * | service/time: Amend command IDs of ToPosixTime() and ToPosixTimeWithMyRule()Gravatar Lioncash2018-08-071-2/+2
| |/ | | | | | | Updates the ID of these based off the information on Switch Brew.
* | Merge pull request #956 from lioncash/nvGravatar bunnei2018-08-0713-16/+18
|\ \ | | | | | | nvdrv: Get rid of indirect inclusions
| * | nvdrv: Make Ioctl()'s definition match its prototypeGravatar Lioncash2018-08-071-1/+1
| | | | | | | | | | | | | | | The only reason this wasn't a compilation error is because we use little-endian systems.
| * | nvdrv: Get rid of indirect inclusionsGravatar Lioncash2018-08-0712-15/+17
| |/
* | Merge pull request #952 from lioncash/usbGravatar bunnei2018-08-073-0/+255
|\ \ | | | | | | service: Add usb services
| * | service: Add usb servicesGravatar Lioncash2018-08-073-0/+255
| |/ | | | | | | Adds basic skeleton for the usb services based off the information provided by Switch Brew.
* / client_port: Make all data members privateGravatar Lioncash2018-08-063-7/+21
|/ | | | | | | | These members don't need to be entirely exposed, we can instead expose an API to operate on them without directly needing to mutate them We can also guard against overflow/API misuse this way as well, given active_sessions is an unsigned value.