| 6876 | } |
| 6877 | |
| 6878 | void GSState::GSTransferBuffer::Init(GIFRegTRXPOS& TRXPOS, GIFRegTRXREG& TRXREG, const GIFRegBITBLTBUF& blit, bool is_write) |
| 6879 | { |
| 6880 | x = is_write ? TRXPOS.DSAX : TRXPOS.SSAX; |
| 6881 | y = is_write ? TRXPOS.DSAY : TRXPOS.SSAY; |
| 6882 | w = TRXREG.RRW; |
| 6883 | h = TRXREG.RRH; |
| 6884 | rect = GSVector4i(x, y, x + w, y + h); |
| 6885 | total = 0; |
| 6886 | start = 0; |
| 6887 | end = 0; |
| 6888 | m_blit = blit; |
| 6889 | m_pos = TRXPOS; |
| 6890 | m_reg = TRXREG; |
| 6891 | write = is_write; |
| 6892 | } |
| 6893 | |
| 6894 | bool GSState::GSTransferBuffer::Update(int tw, int th, int bpp, int& len) |
| 6895 | { |
no test coverage detected