bunnei
dfdac7d38a
hle: kernel: Move ServiceThread ownership to KernelCore.
- Fixes a circular dependency which prevented threads from being released on shutdown.
5 years ago
bunnei
f57be2e626
hle: kernel: service_thread: Add thread name and take weak_ptr of ServerSession.
5 years ago
bunnei
7d77a3f88f
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
06f8c3dc01
core: Do not reset device_memory on shutdown.
- This will be reset on initialization.
5 years ago
bunnei
d0649d0971
core: hle: kernel: Clear process list on boot.
5 years ago
bunnei
994a9fec4e
hle: service: vi: Refactor to grab buffer only once.
5 years ago
bunnei
6433b1dfd6
service: nvflinger: Improve synchronization for BufferQueue.
- Use proper mechanisms for blocking on DequeueBuffer.
- Ensure service thread terminates on emulation Shutdown.
5 years ago
bunnei
bea51d948d
hle: service: Ensure system is powered on before writing IPC result.
5 years ago
bunnei
6d2f9428c5
core: kernel: Clear process list earlier.
5 years ago
bunnei
916438a9de
core: settings: Untangle multicore from asynchronous GPU.
- Now that GPU is always threaded, we can support multicore with synchronous GPU.
5 years ago
bunnei
5d4715cc6a
hle: kernel: hle_ipc: Remove SleepClientThread.
- This was kind of hacky, and no longer is necessary with service threads.
5 years ago
bunnei
87d6588cb5
hle: service: bsd: Update to work with service threads, removing SleepClientThread.
5 years ago
bunnei
0c81b83ca9
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
8bc3d66354
hle: kernel: service_thread: Add parameter for thread pool size.
5 years ago
bunnei
19a8f03ad5
hle: service: nvflinger: Refactor locking and interfaces.
5 years ago
bunnei
b377da042b
hle: service: vi: Remove usage of SleepClientThread.
5 years ago
bunnei
28281ae250
core: hle: server_session: Use separate threads for each service connection.
5 years ago
bunnei
c8a4967c9d
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
10b0ab7926
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
82fa9f8d56
applets/web: Implement the online web browser applet
5 years ago
Morph
8b95bf041d
main, applets/web: Re-add progress dialog for RomFS extraction
5 years ago
Morph
d46ca5a015
pl_u, applets/web: Decrypt shared fonts to TTF files
5 years ago
Morph
46183294b2
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
f9653a4417
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
54ea3c47c8
controllers/npad: Make press_state atomic
5 years ago
Morph
d6d1a8e02c
applets/web: Implement the default web browser applet frontend
5 years ago
Morph
89df483567
applets/web: Implement the offline browser applet backend
5 years ago
Morph
a5750f437d
applets/web: Initial implementation of the web browser applet
5 years ago
Morph
ccb439efb0
applets: Remove the previous web browser applet implementation
5 years ago
Morph
79316be18c
system_archive: Add + and - buttons to the Nintendo Extended OSS font
5 years ago
ameerj
873ad1272e
buffer_queue: better use of std::array
5 years ago
ameerj
8cb683f3b9
Overwrite slots instead of queuing them, add disconnect signal
Fix for Katana Zero and Yoshi's Crafted World
5 years ago
Morph
5d29d2111c
system_archive: Update Nintendo Extended OSS font
Co-authored-by: Its-Rei <kupfel@gmail.com>
5 years ago
Morph
1c773c0869
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
dfee6321cd
Revert "Merge pull request #5176 from Morph1984/fix-createfile"
This reverts commit 6d6115475b , reversing
changes made to 5fe55b16a1 .
5 years ago
Lioncash
b1657b8c6b
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
b06d6e3646
vfs_real: Fix CreateFile for files without a file extension
5 years ago
Lioncash
2de124e223
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
deff708cbe
IPurchaseEventManager: Implement GetPurchasedEventReadableHandle
- Used by Pokémon Café Mix
- Used by DOOM: Eternal
5 years ago
Morph
a9cfe06aaf
IPurchaseEventManager: Stub Set(Default)DeliveryTarget
- Used by Pokémon Café Mix
- Used by DOOM: Eternal
5 years ago
Morph
009bdb3558
aoc_u: Stub Create(Permanent)EcPurchasedEventManager
- Used by Pokémon Café Mix
- Used by DOOM: Eternal
5 years ago
Lioncash
a44ff5ed31
memory: Resolve -Wdocumentation warning for Write()
Write() doesn't return anything, so the @returns tag shouldn't be
present.
5 years ago
Morph
e15039372e
fsp_srv: Implement OpenDataStorageWithProgramIndex
- Used by RollerCoaster Tycoon 3: Complete Edition
5 years ago
Morph
0eb6c6cd83
file_sys: Consolidate common Title ID operations
5 years ago
Lioncash
6b7320add4
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
215cfbb757
controller: Use std::move within ConvertToFrontendParameters()
Avoids unnecessary copies.
5 years ago
Lioncash
97dd67ad1c
controller: Avoid unnecessary copies in ConfigurationComplete()
Avoids unnecessary 1072 byte copies when querying info about
controllers.
5 years ago
german
b57ba7bfb6
Disable analog joystick from buttons by default
5 years ago
comex
0791082b43
network, sockets: Replace `POLL_IN`, `POLL_OUT`, etc. constants with an `enum class PollEvents`
Actually, two enum classes, since for some reason there are two separate
yet identical `PollFD` types used in the codebase. I get that one is
ABI-compatible with the Switch while the other is an abstract type used
for the host, but why not use `WSAPOLLFD` directly for the latter?
Anyway, why make this change? Because on Apple platforms, `POLL_IN`,
`POLL_OUT`, etc. (with an underscore) are defined as macros in
<sys/signal.h>. (This is inherited from FreeBSD.) So defining
a variable with the same name causes a compile error.
I could just rename the variables, but while I was at it I thought I
might as well switch to an enum for stronger typing.
Also, change the type used for values copied directly to/from the
`events` and `revents` fields of the host *native*
`pollfd`/`WSASPOLLFD`, from `u32` to `short`, as `short` is the correct
canonical type on both Unix and Windows.
5 years ago
comex
e31cb50405
Fix "explicitly defaulted but implicitly deleted" warning
`PhysicalCore`'s move assignment operator was declared as `= default`,
but was implicitly deleted because `PhysicalCore` has fields
of reference type. Switch to explicitly deleting it to avoid a Clang
warning.
The move *constructor* is still defaulted, and is required to exist due
to the use of `std::vector<PhysicalCore>`.
5 years ago