Commit Graph
7711 Commits
Author SHA1 Message Date
Unknown W. Brackets 86127b3d0d Update armips to latest version.
The new version has some speed and other improvements.
2015-12-26 20:30:35 -08:00
Henrik Rydgård b278299324 Merge pull request #8301 from unknownbrackets/savestates
Fix iOS savestate compatibility issue
2015-12-26 10:42:52 +01:00
Henrik Rydgård dc94b8622b Merge pull request #8308 from unknownbrackets/gamedata
Improve sceUtilityGamedataInstall a bit
2015-12-26 10:41:10 +01:00
Unknown W. Brackets 7471516d05 Gamedata: Reduce the transfer per call.
The standard value made my desktop drop frames without the data cached.
2015-12-25 23:24:04 -08:00
Unknown W. Brackets 34fc03068a Gamedata: Create a basic PARAM.SFO in data dir.
Fixes #7903.  Have not really tested, just based on game behavior.  Could
be inaccurate.
2015-12-25 21:54:14 -08:00
Unknown W. Brackets e4c6a8398e Gamedata: Copy in chunks instead of all at once.
This way the game's progress shows correctly.  Also, correct the progress
calculation for < 100% (integer rounding.)
2015-12-25 21:39:24 -08:00
Unknown W. Brackets fb9e5d4741 Gamedata: Refactor out file iteration.
Goal here is to process files in chunks, rather than one file at a time.
Files are often > 100MB, so we don't want to copy all in one frame.
2015-12-25 21:13:55 -08:00
Unknown W. Brackets 43e7d9dbc2 Gamedata: Use status delays in init/update/etc.
Like with savedata.
2015-12-25 21:01:13 -08:00
Unknown W. Brackets 7b921d3bb7 Avoid crash when savestate is for different ISO. 2015-12-24 14:31:23 -08:00
Henrik Rydgård 21bf73a612 Merge pull request #8281 from unknownbrackets/ui-tweaks
Add feature to auto-hide buttons after X seconds
2015-12-24 23:15:59 +01:00
Henrik Rydgård 27c6770c74 Merge pull request #8297 from unknownbrackets/warnings
Warnings fixes
2015-12-24 23:14:10 +01:00
Unknown W. Brackets 9b91713308 Right, Symbian doesn't have vector.data(). 2015-12-24 13:21:03 -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 7b4315bc70 Respect MEMSIZE for ISOs also, cleanup. 2015-12-24 10:04:08 -08:00
Unknown W. Brackets d6cd3bd5ad Remove some unused variables. 2015-12-23 15:22:28 -08:00
Unknown W. Brackets 103b959d50 Fix a type comparison warning. 2015-12-23 15:22:13 -08:00
Unknown W. Brackets d273deedeb Use MEMSIZE SFO param to detect 64MB homebrew.
Now, use 32MB for normal games even in PSP-2000 mode, which is how real
firmware behaves.
2015-12-23 15:16:48 -08:00
Unknown W. Brackets 80cc5a4a9c Default to hide controls after 20 seconds. 2015-12-20 16:14:08 -08:00
Unknown W. Brackets a3f9b954d1 Add feature to auto-hide buttons after X seconds. 2015-12-20 12:40:47 -08: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 edf3bf4a8e Silence some unused result warnings. 2015-12-19 19:58:32 -08:00
Unknown W. Brackets 95abf332d1 Disable ISO RAM cache if out of memory.
Better to fail to preload than to crash.
2015-12-19 15:29:34 -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
Henrik Rydgård a2e09eada7 Merge pull request #8216 from unknownbrackets/sas-thread
Move SAS mixing to a thread
2015-12-06 18:59:09 +01:00
Unknown W. Brackets f759a2a3fd Sas: Sync result when mix calling thread returns. 2015-11-25 18:44:43 -08:00
Unknown W. Brackets 546590106f Sas: Fail to mix when dispatch disabled. 2015-11-25 18:44:42 -08:00
Unknown W. Brackets 23441d12fb Sas: Estimate time taken for mixing.
Tests seem to show it's not affected by mhz.
2015-11-25 18:44:34 -08:00
Unknown W. Brackets 75290cfd56 Sas: Enable SAS thread on multicore only. 2015-11-25 18:44:33 -08:00
Unknown W. Brackets 5a6c8b513c Sas: Drain thread before reading/writing SAS state.
This should be the safest option, but I'm pretty sure some operations give
a BUSY operation or have different behavior, actually.
2015-11-25 18:44:32 -08:00
Unknown W. Brackets fc8acc781e Sas: Add config for SAS thread. 2015-11-25 18:44:31 -08:00
Unknown W. Brackets 0394319e89 Sas: Drain thread on savestate. 2015-11-25 18:44:30 -08:00
Unknown W. Brackets 6290ac6cbd Sas: Process SAS on a separate thread.
Remaining issues:
 * Need a config setting.
 * Locking for voices / config?
 * Locking for atrac interop?
