allow compiling without 32x and sms code

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@877 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2010-06-02 09:44:51 +00:00
parent 46bcb89971
commit f3a57b2d6c
10 changed files with 74 additions and 13 deletions

View file

@ -453,11 +453,14 @@ static void shutdown_MCD(void)
static void system_announce(void)
{
const char *sys_name, *tv_standard;
const char *sys_name, *tv_standard, *extra = "";
int fps;
if (PicoAHW & PAHW_SMS) {
sys_name = "Master System";
#ifdef NO_SMS
extra = " [no support]";
#endif
} else if (PicoAHW & PAHW_PICO) {
sys_name = "Pico";
} else if (PicoAHW & PAHW_MCD) {
@ -474,7 +477,7 @@ static void system_announce(void)
tv_standard = Pico.m.pal ? "PAL" : "NTSC";
fps = Pico.m.pal ? 50 : 60;
emu_status_msg("%s %s / %dFPS", tv_standard, sys_name, fps);
emu_status_msg("%s %s / %dFPS%s", tv_standard, sys_name, fps, extra);
}
// note: this function might mangle rom_fname