mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Unify 32mb and 64mb ipod video builds - FS#11580
Since memory on 32mb ipod videos is mapped twice, a 64mb build still has codecs and plugins mapped in a usable area. This means that all that needs to be done to support 32mb and 64mb boards with the same build is to adjust audiobufend to avoid using more than the actually present RAM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27960 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b9201e3c6f
commit
a1cf4ced83
7 changed files with 30 additions and 16 deletions
|
@ -422,6 +422,13 @@ static void init(void)
|
|||
#endif
|
||||
|
||||
system_init();
|
||||
#if defined(IPOD_VIDEO)
|
||||
audiobufend=(unsigned char *)audiobufend_lds;
|
||||
if(MEM==64 && probed_ramsize!=64)
|
||||
{
|
||||
audiobufend -= (32<<20);
|
||||
}
|
||||
#endif
|
||||
kernel_init();
|
||||
|
||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue