mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-18 12:04:17 +01:00
GSdx: mipmapping fix (ford mustang racing, and probably other games which use small, non-square textures)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4529 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
15f7b2b6d8
commit
732b038571
17 files changed
+194
-194
No files matched your search
@@ -21,37 +21,3 @@
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "GSFunctionMap.h"
|
||||
|
||||
void GSCodeGenerator::enter(uint32 size, bool align)
|
||||
{
|
||||
#ifdef _M_AMD64
|
||||
|
||||
push(r15);
|
||||
mov(r15, rsp);
|
||||
if(size > 0) sub(rsp, size);
|
||||
if(align) and(rsp, 0xfffffffffffffff0);
|
||||
|
||||
#else
|
||||
|
||||
push(ebp);
|
||||
mov(ebp, esp);
|
||||
if(size > 0) sub(esp, size);
|
||||
if(align) and(esp, 0xfffffff0);
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
void GSCodeGenerator::leave()
|
||||
{
|
||||
#ifdef _M_AMD64
|
||||
|
||||
mov(rsp, r15);
|
||||
pop(r15);
|
||||
|
||||
#else
|
||||
|
||||
mov(esp, ebp);
|
||||
pop(ebp);
|
||||
|
||||
#endif
|
||||
}
|
||||
Reference in new issue
Block a user