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:
parent
74e9ede3b2
commit
f60710603b
@ -113,7 +113,7 @@ radeon_hd_init(radeon_info &info)
|
|||||||
if (info.shared_info->device_chipset >= RADEON_R800) {
|
if (info.shared_info->device_chipset >= RADEON_R800) {
|
||||||
// R800+ has memory stored in MB
|
// R800+ has memory stored in MB
|
||||||
info.shared_info->graphics_memory_size
|
info.shared_info->graphics_memory_size
|
||||||
= read32(info.registers + R6XX_CONFIG_MEMSIZE) * 1024;
|
= read32(info.registers + R6XX_CONFIG_MEMSIZE) << 10;
|
||||||
} else {
|
} else {
|
||||||
// R600-R700 has memory stored in bytes
|
// R600-R700 has memory stored in bytes
|
||||||
info.shared_info->graphics_memory_size
|
info.shared_info->graphics_memory_size
|
||||||
|
Loading…
Reference in New Issue
Block a user