diff --git a/Source/gs/GSHandler.cpp b/Source/gs/GSHandler.cpp index 976d63ed..d968cd6e 100644 --- a/Source/gs/GSHandler.cpp +++ b/Source/gs/GSHandler.cpp @@ -544,13 +544,9 @@ void CGSHandler::BeginTransfer() if(trxDir == 0) { //From Host to Local - BITBLTBUF bltBuf; - TRXREG trxReg; - - bltBuf <<= m_nReg[GS_REG_BITBLTBUF]; - trxReg <<= m_nReg[GS_REG_TRXREG]; - - unsigned int nPixelSize; + auto bltBuf = make_convertible(m_nReg[GS_REG_BITBLTBUF]); + auto trxReg = make_convertible(m_nReg[GS_REG_TRXREG]); + unsigned int nPixelSize = 0; //We need to figure out the pixel size of the source stream switch(bltBuf.nDstPsm)