2015-11-25 18:44:30 -08:00
Unknown W. Brackets 7bfe100b0f Fix some unused variable warnings.
The CheckAlpha one looks like it will matter.
2015-11-25 16:11:53 -08:00
Henrik Rydgard 9825dad340 Zero deleted objects in the kernel object pool
Just doing this to narrow down the possible causes of our crashes in WaitSema/SignalSema that I can't reproduce and only have Android auto-reports of... The crash comments do mention the GTA games though.
2015-11-25 14:24:32 +01:00
Henrik Rydgard 06eee7bc1b Oops, fix #8234 2015-11-25 14:23:39 +01:00
Henrik Rydgard 7dd631b7f2 Some code reformatting of the kernel object pool
Also deletes an unused [] operator
2015-11-25 13:00:29 +01:00
Henrik Rydgard ee4261cf5c Attempt to address some auto-reported crashes on Android
Still confused about the SignalSema/WaitSema ones.. they are still getting reported at high frequency
2015-11-25 12:05:32 +01:00
Unknown W. Brackets 723a2c98af Minor warning fix. 2015-11-18 22:03:35 -08:00
Unknown W. Brackets 0264422b8d Add a bit more error detection to the disk cache. 2015-11-18 21:56:07 -08:00
Unknown W. Brackets 475964133c Make disk cache size a bit more flexible.
This way it will shrink to allow a few games to be cached simultaneously.
2015-11-18 21:56:06 -08:00
Unknown W. Brackets 9bec81b9c5 Enable the disk cache for URLs by default. 2015-11-18 21:56:05 -08:00
Unknown W. Brackets f2cefebcb6 Garbage collect files when low on free cache space. 2015-11-18 21:56:04 -08:00
Unknown W. Brackets df6cbafe0f Measure free disk space to size block count. 2015-11-18 21:56:03 -08:00
Unknown W. Brackets f0ec6fab4d Reorganize disk cache to allow for dynamic size. 2015-11-18 21:56:02 -08:00
Henrik Rydgård 5b21c1aa39 Merge pull request #8174 from hrydgard/remove-option-depthrangehack
Remove the depth range hack option, turning it into an ugly game specific compatibility hack.
2015-11-15 23:05:20 +01:00
Henrik Rydgard 4b360a571c Remove the depth range hack option, turning it into an ugly game specific compatibility hack.
I hate doing this, but it's not really better off as an option.

See #8171
2015-11-15 23:00:25 +01:00
Henrik Rydgård 54535ec72a Merge pull request #8215 from unknownbrackets/savedata
Correct utilityData size calculation for "sizes" savedata call
2015-11-15 22:02:05 +01:00
Unknown W. Brackets 8c337850fc Disallow thread termination in interrupts.
But only for certain SDK versions, as per testing.
2015-11-15 11:38:59 -08:00
Unknown W. Brackets b71b1bbff9 Initially count the dir for save info size.
Should help #6068, verified by the sizes test and JpcspTrace results.
2015-11-15 10:29:13 -08:00