1
0
Fork 0
forked from len0rd/rockbox

Ooops #2 - fix sim builds. The dbg_save_roms function will work on all PP targets apart from the Sansa. Using CPU_PP prevents attempted compilation in the sim.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12469 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2007-02-23 23:44:59 +00:00
parent 9467eeafe3
commit d39b6ea1dc

View file

@ -1983,7 +1983,7 @@ static bool dbg_save_roms(void)
return false;
}
#elif defined(IPOD_ARCH) || defined(IRIVER_H10) || defined(IRIVER_H10_5GB)
#elif defined(CPU_PP) && !defined(SANSA_E200)
static bool dbg_save_roms(void)
{
int fd;
@ -2320,7 +2320,7 @@ bool debug_menu(void)
#endif
#if CONFIG_CPU == SH7034 || defined(CPU_COLDFIRE) || \
defined(IPOD_ARCH) || defined(IRIVER_H10) || defined(IRIVER_H10_5GB)
(defined(CPU_PP) && !defined(SANSA_E200))
{ "Dump ROM contents", dbg_save_roms },
#endif
#if CONFIG_CPU == SH7034 || defined(CPU_COLDFIRE) || defined(CPU_PP)