- Do some minor code cleanup.
This commit is contained in:
rogerman 2016-07-30 01:49:47 +00:00
parent 7dae5d2206
commit b053c562d0
1 changed files with 2 additions and 2 deletions

View File

@ -6636,8 +6636,8 @@ void GPUEngineA::_HandleDisplayModeMainMemory(const size_t l)
template<bool ISDEBUGRENDER, bool MOSAIC, bool WILLPERFORMWINDOWTEST, bool COLOREFFECTDISABLEDHINT, bool ISCUSTOMRENDERINGNEEDED> template<bool ISDEBUGRENDER, bool MOSAIC, bool WILLPERFORMWINDOWTEST, bool COLOREFFECTDISABLEDHINT, bool ISCUSTOMRENDERINGNEEDED>
void GPUEngineA::_LineLarge8bpp(GPUEngineCompositorInfo &compState) void GPUEngineA::_LineLarge8bpp(GPUEngineCompositorInfo &compState)
{ {
u16 XBG = this->_IORegisterMap->BGnOFS[compState.selectedLayerID].BGnHOFS.Offset; u16 XBG = compState.selectedBGLayer->xOffset;
u16 YBG = compState.lineIndexNative + this->_IORegisterMap->BGnOFS[compState.selectedLayerID].BGnVOFS.Offset; u16 YBG = compState.lineIndexNative + compState.selectedBGLayer->yOffset;
u16 lg = compState.selectedBGLayer->size.width; u16 lg = compState.selectedBGLayer->size.width;
u16 ht = compState.selectedBGLayer->size.height; u16 ht = compState.selectedBGLayer->size.height;
u16 wmask = (lg-1); u16 wmask = (lg-1);