be more consistent in bitwise unit conversions

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41534 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alexander von Gluck IV 2011-05-16 14:46:23 +00:00
parent 74e9ede3b2
commit f60710603b

View File

@ -113,7 +113,7 @@ radeon_hd_init(radeon_info &info)
if (info.shared_info->device_chipset >= RADEON_R800) {
// R800+ has memory stored in MB
info.shared_info->graphics_memory_size
= read32(info.registers + R6XX_CONFIG_MEMSIZE) * 1024;
= read32(info.registers + R6XX_CONFIG_MEMSIZE) << 10;
} else {
// R600-R700 has memory stored in bytes
info.shared_info->graphics_memory_size