mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-22 17:47:20 +03:00
Changes were made to allow compilation in Carbide C++ 2.7 and the Nokia S60v5 SDK. Important code from the OpenGL ES 1.1 backend was commented out since it prevented compilation
This commit is contained in:
parent
558f1b9f32
commit
33a8324d08
48 changed files with 486 additions and 295 deletions
6
vendor/librw/src/image.cpp
vendored
6
vendor/librw/src/image.cpp
vendored
|
|
@ -413,9 +413,9 @@ flipAlphaBlock5_half(uint8 *dst, uint8 *src)
|
|||
dst[1] = src[1];
|
||||
// bits
|
||||
uint64 bits = *(uint64*)&src[2];
|
||||
uint64 flipbits = bits & 0xFFFFFF000000;
|
||||
flipbits |= (bits>>12) & 0xFFF;
|
||||
flipbits |= (bits<<12) & 0xFFF000;
|
||||
uint64 flipbits = bits & 0xFFFFFF000000ULL;
|
||||
flipbits |= (bits>>12) & 0xFFFULL;
|
||||
flipbits |= (bits<<12) & 0xFFF000ULL;
|
||||
memcpy(dst+2, &flipbits, 6);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue