diff -r c1f20ce4abcf -r 3e88ff8f41d5 kerneltest/e32test/video/t_video.cpp --- a/kerneltest/e32test/video/t_video.cpp Tue Aug 31 16:34:26 2010 +0300 +++ b/kerneltest/e32test/video/t_video.cpp Wed Sep 01 12:34:56 2010 +0100 @@ -420,6 +420,7 @@ TInt count; + TInt fourBppMode = -1; for (count = 0; count < totalModes; count++) { @@ -455,6 +456,9 @@ ret = HAL::Get(HAL::EDisplayBitsPerPixel, HALArg); test (KErrNone == ret); + if (HALArg == 4) + fourBppMode = count; + } @@ -1031,6 +1035,8 @@ TInt count; + TInt fourBppMode = -1; + for (count = 0; count < totalModes; count++) { @@ -1065,6 +1071,9 @@ ret = HAL::Get(screen, HAL::EDisplayBitsPerPixel, HALArg); test (KErrNone == ret); + if (HALArg == 4) + fourBppMode = count; + }