mirror of
https://github.com/Creased/RCM-Emulator.git
synced 2026-12-06 02:48:11 +01:00
Add dock clone modes
This commit is contained in:
1 parent
41245dc22b
commit
afc3dfe28a
3 files changed
+17
-1
No files matched your search
@@ -513,6 +513,10 @@ struct EmuState {
|
||||
// adapter, 3 Nintendo charger; tv=0/1. --dock overrides.
|
||||
std::atomic<uint8_t> dock_kind{0};
|
||||
std::atomic<bool> dock_tv{true};
|
||||
// A clone of the Nintendo dock: 1 (--dock nintendo:clone) answers the
|
||||
// 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};
|
||||
std::atomic<uint16_t> usb_pd_voltage_mv{5000};
|
||||
std::atomic<uint16_t> usb_pd_amperage_ma{1500};
|
||||
|
||||
|
||||
Reference in new issue
Block a user