bunnei
8fd921557f
hle: kernel: KPriorityQueue: Various style fixes based on code review feedback.
5 years ago
bunnei
4d3be1816c
hle: kernel: KAffinityMask: Various style fixes based on code review feedback.
5 years ago
bunnei
357d79fb6e
hle: kernel: GlobalSchedulerContext: Various style fixes based on code review feedback.
5 years ago
bunnei
b1326d9230
hle: kernel: Use C++ style comments in KScheduler, etc.
5 years ago
bunnei
bc59ca92b6
kernel: KScopedSchedulerLockAndSleep: Remove unused ctor.
5 years ago
bunnei
b9b7e4f915
kernel: time_manager: Add missing lock guards.
5 years ago
bunnei
ccce6cb3be
hle: kernel: Migrate to KScopedSchedulerLock.
5 years ago
bunnei
4756cb203e
hle: kernel: Separate KScopedSchedulerLockAndSleep from k_scheduler.
5 years ago
bunnei
8d3e06349e
hle: kernel: Separate KScheduler from GlobalSchedulerContext class.
5 years ago
bunnei
9e29e36a78
hle: kernel: Rewrite scheduler implementation based on Mesopshere.
5 years ago
bunnei
c10a37e5b6
hle: kernel: physical_core: Clear exclusive state after each run.
- This is closer to pre-multicore behavior, and works a bit better.
5 years ago
bunnei
7e5d0f1fe3
hle: kernel: Port KAbstractSchedulerLock from Mesosphere.
5 years ago
bunnei
39d356782e
hle: kernel: svc: Remove reschedule on svcBreak.
- This breaks things, and is unnecessary, since emulation will be done at this point.
5 years ago
bunnei
d58a609ae4
hle: kernel: process: Add schedule count tracking, to be used for yield impl.
5 years ago
bunnei
493263f415
hle: kernel: svc: Remove unnecessary hack in svcSleep.
5 years ago
bunnei
a3ccac3eb7
common: Port KPriorityQueue from Mesosphere.
5 years ago
bunnei
e18ee8d681
hle: kernel: Port KAffinityMask from Mesosphere.
6 years ago
Lioncash
f95602f152
video_core: Resolve more variable shadowing scenarios pt.3
Cleans out the rest of the occurrences of variable shadowing and makes
any further occurrences of shadowing compiler errors.
5 years ago
Morph
f6d4a289d5
applets: Resolve variable shadowing
5 years ago
Morph
c2f83c04cb
nim: Stub IsLargeResourceAvailable
- Used by Immortals Fenyx Rising
5 years ago
Lioncash
1ea6bdef05
audio_core: Make shadowing and unused parameters errors
Moves the audio code closer to enabling warnings as errors in general.
6 years ago
bunnei
4b9e1b6586
kernel: scheduler: Minor cleanup to remove duplicated code.
6 years ago
bunnei
b7ef581c6e
kernel: time_manager: Protect access with a mutex.
6 years ago
bunnei
c2ad1243ba
hle: kernel: thread: Remove unused "Running" state.
6 years ago
bunnei
63fd1bb503
core: arm: Implement InvalidateCacheRange for CPU cache invalidation.
6 years ago
bunnei
c0870315fd
hle: kernel: time_manager: Avoid a crash on process exit.
6 years ago
bunnei
9705f651b2
hle: kernel: AddressArbiter: Remove unused code.
6 years ago
bunnei
9423347c1b
hle: kernel: SynchronizationObject: Use atomic_bool for is_signaled.
6 years ago
bunnei
c042a89113
common: fiber: Use boost::context instead of native fibers on Windows.
6 years ago
bunnei
7b642c7781
hle: kernel: multicore: Replace n-JITs impl. with 4 JITs.
6 years ago
german
4eb7327559
Add missing types to NpadCommunicationMode
5 years ago
Lioncash
073e07ae2d
savedata_factory: Eliminate usage of the global system instance
Now there's only two meaningful instances left in core.
5 years ago
german
3898d8f0d7
Stub set and get NpadCommunicationMode
5 years ago
Lioncash
1a954b2a59
service: Eliminate usages of the global system instance
Completely removes all usages of the global system instance within the
services code by passing in the using system instance to the services.
5 years ago
Morph
6f70e1b1ff
hid: Check if applet_resource exists in InitializeVibrationDevice
6 years ago
bunnei
4fb5ca80c0
service: am: Implement ExecuteProgram and required stubs.
- This is used by Super Mario 3D All-Stars.
6 years ago
bunnei
7791cc8c2e
hle: services: Fix a crash with improper NVFlinger lifetime management. ( #4977 )
* hle: services: Fix a crash with improper NVFlinger lifetime management.
- This crash would happen when attempting to shutdown yuzu early on in boot.
6 years ago
comex
e8b2fd21d8
nvdrv, video_core: Don't index out of bounds when given invalid syncpoint ID
- Use .at() instead of raw indexing when dealing with untrusted indices.
- For the special case of WaitFence with syncpoint id UINT32_MAX,
instead of crashing, log an error and ignore. This is what I get when
running Super Mario Maker 2.
6 years ago
Chloe Marcec
ab25d1fe9a
nvservices: Reintroducee IoctlCtrl
Fixes regression caused by #4907 which caused games like Breath of the Wild 1.0.0 not to boot.
6 years ago
Lioncash
874be0e3e1
svc: Remove unnecessary [[maybe_unused]] tag
The parameter is used in this function, so this suppression isn't
necessary.
6 years ago
bunnei
3794c91145
olsc: Move member initialization to after member functions.
6 years ago
bunnei
6e37676482
hle: service: Stub OLSC Initialize and SetSaveDataBackupSettingEnabled functions.
- Used by Animal Cross: New Horizons v1.6.0 update, minimal stub gets this update working.
6 years ago
Lioncash
6f8a06bac5
patch_manager: Remove usages of the global system instance
With this, only 19 usages of the global system instance remain within
the core library.
We're almost there.
6 years ago
Morph
ad50209383
hid: Reimplement Begin/EndPermitVibrationSession
Upon further investigation, these commands allow temporary vibrations even when the "Controller Vibration" system setting is disabled. As a result, vibrations are allowed when either the system setting or this flag is set to true. Therefore, we can only block vibrations when both flags are set to false.
6 years ago
Morph
d8ad2f3484
controllers/npad: Load input devices on init
6 years ago
Morph
97b2220a82
general: Fix compiler warnings on linux and miscellaneous changes
6 years ago
Morph
30e0d1c973
controllers/npad: Remove the old vibration filter
Previously we used a vibration filter that filters out amplitudes close to each other. It turns out there are cases where this results into vibrations that are too inaccurate. Remove this and move the 100Hz vibration filter (Only allowing a maximum of 100 vibrations per second) from sdl_impl to npad when enable_accurate_vibrations is set to false.
6 years ago
Morph
978ca65f59
hid: Implement InitializeVibrationDevice and IsVibrationDeviceMounted
6 years ago
Morph
e9e1876e82
input_common: Add VibrationDevice and VibrationDeviceFactory
A vibration device is an input device that returns an unsigned byte as status.
It represents whether the vibration device supports vibration or not.
If the status returns 1, it supports vibration. Otherwise, it does not support vibration.
6 years ago
Morph
38110dd485
configure_input: Add per-player vibration
Allows for enabling and modifying vibration and vibration strength per player.
Also adds a toggle for enabling/disabling accurate vibrations.
Co-authored-by: Its-Rei <kupfel@gmail.com>
6 years ago