mirror of https://github.com/PCSX2/pcsx2.git
64 bits: solve various of type problems
This commit is contained in:
parent
283f5236a5
commit
4211d51f07
|
@ -20,7 +20,7 @@
|
|||
|
||||
struct AlignedMallocHeader
|
||||
{
|
||||
u32 size; // size of the allocated buffer (minus alignment and header)
|
||||
size_t size; // size of the allocated buffer (minus alignment and header)
|
||||
void* baseptr; // offset of the original allocated pointer
|
||||
};
|
||||
|
||||
|
|
|
@ -370,7 +370,7 @@ static int _GSopen(void** dsp, char* title, int renderer, int threads = -1)
|
|||
if (s_gs->m_wnd) {
|
||||
// A window was already attached to s_gs so we also
|
||||
// need to restore the window state (Attach)
|
||||
s_gs->m_wnd->Attach((void*)((uint32*)(dsp)+1), false);
|
||||
s_gs->m_wnd->Attach((void*)((uptr*)(dsp)+1), false);
|
||||
} else {
|
||||
// No window found, try to attach a GLX win and retry
|
||||
// with EGL win if failed.
|
||||
|
@ -379,7 +379,7 @@ static int _GSopen(void** dsp, char* title, int renderer, int threads = -1)
|
|||
{
|
||||
if (wnd[i] == NULL) continue;
|
||||
|
||||
wnd[i]->Attach((void*)((uint32*)(dsp)+1), false);
|
||||
wnd[i]->Attach((void*)((uptr*)(dsp)+1), false);
|
||||
s_gs->m_wnd = wnd[i];
|
||||
|
||||
if (i == 0) delete wnd[1];
|
||||
|
|
Loading…
Reference in New Issue