Default to BasiliskII_keycodes file on Windows if user wants keycodes but

no keycodefile is specified
This commit is contained in:
gbeauche 2005-03-17 00:19:39 +00:00
parent dd7b09ebe8
commit fcb323c511

View File

@ -82,7 +82,11 @@ static int display_type = DISPLAY_WINDOW; // See enum above
#endif
// Constants
#ifdef WIN32
const char KEYCODE_FILE_NAME[] = "BasiliskII_keycodes";
#else
const char KEYCODE_FILE_NAME[] = DATADIR "/keycodes";
#endif
// Global variables