mirror of https://github.com/PCSX2/pcsx2.git
gsdx x64: quick fix for windows
Until we got a full implementation
This commit is contained in:
parent
268b4d9f9f
commit
0d275868a5
|
@ -484,7 +484,11 @@ void GSDrawScanlineCodeGenerator::Init_AVX()
|
||||||
{
|
{
|
||||||
// On linux, a2 is edx which will be used for fzm
|
// On linux, a2 is edx which will be used for fzm
|
||||||
// In all case, it will require a mov in dthe code, so let's keep the value on the stack
|
// In all case, it will require a mov in dthe code, so let's keep the value on the stack
|
||||||
|
#ifdef _WIN64
|
||||||
|
ASSERT(0);
|
||||||
|
#else
|
||||||
mov(ptr[rsp + _rz_top], a2);
|
mov(ptr[rsp + _rz_top], a2);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
mov(_m_local__gd__vm, _rip_global(vm));
|
mov(_m_local__gd__vm, _rip_global(vm));
|
||||||
|
@ -1821,7 +1825,11 @@ void GSDrawScanlineCodeGenerator::WriteFrame_AVX()
|
||||||
{
|
{
|
||||||
// y = (top & 3) << 5
|
// y = (top & 3) << 5
|
||||||
|
|
||||||
|
#ifdef _WIN64
|
||||||
|
ASSERT(0);
|
||||||
|
#else
|
||||||
mov(eax, ptr[rsp + _rz_top]);
|
mov(eax, ptr[rsp + _rz_top]);
|
||||||
|
#endif
|
||||||
and(eax, 3);
|
and(eax, 3);
|
||||||
shl(eax, 5);
|
shl(eax, 5);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue