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