OSDN Git Service

[OSD][I8259] I lacked I8259_MAX_CHIPS (;´Д`)
authorK.Ohta <whatisthis.sowhat@gmail.com>
Sat, 27 May 2017 12:36:29 +0000 (21:36 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Sat, 27 May 2017 12:36:29 +0000 (21:36 +0900)
source/src/qt/osd.cpp

index 2f4a123..3c4db64 100644 (file)
@@ -768,6 +768,9 @@ void OSD::set_features_vm(void)
 #ifdef HAS_MB89311
        add_feature(_T("HAS_MB89311"), 1);
 #endif
+#ifdef I8259_MAX_CHIPS
+       add_feature(_T("I8259_MAX_CHIPS"), (uint32_t)I8259_MAX_CHIPS);
+#endif
 #ifdef I8080_MEMORY_WAIT
        add_feature(_T("I8080_MEMORY_WAIT"), 1);
 #endif