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
namkazy
7fadc9c180
nvhost_gpu: implement ChannelSetTimeslice
6 years ago
Lioncash
f00a54f508
bcat/backend: Make formatting of passphrase consistent in NullBackend::SetPassphrase()
Aligns the '=' to be consistent with the rest of the logs within this
source file.
6 years ago
Lioncash
eefd97e80d
bcat/backend: Prevent fmt exception in debug log within NullBackend::Clear()
A formatting specifier within Clear wasn't being used, which will cause
fmt to throw an exception. This fixes that.
6 years ago
Fernando Sahmkow
1e6f8aba04
Core: Set all hardware emulation constants in a single file.
6 years ago
makigumo
926ea5a16d
update hwopus DecodeInterleaved for FW 7.0.0+
trivial change,
see https://switchbrew.org/wiki/Audio_services#IHardwareOpusDecoder
6 years ago
bunnei
7b07e521ca
hle: services: Use std::shared_ptr instead of copy by value.
6 years ago
bunnei
3a0c1e79f8
am: Correct IPC object count mismatch.
6 years ago
bunnei
77da74e17a
services: am: Clear events on PopOutData and PopInteractiveOutData.
6 years ago
bunnei
84e895cdd6
am: Refactor IStorage interface.
6 years ago
bunnei
3557fa25d0
applets: software_keyboard: Signal state change on end of interactive session.
6 years ago
bunnei
be5fcffb89
applets: software_keyboard: Minor cleanup.
6 years ago
bunnei
2245c24e21
services: prepo: Fix IPC interface with SaveReport/SaveReportWithUser.
6 years ago
bunnei
2a822f3378
bsd: Stub several more functions.
- Required for Little Town Hero to boot further.
6 years ago
bunnei
ed76c71319
service: time: Implement ToPosixTimeWithMyRule.
- Used by Pokemon Mystery Dungeon.
6 years ago
bunnei
7113236b30
time: Fix month off-by-one error.
- Fixes timestamp in ZLA and Astral Chain saves.
6 years ago
CJBok
635deb70d4
Moved analog direction logic to sdl_impl
6 years ago
CJBok
231d9c10f3
Corrected directional states sensitivity
6 years ago
CJBok
ae7fd01e38
hid: Fix analog sticks directional states
6 years ago
bunnei
be5c149d37
service: time: Implement GetStandardLocalSystemClock.
6 years ago
bunnei
361285add9
time: Remove overflow error checking (currently breaks ADO builds).
6 years ago
bunnei
a4e840181c
service: time: Implement GetClockSnapshotFromSystemClockContext.
6 years ago
bunnei
fab2607c6b
service: time: Implement IsStandardNetworkSystemClockAccuracySufficient.
6 years ago
bunnei
78f977c980
service: time: Rewrite implementation of glue services.
6 years ago