diff options
-rw-r--r-- | backends/platform/psp/psppixelformat.h | 4 |
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; |