Sync with MESS

This commit is contained in:
Nathan Woods 2008-01-18 12:39:13 +00:00
parent b9fe1e4bcf
commit cb29c57606
2 changed files with 5 additions and 1 deletions

View File

@ -619,18 +619,22 @@ static void i8039_init (int index, int clock, const void *config, int (*irqcallb
R.timer = 0;
}
#if (HAS_I8035)
static void i8035_init (int index, int clock, const void *config, int (*irqcallback)(int))
{
i8039_init(index, clock, config, irqcallback);
R.ram_mask = 0x3F;
R.int_rom_size = 0x400;
}
#endif /* HAS_I8035 */
#if (HAS_M58715)
static void m58715_init (int index, int clock, const void *config, int (*irqcallback)(int))
{
i8039_init(index, clock, config, irqcallback);
R.cpu_feature = FEATURE_M58715;
}
#endif /* HAS_M58715 */
/****************************************************************************
* Reset registers to their initial values

View File

@ -979,7 +979,7 @@ static int sprintf_warnings(char *buffer)
/* add one line per warning flag */
#ifdef MESS
if (Machine->gamedrv->flags & GAME_COMPUTER)
bufptr += sprintf(bufptr, "%s\n\n%s\n", ui_getstring(UI_comp1), ui_getstring(UI_comp2));
bufptr += sprintf(bufptr, "%s\n\n%s\n", "The emulated system is a computer: ", "The keyboard emulation may not be 100% accurate.");
#endif
if (Machine->gamedrv->flags & GAME_IMPERFECT_COLORS)
bufptr += sprintf(bufptr, "The colors aren't 100%% accurate.\n");