From c6d41c07558eb74a18e88b3fc68c5ec76bb3f9fe Mon Sep 17 00:00:00 2001 From: Neil Millstone Date: Fri, 6 Apr 2007 18:34:53 +0000 Subject: Updating DS port for changes in main codebase. Code changes for DevkitArm r20 and latest libnds. svn-id: r26394 --- backends/platform/ds/arm9/source/blitters.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'backends/platform/ds/arm9/source/blitters.cpp') diff --git a/backends/platform/ds/arm9/source/blitters.cpp b/backends/platform/ds/arm9/source/blitters.cpp index 105578e97a..7d1e0e4402 100644 --- a/backends/platform/ds/arm9/source/blitters.cpp +++ b/backends/platform/ds/arm9/source/blitters.cpp @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * */ - + #include "stdafx.h" #define CHARSET_MASK_TRANSPARENCY 253 @@ -298,8 +298,8 @@ static inline void Rescale_320x1555Scanline_To_256x1555Scanline(u16* dest, const void Rescale_320x256xPAL8_To_256x256x1555(u16* dest, const u8* src, const u16* palette, int destStride, int srcStride) { - u32* fastRam = (u32 *) (0x37F8000 + 16384); - + u32 fastRam[768]; + // Palette lookup -> 0_888 for(size_t i=0; i<256; ++i) { -- cgit v1.2.3