Lioncash
6ea751d910
CMakeLists: Make -Wreorder a compile-time error
This can result in silent logic bugs within code, and given the amount
of times these kind of warnings are caused, they should be flagged at
compile-time so no new code is submitted with them.
6 years ago
Lioncash
0f32ae2140
kernel/thread: Resolve -Wswitch warnings
6 years ago
bunnei
ba413f9277
service: time: Implement CalculateStandardUserSystemClockDifferenceByUser.
- Used by Animal Crossing: New Horizons.
6 years ago
bunnei
7ecacdfa3b
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
7d65c9c9ea
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
f35703f7cd
service/vi: Partially implement BufferQueue disconnect
6 years ago
Morph
bda37c4bb4
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
c84586b412
services: hid: Stub InitializeSevenSixAxisSensor.
- Used by Super Smash Bros. Ultimate v7.0.0.
6 years ago
bunnei
748ddc628c
services: time: Implement CalculateSpanBetween.
- Used by Super Smash Bros. Ultimate.
6 years ago
perillamint
133948067c
am: Implement VR related APIs
Implement (and stub) VR related APIs in AM sysmodule.
This fixes issue #2938
6 years ago
bunnei
7ee7aa21b1
services: ldr: Fix MemoryState for read/write regions of NROs.
- Fixes #3541 , used by Final Fantasy VIII Remastered.
6 years ago
FearlessTobi
23a8887526
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
1c7dcf3858
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
d5c239a047
set: implement GetRegionCode
6 years ago
ReinUsesLisp
e656938a5a
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
babc572a47
NVFlinger: Do the microprofile Flip after processing a valid frame.
6 years ago
bunnei
36c4c33bb8
core: hle: Implement separate A32/A64 SVC interfaces.
6 years ago
bunnei
048ac77adc
core: Implement separate A32/A64 ARM interfaces.
6 years ago
Morph
055ebfc2e7
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
Fernando Sahmkow
d0b12c793d
Scheduler: Inline global scheduler in Scheduler Lock.
6 years ago
Fernando Sahmkow
d6584d988f
Kernel: Correct pending feedback.
6 years ago
Fernando Sahmkow
78f01601d0
Kernel: Address Feedback.
6 years ago
Fernando Sahmkow
7c2b72bcef
Kernel: Implement Scheduler locks
6 years ago
Fernando Sahmkow
fe53ac3e33
Kernel: Implement Time Manager.
6 years ago
Fernando Sahmkow
e6cc0a48e0
Kernel: Rename ThreadCallbackHandleTable and Setup Thread Ids on Kernel.
6 years ago
Fernando Sahmkow
f5da504663
Kernel: Make global scheduler depend on KernelCore
6 years ago
Brian Clinkenbeard
050a4362ad
httplib compatibility
6 years ago
CJBok
7ec4bd7793
analog_from_button get direction implementation
6 years ago
Nguyen Dac Nam
2807020c01
IUserLocalCommunicationService: add function Initialize2
6 years ago
Nguyen Dac Nam
c4e8f9589a
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
8bb64da7ac
nvhost_gpu: implement ChannelSetTimeslice
6 years ago
Fernando Sahmkow
0d2a459fae
Core: Address Feedback
6 years ago
Lioncash
5c0742bb94
address_arbiter: Collapse loops in InsertThread() and RemoveThread()
Same behavior, but without the need to explicitly loop through
everything manually.
6 years ago
Lioncash
3105b7864c
address_arbiter: Simplify GetThreadsWaitingOnAddress()
Simplifies the overall function and also allows for it to become a
const-qualified member function.
6 years ago
Lioncash
d5435df964
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
8792d4562c
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
Lioncash
750c48af18
kernel/thread: Remove trivial usages of the global system accessor
We can just use the kernel member variable directly instead of going
through the system to obtain the same thing.
6 years ago
Fernando Sahmkow
6fc0790f3a
Core: Set all hardware emulation constants in a single file.
6 years ago
Fernando Sahmkow
1ee7a4d926
Kernel: Refactor synchronization to better match RE
6 years ago
makigumo
b71b872e74
update hwopus DecodeInterleaved for FW 7.0.0+
trivial change,
see https://switchbrew.org/wiki/Audio_services#IHardwareOpusDecoder
6 years ago
Fernando Sahmkow
3a7f539463
Kernel: Change WaitObject to Synchronization object. In order to better reflect RE.
6 years ago
bunnei
3edec585bc
hle: services: Use std::shared_ptr instead of copy by value.
6 years ago
bunnei
9ffdef96d9
kernel: transfer_memory: Properly reserve and reset memory region.
6 years ago
Zach Hilman
a0400ebc19
wait_object: Make wait behavior only require one object to signal.
- This was holdover from citra.
7 years ago
bunnei
900b370e13
am: Correct IPC object count mismatch.
6 years ago
bunnei
141c06ca8b
services: am: Clear events on PopOutData and PopInteractiveOutData.
6 years ago
bunnei
b10a96347f
am: Refactor IStorage interface.
6 years ago
bunnei
0d376ae49e
applets: software_keyboard: Signal state change on end of interactive session.
6 years ago
bunnei
b1bd8d852a
applets: software_keyboard: Minor cleanup.
6 years ago
bunnei
7bdaae11ac
services: prepo: Fix IPC interface with SaveReport/SaveReportWithUser.
6 years ago