mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Use the libretro VFS interface in libretro builds
This commit is contained in:
30 files changed
+624
-252
No files matched your search
+1
-1
@@ -249,7 +249,7 @@ static void DiscHandler(const http::ServerRequest &request, const Path &filename
|
||||
}
|
||||
|
||||
FILE *fp = File::OpenCFile(filename, "rb");
|
||||
if (!fp || fseek(fp, begin, SEEK_SET) != 0) {
|
||||
if (!fp || File::Fseek(fp, begin, SEEK_SET) != 0) {
|
||||
request.WriteHttpResponseHeader("1.0", 500, -1, "text/plain");
|
||||
request.Out()->Push("File access failed.");
|
||||
if (fp) {
|
||||
|
||||
Reference in new issue
Block a user