mirror of https://github.com/PCSX2/pcsx2.git
GSState: Mask A+D addresses. Fixes network configuration tool screen.
This commit is contained in:
parent
8f3b908e38
commit
b8ed34a277
|
@ -681,7 +681,7 @@ void GSState::GIFPackedRegHandlerFOG(const GIFPackedReg* RESTRICT r)
|
||||||
|
|
||||||
void GSState::GIFPackedRegHandlerA_D(const GIFPackedReg* RESTRICT r)
|
void GSState::GIFPackedRegHandlerA_D(const GIFPackedReg* RESTRICT r)
|
||||||
{
|
{
|
||||||
(this->*m_fpGIFRegHandlers[r->A_D.ADDR])(&r->r);
|
(this->*m_fpGIFRegHandlers[r->A_D.ADDR & 0x7F])(&r->r);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GSState::GIFPackedRegHandlerNOP(const GIFPackedReg* RESTRICT r)
|
void GSState::GIFPackedRegHandlerNOP(const GIFPackedReg* RESTRICT r)
|
||||||
|
@ -2188,7 +2188,7 @@ template<int index> void GSState::Transfer(const uint8* mem, uint32 size)
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
(this->*m_fpGIFRegHandlers[((GIFPackedReg*)mem)->A_D.ADDR])(&((GIFPackedReg*)mem)->r);
|
(this->*m_fpGIFRegHandlers[((GIFPackedReg*)mem)->A_D.ADDR & 0x7F])(&((GIFPackedReg*)mem)->r);
|
||||||
|
|
||||||
mem += sizeof(GIFPackedReg);
|
mem += sizeof(GIFPackedReg);
|
||||||
}
|
}
|
||||||
|
@ -2241,7 +2241,7 @@ template<int index> void GSState::Transfer(const uint8* mem, uint32 size)
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
(this->*m_fpGIFRegHandlers[path.GetReg()])((GIFReg*)mem);
|
(this->*m_fpGIFRegHandlers[path.GetReg() & 0x7F])((GIFReg*)mem);
|
||||||
|
|
||||||
mem += sizeof(GIFReg);
|
mem += sizeof(GIFReg);
|
||||||
size--;
|
size--;
|
||||||
|
|
Loading…
Reference in New Issue