Some experimental (disabled) code to have images in gamelist. Too slow, needs work.

This commit is contained in:
Henrik Rydgard committed 2013-03-30 20:10:32 +01:00
1 parent c1acc02560
commit c23631a8fc
4 files changed
+45 -13

No files matched your search

+2 -1
View File
@@ -24,10 +24,11 @@ extern "C"
#include <cstdio>
#include <cstring>
BlockDevice *constructBlockDevice(const char *filename) {
// Check for CISO
FILE *f = fopen(filename, "rb");
if (!f)
return 0;
char buffer[4];
auto size = fread(buffer, 1, 4, f); //size_t
fclose(f);