|
|
| version 1.6, 2004/03/23 22:39:40 | version 1.8, 2005/02/07 14:46:10 |
|---|---|
| Line 4 | Line 4 |
| #include "cpucore.h" | #include "cpucore.h" |
| #include "pccore.h" | #include "pccore.h" |
| #include "iocore.h" | #include "iocore.h" |
| #include "bios.h" | |
| #include "sound.h" | #include "sound.h" |
| #include "fmboard.h" | #include "fmboard.h" |
| #include "np2info.h" | #include "np2info.h" |
| Line 306 static void info_extsnd(char *str, int m | Line 305 static void info_extsnd(char *str, int m |
| static void info_bios(char *str, int maxlen, NP2INFOEX *ex) { | static void info_bios(char *str, int maxlen, NP2INFOEX *ex) { |
| str[0] = '\0'; | str[0] = '\0'; |
| if (biosrom) { | if (pccore.rom & PCROM_BIOS) { |
| milstr_ncat(str, str_biosrom, maxlen); | milstr_ncat(str, str_biosrom, maxlen); |
| } | } |
| if (soundrom.name[0]) { | if (soundrom.name[0]) { |
| Line 441 const INFOPROC *infterm; | Line 440 const INFOPROC *infterm; |
| } | } |
| infwork[leng] = '\0'; | infwork[leng] = '\0'; |
| inf = infoproc; | inf = infoproc; |
| infterm = infoproc + (sizeof(infoproc) / sizeof(INFOPROC)); | infterm = infoproc + NELEMENTS(infoproc); |
| while(inf < infterm) { | while(inf < infterm) { |
| if (!milstr_cmp(infwork, inf->key)) { | if (!milstr_cmp(infwork, inf->key)) { |
| inf->proc(dst, maxlen, &statex); | inf->proc(dst, maxlen, &statex); |