diff options
author | Dave Chapman <dave@dchapman.com> | 2007-02-23 23:44:59 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2007-02-23 23:44:59 +0000 |
commit | d39b6ea1dcdcf3e62263f3384c57847d51212726 (patch) | |
tree | 4e4edbe81b46b82d94ee4e900ed35e243c008eb4 /apps | |
parent | 9467eeafe3d465a0940de5336c53bc3607cf132c (diff) | |
download | rockbox-d39b6ea1dcdcf3e62263f3384c57847d51212726.tar.gz rockbox-d39b6ea1dcdcf3e62263f3384c57847d51212726.zip |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/debug_menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index fed25635fa..6df8f6bbef 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -1983,7 +1983,7 @@ static bool dbg_save_roms(void) | |||
1983 | 1983 | ||
1984 | return false; | 1984 | return false; |
1985 | } | 1985 | } |
1986 | #elif defined(IPOD_ARCH) || defined(IRIVER_H10) || defined(IRIVER_H10_5GB) | 1986 | #elif defined(CPU_PP) && !defined(SANSA_E200) |
1987 | static bool dbg_save_roms(void) | 1987 | static bool dbg_save_roms(void) |
1988 | { | 1988 | { |
1989 | int fd; | 1989 | int fd; |
@@ -2320,7 +2320,7 @@ bool debug_menu(void) | |||
2320 | 2320 | ||
2321 | #endif | 2321 | #endif |
2322 | #if CONFIG_CPU == SH7034 || defined(CPU_COLDFIRE) || \ | 2322 | #if CONFIG_CPU == SH7034 || defined(CPU_COLDFIRE) || \ |
2323 | defined(IPOD_ARCH) || defined(IRIVER_H10) || defined(IRIVER_H10_5GB) | 2323 | (defined(CPU_PP) && !defined(SANSA_E200)) |
2324 | { "Dump ROM contents", dbg_save_roms }, | 2324 | { "Dump ROM contents", dbg_save_roms }, |
2325 | #endif | 2325 | #endif |
2326 | #if CONFIG_CPU == SH7034 || defined(CPU_COLDFIRE) || defined(CPU_PP) | 2326 | #if CONFIG_CPU == SH7034 || defined(CPU_COLDFIRE) || defined(CPU_PP) |