mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-21 07:25:39 -04:00
Misc: Necessary emucore changes for Android
This commit is contained in:
@ -48,6 +48,8 @@
|
||||
|
||||
Log_SetChannel(FileSystem);
|
||||
|
||||
#ifndef __ANDROID__
|
||||
|
||||
#ifdef _WIN32
|
||||
static std::time_t ConvertFileTimeToUnixTime(const FILETIME& ft)
|
||||
{
|
||||
@ -753,6 +755,8 @@ int FileSystem::OpenFDFile(const char* filename, int flags, int mode)
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
FileSystem::ManagedCFilePtr FileSystem::OpenManagedCFile(const char* filename, const char* mode)
|
||||
{
|
||||
return ManagedCFilePtr(OpenCFile(filename, mode), [](std::FILE* fp) { std::fclose(fp); });
|
||||
@ -1625,7 +1629,7 @@ bool FileSystem::SetPathCompression(const char* path, bool enable)
|
||||
return result;
|
||||
}
|
||||
|
||||
#else
|
||||
#elif !defined(__ANDROID__)
|
||||
|
||||
static u32 RecursiveFindFiles(const char* OriginPath, const char* ParentPath, const char* Path, const char* Pattern,
|
||||
u32 Flags, FileSystem::FindResultsArray* pResults)
|
||||
|
Reference in New Issue
Block a user