mirror of
https://github.com/holub/mame
synced 2025-10-06 09:00:04 +03:00
Sync with MESS
This commit is contained in:
parent
b9fe1e4bcf
commit
cb29c57606
@ -619,18 +619,22 @@ static void i8039_init (int index, int clock, const void *config, int (*irqcallb
|
|||||||
R.timer = 0;
|
R.timer = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if (HAS_I8035)
|
||||||
static void i8035_init (int index, int clock, const void *config, int (*irqcallback)(int))
|
static void i8035_init (int index, int clock, const void *config, int (*irqcallback)(int))
|
||||||
{
|
{
|
||||||
i8039_init(index, clock, config, irqcallback);
|
i8039_init(index, clock, config, irqcallback);
|
||||||
R.ram_mask = 0x3F;
|
R.ram_mask = 0x3F;
|
||||||
R.int_rom_size = 0x400;
|
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))
|
static void m58715_init (int index, int clock, const void *config, int (*irqcallback)(int))
|
||||||
{
|
{
|
||||||
i8039_init(index, clock, config, irqcallback);
|
i8039_init(index, clock, config, irqcallback);
|
||||||
R.cpu_feature = FEATURE_M58715;
|
R.cpu_feature = FEATURE_M58715;
|
||||||
}
|
}
|
||||||
|
#endif /* HAS_M58715 */
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Reset registers to their initial values
|
* Reset registers to their initial values
|
||||||
|
@ -979,7 +979,7 @@ static int sprintf_warnings(char *buffer)
|
|||||||
/* add one line per warning flag */
|
/* add one line per warning flag */
|
||||||
#ifdef MESS
|
#ifdef MESS
|
||||||
if (Machine->gamedrv->flags & GAME_COMPUTER)
|
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
|
#endif
|
||||||
if (Machine->gamedrv->flags & GAME_IMPERFECT_COLORS)
|
if (Machine->gamedrv->flags & GAME_IMPERFECT_COLORS)
|
||||||
bufptr += sprintf(bufptr, "The colors aren't 100%% accurate.\n");
|
bufptr += sprintf(bufptr, "The colors aren't 100%% accurate.\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user