From e324dc1e9afbb6b8e98b07c4ab1af9a2f171e721 Mon Sep 17 00:00:00 2001 From: riccardom Date: Mon, 5 Apr 2010 13:00:51 +0000 Subject: [PATCH] Add missing cast. --- desmume/src/GPU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/GPU.cpp b/desmume/src/GPU.cpp index 23edbf1bd..ac7a6a9d6 100644 --- a/desmume/src/GPU.cpp +++ b/desmume/src/GPU.cpp @@ -880,7 +880,7 @@ template void lineLarge8bpp(GPU * gpu) //TODO - handle wrapping / out of bounds correctly from rot_scale_op? u32 tmp_map = gpu->BG_bmp_large_ram[num] + lg * YBG; - u8* map = MMU_gpu_map(tmp_map); + u8* map = (u8 *)MMU_gpu_map(tmp_map); u8* pal = MMU.ARM9_VMEM + gpu->core * ADDRESS_STEP_1KB;