Move non-Android specific stuff from android/jni to /UI.

Move source_assets one level up, too.
Also, start prototyping GameInfoCache, you'll see what it's for soon...
This commit is contained in:
Henrik Rydgard committed 2013-03-30 15:46:26 +01:00
1 parent fc8674b496
commit 7425532e99
60 files changed
+488 -88

No files matched your search

+1 -14
View File
@@ -17,6 +17,7 @@
#include "ELF/ElfReader.h"
#include "FileSystems/BlockDevices.h"
#include "FileSystems/DirectoryFileSystem.h"
#include "FileSystems/ISOFileSystem.h"
@@ -39,20 +40,6 @@
#include "HLE/sceKernelMemory.h"
#include "ELF/ParamSFO.h"
BlockDevice *constructBlockDevice(const char *filename)
{
// Check for CISO
FILE *f = fopen(filename, "rb");
char buffer[4];
auto size = fread(buffer, 1, 4, f); //size_t
fclose(f);
if (!memcmp(buffer, "CISO", 4) && size == 4)
return new CISOFileBlockDevice(filename);
else
return new FileBlockDevice(filename);
}
bool Load_PSP_ISO(const char *filename, std::string *error_string)
{
ISOFileSystem *umd2 = new ISOFileSystem(&pspFileSystem, constructBlockDevice(filename));