Add a late HPD dock mode

This commit is contained in:
Baptiste MOINE committed 2026-11-13 13:38:17 +01:00
1 parent afc3dfe28a
commit 6e72741878
3 files changed
+11 -3

No files matched your search

+4
View File
@@ -517,6 +517,10 @@ struct EmuState {
// reads HOS docks with (state 0x16, 0x0B, 0x18) but not the LED or hub
// messages; 2 (nintendo:mute) answers none of the dock's own messages.
std::atomic<uint8_t> dock_clone{0};
// --dock ...:latehpd: the TV's HPD comes 25 s after the DisplayPort
// configuration instead of 150 ms (a VIA Labs adapter, 2109:0103,
// raised it after hwtest's 1.5 s wait; 25 s outlasts any wait).
std::atomic<bool> dock_late_hpd{false};
std::atomic<uint16_t> usb_pd_voltage_mv{5000};
std::atomic<uint16_t> usb_pd_amperage_ma{1500};