Commit Graph
64 Commits
Author SHA1 Message Date
Unknown W. Brackets 88b23460f1 Add a file loader to perform disk caching.
Had to do some tricks to handle gameinfocache threads properly.
2015-07-02 20:58:58 -07:00
Unknown W. Brackets da827d9ef0 Move file loader code into directories.
Not making sense to put these all in the same fiel anymore.
2015-07-02 20:58:53 -07:00
Henrik Rydgard b56f21e4f0 More savedata UI polish 2015-06-12 14:46:34 +02:00
Henrik Rydgard 381e0c0fe3 Implement basic savedata UI. Not much actual functionality yet but can browse saves and states. 2015-06-11 23:59:02 +02:00
Henrik Rydgard 084aad74c3 Make GameInfoCache understand PSP savedata as a "game" type. Use it to create a basic savedata listing screen. 2015-06-11 20:22:16 +02:00
Unknown W. Brackets b8d798c3a5 Allow directories to fail to open.
This allows virtual disc files while not allowing unreadable files.
2015-03-17 08:40:57 -07:00
Unknown W. Brackets 3ce582f8a7 Act as if unreadable files don't exist.
This mainly affects Linux.  If a file cannot be opened for reading, we
should just return false for Exists(), since that will prevent us from
trying to read from the file later.
2015-03-12 19:58:09 -07:00
Unknown W. Brackets d13d48575c Support ports in HTTP loading code. 2014-12-31 09:40:43 -08:00
Lioncash 9f1bebe201 Loaders: Fix a mismatched delete call 2014-12-03 14:55:20 -05:00
Unknown W. Brackets 53c3841698 Buildfix for Linux and Symbian. 2014-11-25 11:48:08 -08:00
Unknown W. Brackets aeb3a327f0 Oops, typo. 2014-11-25 11:39:34 -08:00
Unknown W. Brackets 0d8dc48200 Don't try to close invalid files. 2014-11-25 11:34:39 -08:00
Unknown W. Brackets 0551773599 Add an interface to retry HTTP requests.
They could fail / be spotty in some situations.  A little retry can go a
long way.
2014-11-25 09:16:47 -08:00
Unknown W. Brackets 53e6d49568 Shortcut a read outside the file.
This happened to me.
2014-11-25 09:16:17 -08:00
Unknown W. Brackets 99b422aa0a Add more verbose logging in case of error. 2014-11-25 08:59:29 -08:00
Unknown W. Brackets 6d9ff8fac4 Fix disconnect order. 2014-11-25 00:33:23 -08:00
Unknown W. Brackets 219d546b79 Handle case in HTTP headers better. 2014-11-25 00:30:48 -08:00
Unknown W. Brackets df5020c439 Treat generation 0 a bit specially.
I guess we could always check gen 0 first, that'd be readahead/backfill.
2014-11-24 14:11:24 -08:00
Unknown W. Brackets 27eb38df8d Fix a possible leak.
Can definitely see this happening.
2014-11-24 14:08:21 -08:00
Unknown W. Brackets 824e8cf17c Add a readahead cache for HTTP.
So the only other thing it could do is idle backfill...
2014-11-24 01:08:30 -08:00
Unknown W. Brackets 49a5394b93 Oops, don't try to read past end of file. 2014-11-24 00:19:13 -08:00
Unknown W. Brackets 4e11f7c182 Implement a simple recently used cache for HTTP. 2014-11-23 23:35:20 -08:00
Unknown W. Brackets 6dca6ad9bd Add an HTTP transport for loading isos.
Not exposed in UI yet, but you can use command line.
2014-11-23 16:14:11 -08:00
Unknown W. Brackets b620070fa6 Kill FileLoader::Reopen()...
Was a bad idea.
2014-11-23 14:08:14 -08:00
Unknown W. Brackets fd2d7406d1 Make LocalFileLoader essentially private. 2014-11-23 14:02:35 -08:00
Unknown W. Brackets 967b589778 Consistently use FileLoader for standard ISOs. 2014-11-23 13:59:56 -08:00
Unknown W. Brackets 102b7b03fa Add an interface to load files with.
This allows loading from other than raw files.
2014-11-23 13:25:32 -08:00
Henrik Rydgard e6334dd9d8 Display .7z files in file listings. Can't decompress them though. 2014-10-21 00:09:24 +02:00
The Dax f3d32d8c23 Get rid of redundant ERROR_LOG. 2014-03-03 11:57:33 -05:00
The Dax 8342846609 Perform another PS1 eboot check before checking the PSAR magic.
It seems as if some PS1 eboots out there are malformed and will get past the PSISOIMG0000 check, so check the PARAM.SFO category, too. If the eboot gets past that too, PPSSPP will probably still crash, so we're screwed at that point anyway.
2014-03-03 11:46:26 -05:00
Ced2911andUnknown W. Brackets f012e7a879 [core] 360 fixes 2014-03-02 11:24:10 -08:00
The Dax 7f89863319 Add additional check to prevent PS1 EBOOTs from loading. 2014-02-24 23:16:26 -05:00
Henrik Rydgård 79ff2f0ba8 Start untangling our include mess a little. 2013-12-29 23:34:45 +01:00
Henrik Rydgård 9e42086e21 Logspam reduction 2013-12-09 13:45:17 +01:00
vnctdj bab45ec601 Fix typo 2013-09-04 13:48:22 +02:00
wuspringandwuspring 5655ddc835 Make "OK" and "Cancel" in PromptScreen translatable, and shorten some keys. 2013-09-04 09:02:28 +08:00
Kingcom 5fc293287a Typo... 2013-09-02 01:50:43 +02:00
Kingcom 33be3da057 Try to detect if someone tries to open a PSX ISO 2013-09-02 01:49:15 +02:00
The Dax cd40856914 Do some additional checks on what kind of eboot it is before trying to boot it. 2013-09-01 13:31:10 -04:00
Unknown W. Brackets 8ccd3773d9 Open files using wide functions on win32.
Fixes #3432.
2013-08-27 00:28:46 -07:00
sum2012 f8c49704ba Use UnRAR in non-windows platform
https://github.com/hrydgard/ppsspp-lang/commit/1d89c212498fdf68fdf7f322434b7e4bb90ac486
2013-08-23 15:52:28 +08:00
Henrik Rydgard c1d0ed08c4 Fix some file browsing issues 2013-08-20 16:52:36 +02:00
The Dax 27f0f9bc65 Add an error message specifically for PS1 eboots. 2013-08-12 01:49:37 -04:00
Henrik Rydgard d32e10ff0b Error handling improvements 2013-08-10 19:56:47 +02:00
Unknown W. Brackets 79c4104456 Specify file data layout endianness. 2013-07-27 16:05:21 -07:00
Unknown W. Brackets 3988a12801 Allow filenames like e.g. F:\ as dirs. 2013-07-27 01:17:18 -07:00
Kingcom 8955fedf44 Open directory as disc image 2013-07-23 17:24:33 +02:00
Florent Castelli 713f4747a6 Loader: Open PBP files even if we don't find the /PSP/GAME path 2013-07-21 14:11:52 +02:00
Henrik Rydgard 3b9e365b1e Allow ELFs to be named PBP, there are a bunch of such homebrew floating around it seems 2013-06-22 18:51:06 +02:00
Henrik Rydgard 9e345132b9 Shortcut IdentifyFile (which is now used by GameInfoCache) by trusting the file extensions. 2013-06-09 23:10:26 +02:00