mirror of https://github.com/PCSX2/pcsx2.git
zzogl-pg: A few Windows changes, and fix an incorrect variable type.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3450 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
fded5fc218
commit
fab3d1d4b7
|
@ -645,7 +645,7 @@ typedef struct
|
|||
((a & 0xff) << 24);
|
||||
}
|
||||
|
||||
void add_vertex(u16 x, u16 y, u32 z, float f)
|
||||
void add_vertex(u16 x, u16 y, u32 z, u16 f)
|
||||
{
|
||||
vertexregs.x = x;
|
||||
vertexregs.y = y;
|
||||
|
|
|
@ -288,6 +288,10 @@ void CALLBACK GSwriteCSR(u32 write)
|
|||
gs.CSRw = write;
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
#define access _access
|
||||
#endif
|
||||
|
||||
void CALLBACK GSchangeSaveState(int newstate, const char* filename)
|
||||
{
|
||||
FUNCLOG
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#ifndef GIFTRANSFER_H_INCLUDED
|
||||
#define GIFTRANSFER_H_INCLUDED
|
||||
|
||||
#include "GS.h"
|
||||
#include "Regs.h"
|
||||
#include "Util.h"
|
||||
|
||||
|
|
|
@ -171,7 +171,7 @@ u64 DVProfWriteStruct(FILE* f, DVPROFSTRUCT* p, int ident)
|
|||
|
||||
list<DVPROFSTRUCT::DATA>::iterator ittime = p->listTimes.begin();
|
||||
|
||||
u32 utime = 0;
|
||||
u64 utime = 0;
|
||||
|
||||
while (ittime != p->listTimes.end())
|
||||
{
|
||||
|
@ -196,7 +196,7 @@ u64 DVProfWriteStruct(FILE* f, DVPROFSTRUCT* p, int ident)
|
|||
while (itprof != p->listpChild.end())
|
||||
{
|
||||
|
||||
uex -= DVProfWriteStruct(f, *itprof, ident + 4);
|
||||
uex -= (u32)DVProfWriteStruct(f, *itprof, ident + 4);
|
||||
++itprof;
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ void LoadConfig()
|
|||
GetPrivateProfileString("Settings", "AdvancedOptions", NULL, szValue, 20, iniFile.c_str());
|
||||
conf.hacks._u32 = strtoul(szValue, NULL, 10);
|
||||
GetPrivateProfileString("Settings", "Bilinear", NULL, szValue, 20, iniFile.c_str());
|
||||
conf.bilinear = strtoul(szValue, NULL, 10);
|
||||
conf.bilinear = (u8)strtoul(szValue, NULL, 10);
|
||||
GetPrivateProfileString("Settings", "Width", NULL, szValue, 20, iniFile.c_str());
|
||||
conf.width = strtoul(szValue, NULL, 10);
|
||||
GetPrivateProfileString("Settings", "Height", NULL, szValue, 20, iniFile.c_str());
|
||||
|
|
|
@ -289,6 +289,10 @@
|
|||
RelativePath="..\memcpy_amd.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\NewRegs.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Profile.cpp"
|
||||
>
|
||||
|
@ -421,6 +425,10 @@
|
|||
RelativePath="..\Mem_Transmit.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\NewRegs.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Profile.h"
|
||||
>
|
||||
|
@ -465,14 +473,6 @@
|
|||
RelativePath="..\x86.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ZZGl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ZZLog.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\zerogs.h"
|
||||
>
|
||||
|
@ -481,6 +481,14 @@
|
|||
RelativePath="..\zerogsmath.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ZZGl.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\ZZLog.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Resource Files"
|
||||
|
|
Loading…
Reference in New Issue