bunnei
ea30e22ef1
hle: kernel: Use C++ style comments in KScheduler, etc.
5 years ago
bunnei
c3c09d9a35
kernel: KScopedSchedulerLockAndSleep: Remove unused ctor.
5 years ago
bunnei
31243d2b7a
kernel: time_manager: Add missing lock guards.
5 years ago
bunnei
de522657dd
hle: kernel: Migrate to KScopedSchedulerLock.
5 years ago
bunnei
61e017a026
hle: kernel: Separate KScopedSchedulerLockAndSleep from k_scheduler.
5 years ago
bunnei
4f16c961c9
hle: kernel: Separate KScheduler from GlobalSchedulerContext class.
5 years ago
bunnei
039844bbb9
hle: kernel: Rewrite scheduler implementation based on Mesopshere.
5 years ago
bunnei
abc079aca1
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
1ffab4019b
hle: kernel: Port KAbstractSchedulerLock from Mesosphere.
5 years ago
bunnei
0c9f4d749c
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
cd66ac3af5
hle: kernel: process: Add schedule count tracking, to be used for yield impl.
5 years ago
bunnei
5f00b01a5d
hle: kernel: svc: Remove unnecessary hack in svcSleep.
5 years ago
bunnei
11e7b74858
common: Port KPriorityQueue from Mesosphere.
5 years ago
bunnei
ba09b4d69d
hle: kernel: Port KAffinityMask from Mesosphere.
5 years ago
Lioncash
5db4785535
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
6efd390668
applets: Resolve variable shadowing
5 years ago
Chloe Marcec
6d887d0d92
system_version: Update to 11.0.0
5 years ago
Morph
ce2a7beb05
nim: Stub IsLargeResourceAvailable
- Used by Immortals Fenyx Rising
5 years ago
Lioncash
29db886722
audio_core: Make shadowing and unused parameters errors
Moves the audio code closer to enabling warnings as errors in general.
5 years ago
bunnei
3edaafa295
kernel: scheduler: Minor cleanup to remove duplicated code.
5 years ago
bunnei
64cb411dda
kernel: time_manager: Protect access with a mutex.
5 years ago
bunnei
b2de57e93e
hle: kernel: thread: Remove unused "Running" state.
5 years ago
bunnei
a5b73195c9
core: arm: Implement InvalidateCacheRange for CPU cache invalidation.
5 years ago
bunnei
5114c6f3ac
hle: kernel: time_manager: Avoid a crash on process exit.
5 years ago
bunnei
026a8dd832
hle: kernel: AddressArbiter: Remove unused code.
5 years ago
bunnei
e7c2a66ecd
hle: kernel: SynchronizationObject: Use atomic_bool for is_signaled.
5 years ago
bunnei
b92d8acd2f
common: fiber: Use boost::context instead of native fibers on Windows.
5 years ago
bunnei
aaffe73f47
hle: kernel: multicore: Replace n-JITs impl. with 4 JITs.
5 years ago
german
2a93b187a6
Add missing types to NpadCommunicationMode
5 years ago
Lioncash
c06510376a
core: Eliminate remaining usages of the global system instance
Removes all remaining usages of the global system instance. After this,
migration can begin to migrate to being constructed and managed entirely
by the various frontends.
5 years ago
Lioncash
acf893542a
savedata_factory: Eliminate usage of the global system instance
Now there's only two meaningful instances left in core.
5 years ago
german
d9d2a0aac7
Stub set and get NpadCommunicationMode
5 years ago
Lioncash
346271b80b
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
Lioncash
064f17c5b1
core: Reduce string copies in GetGameFileFromPath()
Eliminates some minor string churn where applicable. Also eliminates an
unnecessary vector copy.
5 years ago
german
56a8fee35a
Implement full mouse support
5 years ago
german
6708e0ec0e
Add multiple udp server support
5 years ago
Morph
9b00708d96
hid: Check if applet_resource exists in InitializeVibrationDevice
5 years ago
bunnei
28843b094f
core: cpu_manager: Fix shutdown crash when closing before emulation starts.
5 years ago
bunnei
faffc3144c
service: am: Implement ExecuteProgram and required stubs.
- This is used by Super Mario 3D All-Stars.
5 years ago
bunnei
9f8d7748d9
core: loader: Implement support for loading indexed programs.
5 years ago
bunnei
5f53d285aa
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.
5 years ago
comex
00f2c7fbb9
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.
5 years ago
Chloe Marcec
f8d84ecae2
nvservices: Reintroducee IoctlCtrl
Fixes regression caused by #4907 which caused games like Breath of the Wild 1.0.0 not to boot.
5 years ago
bunnei
2ac1148798
Fix warnings in core/frontend/input.h with [[maybe_unused]]
Fixes build break due to #4927
5 years ago
comex
bb729eefce
Overhaul EmuWindow::PollEvents to fix yuzu-cmd calling SDL_PollEvents off main thread
EmuWindow::PollEvents was called from the GPU thread (or the CPU thread
in sync-GPU mode) when swapping buffers. It had three implementations:
- In GRenderWindow, it didn't actually poll events, just set a flag and
emit a signal to indicate that a frame was displayed.
- In EmuWindow_SDL2_Hide, it did nothing.
- In EmuWindow_SDL2, it did call SDL_PollEvents, but this is wrong
because SDL_PollEvents is supposed to be called on the thread that set
up video - in this case, the main thread, which was sleeping in a
busyloop (regardless of whether sync-GPU was enabled). On macOS this
causes a crash.
To fix this:
- Rename EmuWindow::PollEvents to OnFrameDisplayed, and give it a
default implementation that does nothing.
- In EmuWindow_SDL2, do not override OnFrameDisplayed, but instead have
the main thread call SDL_WaitEvent in a loop.
5 years ago
Lioncash
b038dcf23c
svc: Remove unnecessary [[maybe_unused]] tag
The parameter is used in this function, so this suppression isn't
necessary.
5 years ago
Lioncash
c8aec32f12
input_common: Treat warnings as errors
Migrates over warnings as errors for input common to match how the
common library treats warnings as errors.
5 years ago
bunnei
2f0eb8d38c
olsc: Move member initialization to after member functions.
5 years ago
bunnei
655892e84b
hle: service: Stub OLSC Initialize and SetSaveDataBackupSettingEnabled functions.
- Used by Animal Cross: New Horizons v1.6.0 update, minimal stub gets this update working.
5 years ago
Lioncash
b4b63c878f
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.
5 years ago