mirror of https://github.com/PCSX2/pcsx2.git
gsdx: small x64 printf warning fixes
This commit is contained in:
parent
051c5c4bf7
commit
8abf242e2c
|
@ -173,7 +173,7 @@ void GSDumpRaw::Read(void* ptr, size_t size) {
|
||||||
} else {
|
} else {
|
||||||
size_t ret = fread(ptr, 1, size, m_fp);
|
size_t ret = fread(ptr, 1, size, m_fp);
|
||||||
if (ret != size) {
|
if (ret != size) {
|
||||||
fprintf(stderr, "GSDumpRaw:: Read error (%d/%d)\n", ret, size);
|
fprintf(stderr, "GSDumpRaw:: Read error (%zu/%zu)\n", ret, size);
|
||||||
throw "BAD"; // Just exit the program
|
throw "BAD"; // Just exit the program
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,7 +138,7 @@ void* fifo_alloc(size_t size, size_t repeat)
|
||||||
if (next != base)
|
if (next != base)
|
||||||
fprintf(stderr, "Fail to mmap contiguous segment\n");
|
fprintf(stderr, "Fail to mmap contiguous segment\n");
|
||||||
else
|
else
|
||||||
fprintf(stderr, "MMAP next %x\n", (uintptr_t)base);
|
fprintf(stderr, "MMAP next %p\n", base);
|
||||||
}
|
}
|
||||||
|
|
||||||
return fifo;
|
return fifo;
|
||||||
|
|
Loading…
Reference in New Issue