|
|
| version 1.25, 2003/12/04 09:47:08 | version 1.26, 2003/12/04 13:54:28 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | #include "compiler.h" |
| #include "strres.h" | |
| #include "dosio.h" | #include "dosio.h" |
| #include "soundmng.h" | #include "soundmng.h" |
| #include "sysmng.h" | #include "sysmng.h" |
| Line 81 static const BYTE msw_default[8] = | Line 80 static const BYTE msw_default[8] = |
| // --------------------------------------------------------------------------- | // --------------------------------------------------------------------------- |
| void getbiospath(char *path, const char *fname, int maxlen) { | |
| const char *p; | |
| p = np2cfg.biospath; | |
| p = np2cfg.biospath; | |
| if (p[0]) { | |
| file_cpyname(path, p, maxlen); | |
| file_setseparator(path, maxlen); | |
| file_catname(path, fname, maxlen); | |
| } | |
| else { | |
| file_cpyname(path, file_getcd(fname), maxlen); | |
| } | |
| } | |
| // ---- | |
| static void setvsyncclock(void) { | static void setvsyncclock(void) { |
| UINT vfp; | UINT vfp; |
| Line 185 static void sound_term(void) { | Line 204 static void sound_term(void) { |
| void pccore_init(void) { | void pccore_init(void) { |
| char *p; | |
| p = np2cfg.biospath; | |
| if (p[0]) { | |
| file_setseparator(p, sizeof(np2cfg.biospath)); | |
| } | |
| else { | |
| file_cpyname(p, file_getcd(str_null), sizeof(np2cfg.biospath)); | |
| } | |
| i286_initialize(); | i286_initialize(); |
| pal_initlcdtable(); | pal_initlcdtable(); |