diff --git a/LEGO1/omni/include/mxdisplaysurface.h b/LEGO1/omni/include/mxdisplaysurface.h index 15c0c043..a6925e3d 100644 --- a/LEGO1/omni/include/mxdisplaysurface.h +++ b/LEGO1/omni/include/mxdisplaysurface.h @@ -64,7 +64,7 @@ class MxDisplaySurface : public MxCore { MxS32 p_bottom, MxS32 p_width, MxS32 p_height, - MxBool p_und + MxBool p_RLE ); // vtable+0x30 virtual undefined4 VTable0x34( undefined4, diff --git a/LEGO1/omni/src/video/mxdisplaysurface.cpp b/LEGO1/omni/src/video/mxdisplaysurface.cpp index b8fde690..2d179d01 100644 --- a/LEGO1/omni/src/video/mxdisplaysurface.cpp +++ b/LEGO1/omni/src/video/mxdisplaysurface.cpp @@ -491,7 +491,7 @@ void MxDisplaySurface::VTable0x30( MxS32 p_bottom, MxS32 p_width, MxS32 p_height, - MxBool p_und + MxBool p_RLE ) { if (!GetRectIntersection( @@ -527,7 +527,7 @@ void MxDisplaySurface::VTable0x30( switch (m_surfaceDesc.ddpfPixelFormat.dwRGBBitCount) { case 8: { MxU8* surface = (MxU8*) ddsd.lpSurface + p_right + (p_bottom * ddsd.lPitch); - if (p_und) { + if (p_RLE) { MxS32 size = p_bitmap->GetBmiHeader()->biSizeImage; DrawTransparentRLE(data, surface, size, p_width, p_height, ddsd.lPitch, 8); } @@ -553,7 +553,7 @@ void MxDisplaySurface::VTable0x30( } case 16: { MxU8* surface = (MxU8*) ddsd.lpSurface + (2 * p_right) + (p_bottom * ddsd.lPitch); - if (p_und) { + if (p_RLE) { MxS32 size = p_bitmap->GetBmiHeader()->biSizeImage; DrawTransparentRLE(data, surface, size, p_width, p_height, ddsd.lPitch, 16); } diff --git a/tools/ncc/skip.yml b/tools/ncc/skip.yml index 4f39ddc8..06c6e0a5 100644 --- a/tools/ncc/skip.yml +++ b/tools/ncc/skip.yml @@ -13,6 +13,7 @@ m_HELDesc: 'Allow this variable name' p_HWDesc: 'Allow this variable name' p_HELDesc: 'Allow this variable name' e_RAMStream: 'Allow this enum constant' +p_RLE: 'Allow this parameter name' p_milliseconds: 'Probably a bug with function call' m_increaseAmount: "Can't currently detect member in union" m_increaseFactor: "Can't currently detect member in union"