mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 10:41:15 +00:00
Improvements
This commit is contained in:
parent
a58ceeb85c
commit
5086b0f9f3
@ -373,11 +373,11 @@ void MxDisplaySurface::VTable0x28(
|
||||
while (p_height--) {
|
||||
MxU8* surfaceBefore = surface;
|
||||
|
||||
for (MxS32 i = 0; p_width > i; *(surface - 1) = *(data - 1)) {
|
||||
MxU8 element = *data++;
|
||||
surface += 2;
|
||||
++i;
|
||||
*(surface - 2) = element;
|
||||
for (MxS32 i = 0; p_width > i; i++) {
|
||||
MxU8 element = *data;
|
||||
*surface++ = element;
|
||||
data++;
|
||||
*surface++ = *(data - 1);
|
||||
}
|
||||
|
||||
data += v22;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user