Commit Graph

69 Commits

Author SHA1 Message Date
Unknown W. Brackets
a563e606b3 Resolve PBP directories earlier in load process.
This allows us to initialize the memory AFTER determining the proper size,
in the case of remasters.  It also avoids going through load twice.
2015-12-28 14:13:07 -08:00
Unknown W. Brackets
f3df6b307f Use a FileLoader for PBPs.
Improves consistency, caching, etc.
2015-12-24 12:21:40 -08:00
Unknown W. Brackets
a53f0360f3 Use a less leak prone interface for PBP reading. 2015-12-24 10:20:27 -08:00
Unknown W. Brackets
9bec81b9c5 Enable the disk cache for URLs by default. 2015-11-18 21:56:05 -08:00
Henrik Rydgard
8996f58693 Generate save state IDs for homebrew using the elf or directory name where applicable. 2015-09-25 19:27:40 +02:00
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