bunnei
127bb064f7
hle: kernel: Manage host thread IDs using TLS.
- Avoids the need to have a large map of host to guest thread IDs.
5 years ago
comex
8be4bd5104
k_priority_queue: Fix concepts use
- For `std::same_as`, add missing include of `<concepts>`.
- For `std::convertible_to`, create a replacement in `common/concepts.h`
and use that instead.
This would also be found in `<concepts>`, but unlike `std::same_as`,
`std::convertible_to` is not yet implemented in libc++, LLVM's STL
implementation - not even in master. (In fact, `std::same_as` is the
*only* concept currently implemented. For some reason.)
5 years ago
comex
0049fbaa9e
Add missing include of "core/hle/kernel/kernel.h"
This is needed as the header invokes methods on KernelCore.
5 years ago
ameerj
ca41363261
svc: demote SleepThread log to LOG_TRACE
This log is called often, and introduces a lot of noise when debug logging is enabled, making it difficult to see other debug logs.
5 years ago
bunnei
67051cf10c
hle: kernel: Move ServiceThread ownership to KernelCore.
- Fixes a circular dependency which prevented threads from being released on shutdown.
5 years ago
bunnei
b2ef309edb
hle: kernel: service_thread: Add thread name and take weak_ptr of ServerSession.
5 years ago
bunnei
e5f216261e
hle: service: Acquire and release a lock on requests.
- This makes it such that we can safely access service members from CoreTiming thread.
5 years ago
bunnei
ae526934c7
core: Do not reset device_memory on shutdown.
- This will be reset on initialization.
5 years ago
bunnei
5d4fa58af2
core: hle: kernel: Clear process list on boot.
5 years ago
bunnei
04e4925807
hle: service: vi: Refactor to grab buffer only once.
5 years ago
bunnei
b1b4edec05
service: nvflinger: Improve synchronization for BufferQueue.
- Use proper mechanisms for blocking on DequeueBuffer.
- Ensure service thread terminates on emulation Shutdown.
5 years ago
bunnei
8cf0ba96d9
hle: service: Ensure system is powered on before writing IPC result.
5 years ago
bunnei
838c266e82
core: kernel: Clear process list earlier.
5 years ago
bunnei
1e370cff0e
core: settings: Untangle multicore from asynchronous GPU.
- Now that GPU is always threaded, we can support multicore with synchronous GPU.
5 years ago
bunnei
846f35c4ad
hle: kernel: hle_ipc: Remove SleepClientThread.
- This was kind of hacky, and no longer is necessary with service threads.
5 years ago
bunnei
e322c6cfba
hle: service: bsd: Update to work with service threads, removing SleepClientThread.
5 years ago
bunnei
fd213b5856
hle: service: nvdrv: Revert #4981 to remove usage of SleepClientThread.
- Note, this always processes the ioctl right away, which fixes BotW 1.0.0 issues.
5 years ago
bunnei
3d7b4bfa48
hle: kernel: service_thread: Add parameter for thread pool size.
5 years ago
bunnei
eeabd0cc31
hle: service: nvflinger: Refactor locking and interfaces.
5 years ago
bunnei
b8cb6a1b2c
hle: service: vi: Remove usage of SleepClientThread.
5 years ago
bunnei
56be5d7ba9
core: hle: server_session: Use separate threads for each service connection.
5 years ago
bunnei
eb609b73a7
core: memory: Ensure thread safe access when pages are rasterizer cached ( #5206 )
* core: memory: Ensure thread safe access when pages are rasterizer cached.
5 years ago
FearlessTobi
1bfd9b5081
yuzu: Remove gdbstub configuration
The gdbstub itself was removed with https://github.com/yuzu-emu/yuzu/pull/5028 .
This PR just removes the remaining gdb configuration code from the emulator and the UI.
5 years ago
Morph
469ed33cf6
applets/web: Implement the online web browser applet
5 years ago
Morph
fef6f942e4
main, applets/web: Re-add progress dialog for RomFS extraction
5 years ago
Morph
46f376e8fe
pl_u, applets/web: Decrypt shared fonts to TTF files
5 years ago
Morph
0e1390257a
ns_vm: Stub NeedsUpdateVulnerability
This is used to force system updates on launching the web browser. We do not care about system updates so this can be set to false.
5 years ago
Morph
0c99879bec
frontend/input_interpreter: Add InputInterpreter API
The InputInterpreter class interfaces with HID to retrieve button press states. Input is intended to be polled every 50ms so that a button is considered to be held down after 400ms has elapsed since the initial button press and subsequent repeated presses occur every 50ms.
Co-authored-by: Chloe <25727384+ogniK5377@users.noreply.github.com>
5 years ago
Morph
7c1af698e4
controllers/npad: Make press_state atomic
5 years ago
Morph
a367dc5be0
applets/web: Implement the default web browser applet frontend
5 years ago
Morph
312d05c3ff
applets/web: Implement the offline browser applet backend
5 years ago
Morph
c3371126a0
applets/web: Initial implementation of the web browser applet
5 years ago
Morph
7da1c67f5a
applets: Remove the previous web browser applet implementation
5 years ago
Morph
f36865a3f4
system_archive: Add + and - buttons to the Nintendo Extended OSS font
5 years ago
ameerj
0bdbc27d82
buffer_queue: better use of std::array
5 years ago
ameerj
ad6bf1246c
Overwrite slots instead of queuing them, add disconnect signal
Fix for Katana Zero and Yoshi's Crafted World
5 years ago
Morph
8cd0b60587
system_archive: Update Nintendo Extended OSS font
Co-authored-by: Its-Rei <kupfel@gmail.com>
5 years ago
Morph
63115659b0
controllers/npad: Validate device handles before use
Some games such as NEKOPARA Vol. 3 send invalid device handles when calling InitializeVibrationDevice. Introduce a check to validate the device handle before use.
5 years ago
Morph
9e47a3f7cd
Revert "Merge pull request #5176 from Morph1984/fix-createfile"
This reverts commit 586d5a72e1 , reversing
changes made to 1f5f5d8d3c .
5 years ago
Lioncash
fd6a753646
vfs: Use existing type aliases consistently
Makes use of the VirtualDir and VirtualFile aliases across the board
instead of having a few isolated places that don't use it.
5 years ago
Morph
b8c2935580
vfs_real: Fix CreateFile for files without a file extension
5 years ago
Lioncash
a4f07e1cc4
svc: Remove unnecessary casts
Simplifies and removes some casts. In all cases, these were generally
widening from a 32-bit unsigned type to a 64-bit unsigned type, so no
information would be lost from the conversion.
5 years ago
Morph
bd11a640d0
IPurchaseEventManager: Implement GetPurchasedEventReadableHandle
- Used by Pokémon Café Mix
- Used by DOOM: Eternal
5 years ago
Morph
e6f78dd3f0
IPurchaseEventManager: Stub Set(Default)DeliveryTarget
- Used by Pokémon Café Mix
- Used by DOOM: Eternal
5 years ago
Morph
6327da2213
aoc_u: Stub Create(Permanent)EcPurchasedEventManager
- Used by Pokémon Café Mix
- Used by DOOM: Eternal
5 years ago
Lioncash
024c10b697
memory: Resolve -Wdocumentation warning for Write()
Write() doesn't return anything, so the @returns tag shouldn't be
present.
5 years ago
Morph
419996f5db
fsp_srv: Implement OpenDataStorageWithProgramIndex
- Used by RollerCoaster Tycoon 3: Complete Edition
5 years ago
Morph
f30f97994b
file_sys: Consolidate common Title ID operations
5 years ago
Lioncash
8f135703dc
core: Remove unnecessary enum casts in log calls
Follows the video core PR. fmt doesn't require casts for enum classes
anymore, so we can remove quite a few casts.
5 years ago
Lioncash
fb0e41b085
controller: Use std::move within ConvertToFrontendParameters()
Avoids unnecessary copies.
5 years ago