aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle
AgeCommit message (Collapse)Author
2018-08-11server_session: Provide more useful information and don't crash on bad IPC ↵bunnei
request.
2018-08-10video_core; Get rid of global g_toggle_framelimit_enabled variableLioncash
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.
2018-08-09Merge pull request #997 from lioncash/const-funcbunnei
core: Make function reference parameters const where applicable
2018-08-09Merge pull request #990 from lioncash/entrybunnei
fsp_srv: Emplace entries first when building index instead of emplacing last
2018-08-09Merge pull request #897 from DarkLordZach/vfs-accuracy-2bunnei
vfs: Add VfsFilesystem and fix RealVfs* implementations
2018-08-09buffer_queue: Make reference parameter of SetPreallocatedBuffer constLioncash
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.
2018-08-09hle_ipc: Make WriteToOutgoingCommandBuffer()'s reference parameter constLioncash
This function doesn't modify anything within the reference Thread instance.
2018-08-08Merge pull request #986 from mailwl/acc-loadimagebunnei
Service/Account: stub LoadImage function
2018-08-08core: Port core to VfsFilesystem for file accessZach Hilman
2018-08-08filesystem: Remove unnecessary if conditionsZach Hilman
2018-08-08Merge pull request #978 from bunnei/fixioctlbunnei
nvhost_gpu: Don't over copy IoctlSubmitGpfifo.
2018-08-08fsp_srv: Use std::string_view's copy() function instead of strncpy()Lioncash
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.
2018-08-08fsp_srv: Emplace entries first when building index instead of emplacing lastLioncash
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.
2018-08-08Merge pull request #975 from bunnei/am-stubbunnei
am: Stub SetScreenShotImageOrientation.
2018-08-08Merge pull request #958 from lioncash/nv-globalbunnei
nvdrv: Get rid of global std::weak_ptr
2018-08-08Service/Account: stub LoadImage functionmailwl
2018-08-08Merge pull request #965 from lioncash/unused-filesbunnei
hle: Remove unused romfs.cpp/.h
2018-08-08Merge pull request #974 from lioncash/accbunnei
acc: Add missing function table entries for GetUserCount
2018-08-08hid: fix IsSixAxisSensorAtRest() responsemailwl
2018-08-08nvhost_gpu: Don't over copy IoctlSubmitGpfifo.bunnei
2018-08-08am: Stub SetScreenShotImageOrientation.bunnei
- Used by Super Mario Odyssey.
2018-08-07acc: Add missing function table entries for GetUserCountLioncash
Given this is stubbed within the common module in 5ac7b84, it should be added to the other relevant tables as well.
2018-08-07acc: Stub GetUserCount. (#973)bunnei
- Used by Pokken Tournament DX.
2018-08-07nvdrv: Get rid of global std::weak_ptrLioncash
Rather than use global state, we can simply pass the instance into the NVFlinger instance directly.
2018-08-07hle: Remove unused romfs.cpp/.hLioncash
These files are no longer used, so we can get rid of them.
2018-08-07Merge pull request #957 from lioncash/eventbunnei
nvflinger: Correct typo in name of composition event
2018-08-07Merge pull request #954 from lioncash/hidbunnei
services/hid: Add ActivateNpadWithRevision() to the hid function info array
2018-08-07Merge pull request #960 from lioncash/apmbunnei
service/apm: Add the apm:sys service
2018-08-07Merge pull request #955 from lioncash/viewbunnei
nvflinger: Use std::string_view in OpenDisplay()
2018-08-07Merge pull request #953 from lioncash/timebunnei
service/time: Amend command IDs of ToPosixTime() and ToPosixTimeWithMyRule()
2018-08-07Merge pull request #956 from lioncash/nvbunnei
nvdrv: Get rid of indirect inclusions
2018-08-07Merge pull request #952 from lioncash/usbbunnei
service: Add usb services
2018-08-07service/apm: Add the apm:sys serviceLioncash
Adds the basic skeleton of the apm:sys service based off the information on Switch Brew.
2018-08-07nvflinger: Correct typo in name of composition eventLioncash
2018-08-07nvdrv: Make Ioctl()'s definition match its prototypeLioncash
The only reason this wasn't a compilation error is because we use little-endian systems.
2018-08-07nvdrv: Get rid of indirect inclusionsLioncash
2018-08-07nvflinger: Get rid of indirect inclusionsLioncash
2018-08-07nvflinger: Use std::string_view in OpenDisplay()Lioncash
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.
2018-08-07services/hid: Add ActivateNpadWithRevision() to the hid function info arrayLioncash
Updated based off the information on Switch Brew.
2018-08-07service/time: Amend command IDs of ToPosixTime() and ToPosixTimeWithMyRule()Lioncash
Updates the ID of these based off the information on Switch Brew.
2018-08-07service: Add usb servicesLioncash
Adds basic skeleton for the usb services based off the information provided by Switch Brew.
2018-08-06client_port: Make all data members privateLioncash
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.
2018-08-06kernel/event: Make data members privateLioncash
Instead we can simply provide accessors to the required data instead of giving external read/write access to the variables directly.
2018-08-06Service/Audio: audout_a.cpp: remove pragma oncemailwl
2018-08-05Merge pull request #930 from lioncash/threadbunnei
address_arbiter: Return by value from GetThreadsWaitingOnAddress()
2018-08-05Merge pull request #925 from bunnei/audrenbunnei
Implement audren audio output
2018-08-05Merge pull request #912 from lioncash/global-varbunnei
video_core: Eliminate the g_renderer global variable
2018-08-05address_arbiter: Return by value from GetThreadsWaitingOnAddress()Lioncash
In all cases the vector being supplied is empty, so we can just return by value in these instances.
2018-08-04audio_core: Implement audren_u audio playback.bunnei
2018-08-04Merge pull request #924 from lioncash/arpbunnei
service: Add arp services