Commit Graph

48 Commits

Author SHA1 Message Date
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
Ced2911
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
wuspring
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
1d89c21249
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
Henrik Rydgard
3b07090682 Give GameInfo some new powers, like deleting savedata (no UI yet) and computing file sizes. Recognize directories with EBOOT.PBP in them as "games" in their own right, makes things a little cleaner. 2013-06-08 17:52:51 +02:00
lioncash
5a48b5cf20 Fix a resource leak in Loaders.cpp 2013-05-30 11:40:35 -04:00
Unknown W. Brackets
3cd391c3e2 Fix crashes / bad errors when loading a file fails. 2013-05-12 19:51:16 -07:00
tpu
c9af16e332 add NPUMDIMG support 2013-05-08 23:36:57 +08:00
Lioncash
6753dabd17 Fix an error log message. 2013-03-30 04:11:53 -04:00
Lioncash
e1aff1fd91 Fix duplicate branches.
I think this should be UNKNOWN_ELF.
2013-01-25 17:05:09 -05:00
Henrik Rydgard
6a3dd792a5 Identify CISO the right way. Fixes issues with uppercase filenames.. 2013-01-12 12:52:00 +01:00
KentuckyCompass
320c0d06c3 Implement per-thread current directory 2013-01-10 16:18:02 -08:00
Mathias Tillman
b780e39397 Fixed various potential bugs and compiler warnings 2013-01-07 15:57:19 +01:00
Darth1701
3d934292b9 Update Core/Loaders.cpp 2013-01-07 09:10:05 +01:00
Henrik Rydgard
387552f564 Misc fixes (accept .prx, work on power callbacks, bugs) 2012-11-10 10:15:11 +01:00
Henrik Rydgard
83fb5e96de Logging, stubs and fixes 2012-11-06 20:56:19 +01:00
Henrik Rydgard
64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Henrik Rydgard
4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00