mirror of
https://github.com/Creased/RCM-Emulator.git
synced 2026-12-06 02:48:11 +01:00
Add a late HPD dock mode
This commit is contained in:
1 parent
afc3dfe28a
commit
6e72741878
3 files changed
+11
-3
No files matched your search
@@ -347,7 +347,8 @@ int main(int argc, char *argv[]) {
|
||||
// "none"; append ":notv" for a dock with nothing on its HDMI,
|
||||
// ":clone" for one that answers the reads HOS docks with but
|
||||
// not the LED or hub messages, ":mute" for one that answers
|
||||
// none of the Nintendo dock's own messages.
|
||||
// none of the Nintendo dock's own messages, ":latehpd" for a
|
||||
// TV whose HPD comes 25 s after DisplayPort is configured.
|
||||
const char *d = argv[++i];
|
||||
uint8_t k = 0xFF;
|
||||
if (!strncmp(d, "nintendo", 8)) k = 1;
|
||||
@@ -361,6 +362,7 @@ int main(int argc, char *argv[]) {
|
||||
state.dock_kind = k;
|
||||
state.dock_tv = strstr(d, ":notv") == nullptr;
|
||||
state.dock_clone = strstr(d, ":mute") ? 2 : strstr(d, ":clone") ? 1 : 0;
|
||||
state.dock_late_hpd = strstr(d, ":latehpd") != nullptr;
|
||||
printf("[emu] Dock: %s%s [overrides ini]\n", d, "");
|
||||
} else if (strcmp(argv[i], "--oem") == 0 && i + 1 < argc) {
|
||||
const char *oem = argv[++i];
|
||||
|
||||
Reference in new issue
Block a user