mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-28 04:25:34 +00:00
Make dir scan work cross-platform. Update Qt project files.
This commit is contained in:
parent
d6d2b1a7b3
commit
aa99c3f859
@ -558,7 +558,9 @@ std::vector<PSPFileInfo> DirectoryFileSystem::GetDirListing(std::string path) {
|
||||
|
||||
while ((dirp = readdir(dp)) != NULL) {
|
||||
PSPFileInfo entry;
|
||||
if(dirp->d_type == DT_DIR)
|
||||
struct stat s;
|
||||
stat(dirp->d_name, &s);
|
||||
if (S_ISDIR(s.st_mode))
|
||||
entry.type = FILETYPE_DIRECTORY;
|
||||
else
|
||||
entry.type = FILETYPE_NORMAL;
|
||||
|
@ -97,11 +97,11 @@ SOURCES += ../Core/CPU.cpp \ # Core
|
||||
../Core/HLE/sceRtc.cpp \
|
||||
../Core/HLE/sceSas.cpp \
|
||||
../Core/HLE/sceSsl.cpp \
|
||||
../Core/HLE/scesupPreAcc.cpp \
|
||||
../Core/HLE/sceUmd.cpp \
|
||||
../Core/HLE/sceUsb.cpp \
|
||||
../Core/HLE/sceUtility.cpp \
|
||||
../Core/HLE/sceVaudio.cpp \
|
||||
../Core/HW/MediaEngine.cpp \
|
||||
../Core/HW/MemoryStick.cpp \
|
||||
../Core/HW/SasAudio.cpp \
|
||||
../Core/Host.cpp \
|
||||
@ -205,11 +205,11 @@ HEADERS += ../Core/CPU.h \
|
||||
../Core/HLE/sceRtc.h \
|
||||
../Core/HLE/sceSas.h \
|
||||
../Core/HLE/sceSsl.h \
|
||||
../Core/HLE/scesupPreAcc.h \
|
||||
../Core/HLE/sceUmd.h \
|
||||
../Core/HLE/sceUsb.h \
|
||||
../Core/HLE/sceUtility.h \
|
||||
../Core/HLE/sceVaudio.h \
|
||||
../Core/HW/MediaEngine.h \
|
||||
../Core/HW/MemoryStick.h \
|
||||
../Core/HW/SasAudio.h \
|
||||
../Core/Host.h \
|
||||
|
@ -42,6 +42,16 @@ SOURCES += ../native/ext/stb_vorbis/stb_vorbis.c
|
||||
HEADERS += ../native/ext/stb_vorbis/stb_vorbis.h
|
||||
INCLUDEPATH += ../native/ext/stb_vorbis
|
||||
|
||||
# Snappy
|
||||
|
||||
SOURCES += ../ext/snappy/snappy-c.cpp ../ext/snappy/snappy.cpp
|
||||
HEADERS += ../ext/snappy/snappy-internal.h \
|
||||
../ext/snappy/snappy-sinksource.h \
|
||||
../ext/snappy/snappy-stubs-internal.h \
|
||||
../ext/snappy/snappy-stubs-public.h \
|
||||
../ext/snappy/snappy.h
|
||||
INCLUDEPATH += ../ext/snappy
|
||||
|
||||
# Zlib
|
||||
!symbian: {
|
||||
SOURCES += ../ext/zlib/adler32.c \
|
||||
@ -124,7 +134,8 @@ SOURCES += ../native/audio/mixer.cpp \
|
||||
../native/util/bits/bits.cpp \
|
||||
../native/util/bits/varint.cpp \
|
||||
../native/util/hash/hash.cpp \
|
||||
../native/util/random/perlin.cpp
|
||||
../native/util/random/perlin.cpp \
|
||||
../native/util/text/utf8.cpp
|
||||
|
||||
HEADERS += ../native/audio/mixer.h \
|
||||
../native/audio/wav_read.h \
|
||||
@ -188,6 +199,7 @@ HEADERS += ../native/audio/mixer.h \
|
||||
../native/util/hash/hash.h \
|
||||
../native/util/random/perlin.h \
|
||||
../native/util/random/rng.h \
|
||||
../native/util/text/utf8.h \
|
||||
../native/ext/rapidxml/rapidxml.hpp \
|
||||
../native/ext/rapidxml/rapidxml_iterators.hpp \
|
||||
../native/ext/rapidxml/rapidxml_print.hpp \
|
||||
|
Loading…
x
Reference in New Issue
Block a user