David Marcec
1417849a2b
acc: Return a unique value per account for GetAccountId
6 years ago
David Marcec
1fbc341aba
acc: Fix InitializeApplicationInfo
We're not suppose to pop a u64, should just read the sent pid and check that
6 years ago
David Marcec
b4dbf1b9c7
Don't fail silently for vi, sm, set and ns services
6 years ago
David Marcec
fdbeb90bd0
Updated comment to reflect ListQualifiedUsers better
6 years ago
David Marcec
0f6064e5c9
style: Change AMs & Glues error codes to be dec instead of hex
Consistency for the rest of the error codes in the codebase
6 years ago
David Marcec
1276e425d2
marked stubs
6 years ago
David Marcec
a17813c4f4
account: ListQualifiedUsers
Closes #2844
6 years ago
David Marcec
fb51a655b8
Audin:u ListAudioIns, OpenAudioIn, ListAudioInsAuto, OpenAudioInAuto, ListAudioInsAutoFiltered, OpenAudioInProtocolSpecified
Closes #2874
6 years ago
M&M
c1ffaa8b29
services: hid: Stub StopSevenSixAxisSensor.
- Used by The Legend of Zelda: Breath of the Wild v1.6.0
6 years ago
David Marcec
03a6f3b0f4
vi: Don't let uninitialized data pass as a response for SetBufferCount
Currently SetBufferCount doesn't write to the out buffer which then contains uninitialized data. This leads to non-zero data which leads to responding with different error codes
6 years ago
David
11c63ca969
audio_renderer: Preliminary BehaviorInfo ( #3736 )
* audio_renderer: Preliminary BehaviorInfo
* clang format
* Fixed IsRevisionSupported
* fixed IsValidRevision
* Fixed logic error & spelling errors & crash
* Addressed issues
6 years ago
Lioncash
99eaa2e6f2
service: Update function tables
Keeps the service function tables up to date.
Updated based off information on SwitchBrew.
6 years ago
FearlessTobi
4e99a06c70
npad: Lower log level for VibrateController to Debug
6 years ago
FearlessTobi
6ce0f3575a
audren: Lower log level for RequestUpdateImpl to Debug
6 years ago
Lioncash
bfee33cce3
service/time: Remove reliance on the global system accessor
Eliminates usages of the global system accessor and instead passes the
existing system instance into the interfaces.
6 years ago
bunnei
a8d5d08e2e
service: hid: npad: Fix implicit fallthrough errors.
6 years ago
Lioncash
7714b02d95
time/system_clock_core: Remove unnecessary initializer
This is already initialized within the class body.
6 years ago
Lioncash
b533f18ab9
service/time: Mark IsStandardNetworkSystemClockAccuracySufficient as const
This doesn't modify internal member state.
6 years ago
Lioncash
0cfd3b94db
service/time: Add virtual destructors where applicable
Many of these implementations are used to implement a polymorphic
interface. While not directly used polymorphically, this prevents
virtual destruction from ever becoming an issue.
6 years ago
Lioncash
4d8a8a8033
service: Remove unused RequestParser instances
These aren't used, so they should be removed to reduce compilation
warnings.
6 years ago
Lioncash
64f226889c
am: Resolve ineffective moves
Previously const objects were being std::moved, which results in no move
actually occurring. This resolves that.
6 years ago
bunnei
8bbe74a8dc
core: hle: Address various feedback & code cleanup.
- Should be no functional changes.
6 years ago
bunnei
37b79ebe85
service: ldr: Updates for new VMM.
- Includes removing some service impls. that are untested.
6 years ago
bunnei
77382ac2b2
service: pl_u: Update for new shared memory layout.
6 years ago
bunnei
67b3df683b
service: time: Update for new shared memory layout.
6 years ago
bunnei
8eca0f9cd2
service: hid: Update for new shared memory layout.
6 years ago
bunnei
8bbc38a7bd
service: irs: Update for new shared memory layout.
6 years ago
bunnei
4caff51710
core: memory: Move to Core::Memory namespace.
- helpful to disambiguate Kernel::Memory namespace.
6 years ago
Lioncash
e2d8be1ca2
General: Resolve warnings related to missing declarations
6 years ago
Lioncash
337f2dc11f
time_zone_manager: Resolve sign conversion warnings
ttis and ats will never exceed the length of INT32_MAX in our case, so
this is safe.
6 years ago
Lioncash
1c340c6efa
CMakeLists: Specify -Wextra on linux builds
Allows reporting more cases where logic errors may exist, such as
implicit fallthrough cases, etc.
We currently ignore unused parameters, since we currently have many
cases where this is intentional (virtual interfaces).
While we're at it, we can also tidy up any existing code that causes
warnings. This also uncovered a few bugs as well.
6 years ago
bunnei
eb676c343a
service: time: Implement CalculateStandardUserSystemClockDifferenceByUser.
- Used by Animal Crossing: New Horizons.
6 years ago
bunnei
598740f1dd
service: friend: Stub IFriendService::GetBlockedUserListIds.
- This is safe to stub, as there should be no adverse consequences from reporting no blocked users.
6 years ago
Fernando Sahmkow
486a42c45a
Buffer queue: Correct behavior of free buffer.
This corrects the behavior of free buffer after witnessing it in an
unrelated hardware test. I haven't found any games affected by it but in
name of better accuracy we'll correct such behavior.
6 years ago
ReinUsesLisp
8c0ba9c6fe
service/vi: Partially implement BufferQueue disconnect
6 years ago
Morph
224a75d839
capsrv: Split Capture services into individual files and stub GetAlbumContentsFileListForApplication ( #3571 )
* Organize capture services into individual files
* Stub GetAlbumContentsFileListForApplication
* Address feedback
6 years ago
bunnei
8a6a25e4b6
services: hid: Stub InitializeSevenSixAxisSensor.
- Used by Super Smash Bros. Ultimate v7.0.0.
6 years ago
bunnei
a60f34a850
services: time: Implement CalculateSpanBetween.
- Used by Super Smash Bros. Ultimate.
6 years ago
perillamint
a429644672
am: Implement VR related APIs
Implement (and stub) VR related APIs in AM sysmodule.
This fixes issue #2938
6 years ago
bunnei
5228bd0bb9
services: ldr: Fix MemoryState for read/write regions of NROs.
- Fixes #3541 , used by Final Fantasy VIII Remastered.
6 years ago
FearlessTobi
4afebf26b6
sm/controller: Increase PointerBufferSize
This increases the PointerBufferSize as a lager one is required by some services.
This change is still not hw-accurate, but it is proven to work in Ryujinx.
Instead of using a hardcoded size, we should figure out the specific values for each service in the future. Some of them can be taken from Atmosphere: https://github.com/Atmosphere-NX/Atmosphere/search?q=PointerBufferSize .
6 years ago
FearlessTobi
977418c65b
core/web_browser: Allow WebApplet to exit gracefully when an error occurs
Currently, yuzu just freezes when an error occurs while Initializing the WebApplet.
From a user perspective, this obviously isn't great as the game just softlocks.
With this change, yuzu will call the Finalize method, so to the game it seems like as the user just exited the WebApplet normally.
This works around https://github.com/yuzu-emu/yuzu/issues/2852 .
6 years ago
Dan
06dea163fa
set: implement GetRegionCode
6 years ago
ReinUsesLisp
ac7ee21331
time_zone_content_manager: Fix out of bounds read
There were cases where raw_data didn't contain enough
space to hold the zero terminator.
This was caught with -fsanitize=address.
6 years ago
Fernando Sahmkow
95b804ff05
NVFlinger: Do the microprofile Flip after processing a valid frame.
6 years ago
Morph
e1efab1f51
AM/ICommonStateGetter: Stub SetLcdBacklighOffEnabled ( #3454 )
* Stub SetLcdBacklighOffEnabled
Used by Super Smash Bros. Ultimate
We require backlight services to be implemented to turn on/off the backlight.
* Address feedback
6 years ago
Brian Clinkenbeard
ad4e5c15fb
httplib compatibility
6 years ago
CJBok
23c4cc80e2
analog_from_button get direction implementation
6 years ago
Nguyen Dac Nam
5257a83ebe
IUserLocalCommunicationService: add function Initialize2
6 years ago
Nguyen Dac Nam
6c0eb6026b
HLE: correct function name of IUserLocalCommunicationService
402: function name should be Initialize2 (7.0.0+) not SetOperationMode
Follow by: https://switchbrew.org/wiki/LDN_services#IUserLocalCommunicationService
6 years ago