PSP: Fix bad indentation

This commit is contained in:
Colin Snover 2017-10-28 15:27:09 -05:00 committed by Eugene Sandulenko
parent e49e34eede
commit 7016c86d53

View file

@ -103,13 +103,13 @@ private:
static void swap32Misaligned(uint32 *dst32, const uint16 *src16, uint32 bytes, PSPPixelFormat &format); static void swap32Misaligned(uint32 *dst32, const uint16 *src16, uint32 bytes, PSPPixelFormat &format);
// For swapping, we know that we have multiples of 16 bits // For swapping, we know that we have multiples of 16 bits
static void swap16(uint16 *dst16, const uint16 *src16, uint32 bytes, PSPPixelFormat &format) { static void swap16(uint16 *dst16, const uint16 *src16, uint32 bytes, PSPPixelFormat &format) {
PSP_DEBUG_PRINT("swap16 called with dst16[%p], src16[%p], bytes[%d]\n", dst16, src16, bytes); PSP_DEBUG_PRINT("swap16 called with dst16[%p], src16[%p], bytes[%d]\n", dst16, src16, bytes);
uint32 shorts = bytes >> 1; uint32 shorts = bytes >> 1;
while (shorts--) { while (shorts--) {
*dst16++ = format.swapRedBlue16(*src16++); *dst16++ = format.swapRedBlue16(*src16++);
}
} }
}
public: public:
static void fastSwap(byte *dst, const byte *src, uint32 bytes, PSPPixelFormat &format) { static void fastSwap(byte *dst, const byte *src, uint32 bytes, PSPPixelFormat &format) {