forked from len0rd/rockbox
Fixed makefiles for autoconf.g include.
Fixed build output look in several Makefiles Fixed code to include autoconf.h Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d23afcd4f4
commit
b8a23f9e49
30 changed files with 187 additions and 178 deletions
|
|
@ -69,7 +69,7 @@ int readw(int a)
|
|||
byte *p = mbc.rmap[a>>12];
|
||||
if (p)
|
||||
{
|
||||
#ifdef LITTLE_ENDIAN
|
||||
#ifdef ROCKBOX_LITTLE_ENDIAN
|
||||
#ifndef ALLOW_UNALIGNED_IO
|
||||
if (a&1) return p[a] | (p[a+1]<<8);
|
||||
#endif
|
||||
|
|
@ -89,7 +89,7 @@ void writew(int a, int w)
|
|||
byte *p = mbc.wmap[a>>12];
|
||||
if (p)
|
||||
{
|
||||
#ifdef LITTLE_ENDIAN
|
||||
#ifdef ROCKBOX_LITTLE_ENDIAN
|
||||
#ifndef ALLOW_UNALIGNED_IO
|
||||
if (a&1)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue