mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 13:20:43 +00:00
Small nits
This commit is contained in:
parent
fe69abda82
commit
ddef69e9b5
@ -49,9 +49,12 @@ static void nbio_read_test(void)
|
|||||||
printf("%u/%u\n", (unsigned)prog, (unsigned)size);
|
printf("%u/%u\n", (unsigned)prog, (unsigned)size);
|
||||||
looped=true;
|
looped=true;
|
||||||
}
|
}
|
||||||
if (!looped) puts("Read finished immediately?");
|
|
||||||
|
if (!looped)
|
||||||
|
puts("Read finished immediately?");
|
||||||
|
|
||||||
ptr = nbio_get_ptr(read, &size);
|
ptr = nbio_get_ptr(read, &size);
|
||||||
|
|
||||||
if (size != 1024*1024)
|
if (size != 1024*1024)
|
||||||
puts("ERROR: wrong size (3)");
|
puts("ERROR: wrong size (3)");
|
||||||
if (*(char*)ptr != 0x42 || memcmp(ptr, (char*)ptr+1, 1024*1024-1))
|
if (*(char*)ptr != 0x42 || memcmp(ptr, (char*)ptr+1, 1024*1024-1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user