aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp
diff options
context:
space:
mode:
authorMax Horn2010-04-12 09:14:37 +0000
committerMax Horn2010-04-12 09:14:37 +0000
commitfc40276ed7cfa0bce5394e0f2736513ae0b53cea (patch)
tree23e61d7f5a64a4ce041a2813bef24dc3e2b55f2d /backends/platform/psp
parenta1840bd5732473e3144857c74716ec2d6e4338c2 (diff)
downloadscummvm-rg350-fc40276ed7cfa0bce5394e0f2736513ae0b53cea.tar.gz
scummvm-rg350-fc40276ed7cfa0bce5394e0f2736513ae0b53cea.tar.bz2
scummvm-rg350-fc40276ed7cfa0bce5394e0f2736513ae0b53cea.zip
formatting
svn-id: r48638
Diffstat (limited to 'backends/platform/psp')
-rw-r--r--backends/platform/psp/psppixelformat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/psp/psppixelformat.h b/backends/platform/psp/psppixelformat.h
index 2c74469f95..d824d75a5f 100644
--- a/backends/platform/psp/psppixelformat.h
+++ b/backends/platform/psp/psppixelformat.h
@@ -220,10 +220,10 @@ struct PSPPixelFormat {
switch (bitsPerPixel) {
case 4: // We can't distinguish a 4 bit color with a pointer
case 8:
- result = (uint32) * pointer;
+ result = *pointer;
break;
case 16:
- result = (uint32) * (uint16 *)pointer;
+ result = *(uint16 *)pointer;
break;
case 32:
result = *(uint32 *)pointer;