Henrik Rydgård
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
1ddc8ac3df
Back to ERROR
2020-03-28 14:12:42 +01:00
Henrik Rydgård
caff4591cc
Minor log improvement in BlockDevices.cpp
2020-03-28 12:40:45 +01:00
Unknown W. Brackets
5009698cc0
Core: Use a shared_ptr for i18n categories.
...
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Unknown W. Brackets
931dff6125
Core: Future proof CSO support a bit.
...
For CSO versions >= 2, respect the header size field and uncompressed
frame size behavior. This will allow more options for future files, like
adding a field for the CRC or otherwise.
2020-01-26 10:18:41 -08:00
Unknown W. Brackets
ce6cb7e7c9
Core: Report disc read errors to the user.
...
At least when we can detect this, better not to keep silent about it.
2018-09-29 00:45:50 -07:00
Henrik Rydgård
6a1fa728d8
Remove Globals.h
2017-08-31 17:15:22 +02:00
Simonas Kazlauskas
3c3596dbf2
Make the Loader API thread-safe
...
Since the majority of the code is using ReadAt API already, map this to
a `readp` "syscall" which does not mutate any state about the file
descriptor therefore making it fairly safe multi-threading wise.
This allows to get rid of read-time mutexes in RamCachedFileLoader and
therefore fixes #9803
2017-06-23 17:23:43 +03:00
Henrik Rydgard
ff2b6b3fca
Assorted cleanup, UWP memory map fixes. PSPFlower runs in both 32-bit and 64-bit.
2017-03-23 10:02:28 +01:00
Henrik Rydgård
ad5bf8c6f6
This mutex should not have been made local, thanks @unknownbrackets
2017-03-13 16:14:47 +01:00
Henrik Rydgård
440e72d250
Clean up among the logs. Remove MASTER_LOG.
2017-03-06 13:10:23 +01:00
Henrik Rydgard
26a2d42731
Big mutex overhaul - remove our custom ones, make them non-recursive where possible
2017-02-28 11:40:29 +01:00
Unknown W. Brackets
45218be5e3
Send a CRC hash with compatibility reports.
2016-07-04 12:07:15 -07:00
Unknown W. Brackets
65c7d0bd04
Add uncached flag for file loader reads.
...
This allows us to indicate that a read need not be cached.
2016-07-04 12:07:15 -07:00
Unknown W. Brackets
7807598690
Mutex around PBP file access.
...
There's some thread safety issue in there, this makes it so we can read
thumbnails without crashing sometimes - fixes #7330 .
2015-12-20 09:35:50 -08:00
Unknown W. Brackets
dd5c91108c
Use a background thread to load ISO into RAM.
...
This way we don't get slow startup. This will also cache the CSO data,
for example, rather than the raw data, using up less RAM. It might even
be reasonable to enable on 32-bit.
2015-12-19 15:23:25 -08:00
Unknown W. Brackets
a4924ff753
Fix crash using large block size cso files.
2014-12-29 08:53:30 -08:00
Unknown W. Brackets
ced555ee47
Oops, fix a mistake in umd replacement.
2014-11-25 12:03:16 -08:00
Unknown W. Brackets
967b589778
Consistently use FileLoader for standard ISOs.
2014-11-23 13:59:56 -08:00
Unknown W. Brackets
5ef2df7ebd
Fix a small warning on 32-bit.
...
Would only practically matter for very very large reads on very very large
csos.
2014-11-03 23:32:25 -08:00
Unknown W. Brackets
10bcb323ac
Oops, forgot to free up zlib resources.
2014-11-03 13:40:09 -08:00
Unknown W. Brackets
61c21340fb
Warning fixes.
2014-11-03 08:34:34 -08:00
Unknown W. Brackets
28b3b841d5
Implement optimized multi-block reads for iso/cso.
...
This of course means less fread() calls, and is faster. It improves load
time even on my desktop.
2014-11-02 21:43:27 -08:00
Unknown W. Brackets
9511fd81f1
Warning fix.
2014-11-01 00:33:20 -07:00
Henrik Rydgard
f5c9235640
Buildfix (needed an include in the header on some platforms so let's move to the cpp file)
2014-10-31 00:35:39 +01:00
Henrik Rydgard
291e5e53c0
Add feature to cache ISOs in RAM to avoid I/O stutters. 64-bit only. Loading gets slow though.
...
TODO: Make it cache in the background on load. Allow on 32-bit for small ISOs.
2014-10-31 00:14:00 +01:00
Unknown W. Brackets
734c81223e
Support cso files with larger block sizes.
...
Calling them "frames" just to quell the confusion level in the code.
2014-10-25 21:18:12 -07:00
Henrik Rydgard
272f0b8c70
Add a TODO (handling corrupt CSO data)
2014-07-22 16:07:10 +02:00
Sacha
cd20288d99
Fix some compiler warnings.
2014-07-17 00:49:58 +10:00
Henrik Rydgard
56a513e20a
Oops, accidentally changed the non-android path in a bad way.
2014-06-10 01:06:22 +02:00
Henrik Rydgard
0b42530fd8
Use low-level I/O on Android for 64-bit offset support
...
Fixes videos in FF Type-0 on Android. See #6268
2014-06-10 01:00:34 +02:00
Unknown W. Brackets
6bdfa5a13a
Support larger iso files (more than 2GB.)
...
No actual PSP games are this big (a UMD can only go up to 1.8 GB), but it
can be convenient for combined multi-game discs. Fixes #5169 .
2014-01-23 22:00:15 -08:00
Unknown W. Brackets
8ccd3773d9
Open files using wide functions on win32.
...
Fixes #3432 .
2013-08-27 00:28:46 -07:00
Lioncash
998ac27bf0
Fix a possible memory leak in BlockDevices.cpp.
2013-08-06 19:03:38 -04:00
Unknown W. Brackets
79c4104456
Specify file data layout endianness.
2013-07-27 16:05:21 -07:00
Henrik Rydgard
3022a026a1
Reduce unnecessary logging when loading isos, and update native
2013-07-10 21:59:43 +02:00
Henrik Rydgård
e21c5c6747
Merge pull request #2691 from thedax/master
...
Fix PSN eboot crashes
2013-07-08 00:46:12 -07:00
Unknown W. Brackets
10f1f198fb
Fix some type conversions warnings.
2013-07-07 19:16:25 -07:00
The Dax
95cffd97b5
Fix PSN eboot crash. Allows PSN demo eboots to run again, and HD Remaster eboots to finally boot.
2013-07-07 19:07:43 -04:00
Henrik Rydgard
61b510b753
Open ISOs very slightly faster by not reopening
2013-06-19 20:47:42 +02:00
The Dax
cda9881cb9
Fix some logging typos and a comment typo.
2013-05-31 12:59:39 -04:00
tpu
c9af16e332
add NPUMDIMG support
2013-05-08 23:36:57 +08:00
Henrik Rydgard
b9f45e4530
Add stub framework for .pbp demos (nowhere near working). Fix an OSK crash.
2013-04-27 23:16:51 +02:00
Henrik Rydgard
c23631a8fc
Some experimental (disabled) code to have images in gamelist. Too slow, needs work.
2013-03-30 20:10:32 +01:00
Henrik Rydgard
7425532e99
Move non-Android specific stuff from android/jni to /UI.
...
Move source_assets one level up, too.
Also, start prototyping GameInfoCache, you'll see what it's for soon...
2013-03-30 15:46:26 +01:00
Unknown W. Brackets
db18eba388
Fix a crash in CSO reading (probably a bad rip.)
...
This could happen if sce_lbn is used out of bounds, maybe?
2013-02-08 23:52:22 -08:00
Unknown W. Brackets
2ea113369b
Fix memory leak in CSO reading.
2013-02-08 19:27:42 -08:00
Unknown W. Brackets
140fd171ef
Fix some 64-bit type conversion warnings.
2013-01-19 13:48:20 -08:00
Mathias Tillman
b780e39397
Fixed various potential bugs and compiler warnings
2013-01-07 15:57:19 +01:00
Henrik Rydgård
1328413dfc
Filesystems: add host0: hack, proper shutdown of DirectoryFileSystem
2012-12-26 08:24:19 +01:00