mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 14:57:46 -04:00
allow compiling without 32x and sms code
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@877 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
b120fe0431
commit
5049d472d7
2 changed files with 20 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue