lizzie
902fdcc785
Fix license headers
2026-10-01 10:36:04 +00:00
lizzie
9d403e7dba
2026-09-26 11:22:33
...
Signed-off-by: lizzie <lizzie@eden-emu.dev >
2026-10-01 10:36:03 +00:00
lizzie
c94890ef3c
2026-09-26 10:24:21
...
Signed-off-by: lizzie <lizzie@eden-emu.dev >
2026-10-01 10:36:03 +00:00
lizzie
e733bb15db
2026-09-26 08:11:32
...
Signed-off-by: lizzie <lizzie@eden-emu.dev >
2026-10-01 10:36:03 +00:00
lizzie
029510d144
2026-09-26 07:29:31
...
Signed-off-by: lizzie <lizzie@eden-emu.dev >
2026-10-01 10:36:03 +00:00
lizzie
b14b5e0981
2026-09-26 06:34:09
...
Signed-off-by: lizzie <lizzie@eden-emu.dev >
2026-10-01 10:36:03 +00:00
lizzie
f8a7c84b94
2026-09-25 15:57:13
...
Signed-off-by: lizzie <lizzie@eden-emu.dev >
2026-10-01 10:36:03 +00:00
lizzie
3f4efdefbd
2026-09-25 15:53:30
...
Signed-off-by: lizzie <lizzie@eden-emu.dev >
2026-10-01 10:36:03 +00:00
lizzie
190a228764
2026-09-25 15:49:56
...
Signed-off-by: lizzie <lizzie@eden-emu.dev >
2026-10-01 10:36:03 +00:00
xbzk
07f40d5cac
[npad,hid,am] npad WriteEmptyEntry fix, hid function 551 stub, and applet PopOutData rework ( #4442 )
...
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions ).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md )
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md ) to the best of my ability.
-------------------
This was intended to fix Dave the Diver issue, but we found a real silly hid bug, then a maybe broader applet issue:
By testing with John it was found out only the last controller connected worked, the others caused the game to freeze peacefully, no crashes, suggesting some loop or deadlock.
After seeking that lead, it was found that the freeze was caused by a malformed HID history entry when the controller applet removed P2.
Pressing P1 opens the controller applet, then Qt applet disconnects P2, which is expected.
Upon seeking callstack and hid sync path, it was found out that NPad::WriteEmptyEntry:
was using: ReadCurrentEntry().sampling_number + 1
instead of: ReadCurrentEntry().state.sampling_number + 1 (checked AtomicStorage in src\hid_core\resources\ring_lifo.h)
Fixing that fixed the freeze, but killed the sound!
Later handheld/docked was accidentally clicked and sound returned. Good lead.
Then i just had to corner which part of the toggle was causing the refresh and do something similar at the controller applet return routine (PopOutData in library_applet_accessor.cpp). This part seems harmless, but i'm not clearly sure about how proper it is, since it was like a transplant and test operation.
UPDATE:
To try Diablo 3 on my machine it was needed to stub HID function 551.
And to fix all abnormalies like multiple applet requests and crash the function PopOutData was reworked to ensurey idempotency among different applet focus conditions:
focus state changed: updates state and signals if needed
no state change, HLE application frontend: requests focus state changed notification
already pending change message: flag remains true and no duplicate pushed to queue entry
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4442
Reviewed-by: MaranBr <maranbr@eden-emu.dev >
Reviewed-by: lizzie <lizzie@eden-emu.dev >
2026-09-18 23:49:17 +02:00
Maufeat
54cd5fb8eb
[core, hle, video_core, memory] Improve multi-process, display layers, dynamic shader cache and rework overlay ( #4238 )
...
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions ).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md )
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md ) to the best of my ability.
-------------------
- Dynamic shader cache reloading capability for qlaunch
- Multi-process improvements (thanks to @frank1734), instead of just using the main application we now respect caller process (also did it for HID devices while I was at it)
- Layer stack masks & shared buffer screenshot for video core, added different masks (screenshot, recording, etc.) this was discovered as an issue due to how in qlaunch the transition was not right between applications. May not be perfect but also fixes screenshots while using qlaunch
- Reworked overlay display management (input and visibility) - instead of random numbers as I've previously did, I decided to add an AppletZIndex enum for better readability. Also split capability of input by touch and gamepad.
- etc.
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4238
Reviewed-by: Samuel <lizzie@eden-emu.dev >
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com >
Reviewed-by: MaranBr <maranbr@eden-emu.dev >
2026-08-29 01:04:02 +02:00
lizzie
a41a98028a
[hle/service] stub missing homebrew services, fix NPad/caps crashes ( #4264 )
...
Signed-off-by: lizzie <lizzie@eden-emu.dev >
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions ).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md )
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md ) to the best of my ability.
-------------------
this PR adds various missing services (acc:e, acc:e:u1)
to expand homebrew compatibility
notably this also fixes NPad related crashes due to nullref
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4264
Reviewed-by: Maufeat <sahyno1996@gmail.com >
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com >
2026-08-18 18:11:33 +02:00
lizzie
58dee53305
[fmt] use {#:x} instead of 0x{:#x} ( #4170 )
...
continuation of #309 but applying to even more files than before :)
also makes them lowercase because `0xfafafa` is better as `0XFAFAFA`
Signed-off-by: lizzie <lizzie@eden-emu.dev >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4170
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com >
Reviewed-by: Maufeat <sahyno1996@gmail.com >
2026-07-25 21:47:07 +02:00
Maufeat
a90ba7f6ac
[hle] stub SetMouseLibraryVersion ( #4222 )
...
fix for Avatar Legends
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4222
Reviewed-by: crueter <crueter@eden-emu.dev >
Reviewed-by: MaranBr <maranbr@eden-emu.dev >
2026-07-24 18:38:30 +02:00
lizzie
41762940d6
[common] rework BitField and BitUtil, use concepts whenever possible ( #4076 )
...
test no regressions especially on Liiinux
Signed-off-by: lizzie <lizzie@eden-emu.dev >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4076
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com >
Reviewed-by: MaranBr <maranbr@eden-emu.dev >
2026-07-09 03:47:04 +02:00
lizzie
1b482fa99b
[hle] remove parent object reference data on Request/Response builders, pass by argument ( #3774 )
...
anyways this should remove a bunch of redundant code/stack usage for response builders (ahem, msvc)
SHOULD help games that use IPC heavily like PKZA and whatnot
biblical levels of performance greed
Signed-off-by: lizzie <lizzie@eden-emu.dev >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3774
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com >
Reviewed-by: Maufeat <sahyno1996@gmail.com >
2026-06-29 08:11:12 +02:00
lizzie
3aa0d46259
[video_core, hle] remove redundant parent references in system structs ( #3908 )
...
reworked a bit to remove references of parent objects and instead pass as arguments to methods to prevent useless reloads
Signed-off-by: lizzie <lizzie@eden-emu.dev >
Co-authored-by: maufeat <sahyno1996@gmail.com >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3908
Reviewed-by: Maufeat <sahyno1996@gmail.com >
Reviewed-by: crueter <crueter@eden-emu.dev >
2026-06-23 06:31:25 +02:00
lizzie
395613b01f
[common/logging] Simplify logging logic and fix issues when logging before system is created ( #3688 )
...
- our logging code was bigger than spdlog itself, why???? just keep it simple
- fix issues when logging before logging system is even started
- removes the "initialized logging twice" issue
- removes uneeded indirection in file logging
- uses direct formatting instead of jumping hoopla-around the fmt::format() ressult
- code duplication and dead code removal as usual
I did explore dup2() but I think it's not worth the hassle
I did try `fwopen()` but it's better if things are just kept as-is.
there is a lot of noise because I removed a bunch of redundant files on logging and just put everything in one file
now normally this wouldn't be a good idea, however consider: the complexity of logging; it's less than 500 lines... does it really need a whole subsystem?!?!?! ITS JUST LOGGING
Signed-off-by: lizzie <lizzie@eden-emu.dev >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3688
Reviewed-by: crueter <crueter@eden-emu.dev >
Reviewed-by: DraVee <chimera@dravee.dev >
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com >
Co-authored-by: lizzie <lizzie@eden-emu.dev >
Co-committed-by: lizzie <lizzie@eden-emu.dev >
2026-03-12 18:29:15 +01:00
Maufeat
1d869e8495
[hle] stubbed extra services from (parental controls and stuff) fw21 ( #3175 )
...
Adds more Firmware 20+ related service commands.
Renames existing service commands according to switchbrew docs,
Unstubs new parental service stuff.
Signed-off-by: lizzie lizzie@eden-emu.dev
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3175
Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com >
Reviewed-by: Lizzie <lizzie@eden-emu.dev >
Co-authored-by: Maufeat <sahyno1996@gmail.com >
Co-committed-by: Maufeat <sahyno1996@gmail.com >
2025-12-18 21:46:00 +01:00
lizzie
7d239df065
[hle, kernel] Add support for FW21 and kernel changes ( #3004 )
...
- Adapts kernel changes from atmosphere for firmware 21.0.0.
- Fixes launch error of firmware 21.0.0 applets.
- Adds new commands for `prepo` (New `SaveSystemReport` & `SaveSystemReportWithUser`).
- Adds new commands for `IReadOnlyApplicationControlDataInterface` (cmd 19; incomplete!)
- Adds `{12010, nullptr, "SetButtonConfigLeft"},` undocumented IHidServer.
- Adds new commands for `ngc:u` (`Mask2` and `Check2`)
- Adds new commands for system settings server (GetHttpAuthConfig) for webapplet
- Removes incompatible firmware popup warning.
Signed-off-by: lizzie lizzie@eden-emu.dev
Co-authored by: maufeat sahyno1996@gmail.com
Co-authored-by: crueter <crueter@eden-emu.dev >
Co-authored-by: JPikachu <jpikachu.eden@gmail.com >
Co-authored-by: Maufeat <sahyno1996@gmail.com >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3004
Reviewed-by: Maufeat <sahyno1996@gmail.com >
Reviewed-by: crueter <crueter@eden-emu.dev >
Reviewed-by: MaranBr <maranbr@eden-emu.dev >
Co-authored-by: lizzie <lizzie@eden-emu.dev >
Co-committed-by: lizzie <lizzie@eden-emu.dev >
2025-11-16 22:15:09 +01:00
lizzie
191e4c75a1
[meta] fix license headers ( #2547 )
...
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2547
Reviewed-by: MaranBr <maranbr@eden-emu.dev >
Co-authored-by: lizzie <lizzie@eden-emu.dev >
Co-committed-by: lizzie <lizzie@eden-emu.dev >
2025-09-21 21:58:59 +02:00
lizzie
9d2681ecc9
[cmake] enable clang-cl and WoA builds ( #348 )
...
Compilation and CMake fixes for both Windows on ARM and clang-cl, meaning Windows can now be built on both MSVC and clang on both amd64 and aarch64.
Compiling on clang is *dramatically* faster so this should be useful for CI.
Co-authored-by: crueter <crueter@eden-emu.dev >
Co-authored-by: crueter <crueter@crueter.xyz >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/348
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com >
Reviewed-by: crueter <crueter@eden-emu.dev >
Co-authored-by: lizzie <lizzie@eden-emu.dev >
Co-committed-by: lizzie <lizzie@eden-emu.dev >
2025-09-09 20:47:49 +02:00
lizzie
9d53933a95
[fmt] use {:#X} for format instead of 0x{:X} ( #309 )
...
Signed-off-by: lizzie <lizzie@eden-emu.dev >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/309
Reviewed-by: crueter <crueter@eden-emu.dev >
Co-authored-by: lizzie <lizzie@eden-emu.dev >
Co-committed-by: lizzie <lizzie@eden-emu.dev >
2025-08-27 22:39:11 +02:00
Maufeat
2e6a289a0b
Add Airplane Mode + Host Network Interface Details ( #204 )
...
Adds Airplane Mode function to settings, host states, etc.
Windows implemented only for now.
Closes #203
Co-authored-by: crueter <swurl@swurl.xyz >
Co-authored-by: Aleksandr Popovich <alekpopo@pm.me >
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/204
Co-authored-by: Maufeat <sahyno1996@gmail.com >
Co-committed-by: Maufeat <sahyno1996@gmail.com >
2025-06-26 18:55:34 +00:00
Pavel Barabanov
846ec85f24
[hid] stub for ActivateDebugMouse
2025-06-24 07:13:07 +03:00
Pavel Barabanov
dbd745138e
returned several services
2025-05-12 03:56:25 +03:00
Pavel Barabanov
5608ab1cd4
everything related to the FW 20 has been deleted.
2025-05-11 20:18:26 -04:00
Pavel Barabanov
d55e400c7c
started adding services for firmware 20.0.0 without implementation
2025-05-03 06:15:23 +03:00
EmulationEnjoyer
d5bb26bf3e
Implement HID function stub "SetGestureOutputRanges" ( #105 )
...
Add function stub for "SetGestureOutputRanges" in HID service
Fixes userspace panic when booting Donkey Kong Country Returns HD:
> Debug <Critical> core\hle\service\service.cpp:operator ():78: Assertion Failed!
Unknown / unimplemented function '92(<unknown>)': port='hid' cmd_buf={[0]=0x6, [1]=0x8000000C, [2]=0x1, [3]=0x0, [4]=0x4F434653, [5]=0x0, [6]=0x0, [7]=0x0, [8]=0x49434653}
> Service.AM <Info> core\hle\service\am\service\application_functions.cpp:SetTerminateResult:187: (STUBBED) called, result=0x1a80a (2010-0212)
> Debug.Emulated <Critical> core\hle\kernel\svc\svc_exception.cpp:Break:52: Userspace PANIC! info1=0x0000001086D02C4C, info2=0x0000000000000004
> Debug.Emulated <Critical> core\hle\kernel\svc\svc_exception.cpp:operator ():33: debug_buffer_err_code=1A80A
> Debug.Emulated <Critical> core\hle\kernel\svc\svc_exception.cpp:Break:102: Emulated program broke execution! reason=0x0000000000000000, info1=0x0000001086D02C4C, info2=0x0000000000000004
ref: https://git.citron-emu.org/Citron/Citron/commit/132077e18f491d12d305e94f594470d6b93e8d8d

Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/105
Co-authored-by: EmulationEnjoyer <emulationenjoyer@noreply.localhost >
Co-committed-by: EmulationEnjoyer <emulationenjoyer@noreply.localhost >
2025-04-04 03:40:49 +02:00
yuzubot
c280f95b1a
"Merge Tagged PR 13018"
2024-03-03 13:02:50 +00:00
liamwhite
3f719aed35
Merge pull request #13135 from german77/hid-interface
...
service: hid: Migrate HidServer to new IPC
2024-02-27 12:26:26 -05:00
Narr the Reg
d77cb74cb2
service: hid: Add IsAnyCustomButtonConfigEnabled for QLaunch
2024-02-23 18:58:51 -06:00
Narr the Reg
9d2a7fba97
service: hid: Migrate HidServer to new IPC
2024-02-23 17:49:02 -06:00
Narr the Reg
c10b688712
service: hid: Move and migrate AppletResource and ActiveVibrationDevice
2024-02-23 17:49:02 -06:00
Narr the Reg
b765a7e22c
service: hid: Free npad applet resource
2024-02-08 18:50:54 -06:00
Narr the Reg
0201a87e4f
service: hid: Migrate hidbus to new interface
2024-02-07 18:07:32 -06:00
liamwhite
e91763d920
Merge pull request #12933 from german77/irs-interface
...
service: irs: Migrate service to new interface
2024-02-06 10:24:30 -05:00
german77
ce7db5d075
service: hid: Migrate hid debug service to new interface
2024-02-06 00:38:46 -06:00
german77
bc3955e125
service: irs: Migrate service to new interface
2024-02-06 00:14:16 -06:00
liamwhite
6e85d48a8b
Merge pull request #12780 from german77/touch_resource5
...
service: hid: Fully implement touch resource
2024-02-01 11:33:44 -05:00
Narr the Reg
ac45bf3adb
service: hid: Implement GetPlayerLedPattern accurately
2024-01-30 10:57:03 -06:00
Narr the Reg
575f4308e0
service: hid: Fully implement touch resource
2024-01-28 18:27:25 -06:00
Narr the Reg
df295231b8
service: set: Implement more settings functions for Qlaunch
2024-01-25 17:14:18 -06:00
Narr the Reg
4af74a15a8
service: hid: Implement EnableAppletForInput
2024-01-21 14:05:18 -06:00
liamwhite
48d9e11d9d
Merge pull request #12660 from german77/better-vibration
...
service: hid: Fully implement abstract vibration
2024-01-20 13:34:54 -05:00
Narr the Reg
4acc872fce
service: set: Implement stubbed functions
2024-01-15 23:17:03 -06:00
Narr the Reg
e2313faec9
service: hid: Fully implement abstract vibration
2024-01-15 23:15:40 -06:00
Liam
bf50a0e0c2
kernel: fix debugger and process list lifetime
2024-01-12 18:31:33 -05:00
german77
194746c558
service: hid: Create abstracted pad structure
2024-01-11 19:35:04 -06:00
Viktor Szépe
cff668e1c4
Fix typos in src/core ( #12625 )
...
* Fix typos in src/core
* Fix typo correction
* Fix indentation of MemoryStateNames
* Fix indent
2024-01-08 13:31:48 -06:00