Commit Graph
5475 Commits
Author SHA1 Message Date
Unknown W. Brackets 8948990871 Optimize searching for existing symbols.
Checking every time is slow, we should just skip by the address.  Some is
just the locking overhead.
2014-02-14 22:26:35 -08:00
Unknown W. Brackets 7c2d36e802 Don't add to the symbol map what was found there.
Wasn't hurting anything, but slight hit on performance.
2014-02-14 22:13:32 -08:00
Unknown W. Brackets 04776c8125 Small optimization: avoid fallback if possible.
Speeds up symbol map loading a little bit (when inserting new items.)
2014-02-14 22:07:39 -08:00
Unknown W. Brackets 1d8375924a Allow double PSP_Shutdown() without any error.
We call it in a few places to "ensure" shutdown, e.g. before resetting,
but there are cases of double-shutdown.  Let's allow it since there's
there shouldn't be any multithreading here.
2014-02-14 21:53:59 -08:00
Unknown W. Brackets 26b4335637 Optimize symbol map in debug mode a bit more.
Avoid UpdateActiveSymbols().
2014-02-14 21:49:20 -08:00
sum2012 b0d87a13c2 Add scePsmfPlayerStop and scePsmfPlayerReleasePsmf error code
Find in #5416
The game still not fix.
2014-02-13 20:22:56 +08:00
Henrik Rydgård 5fa6a947d9 Merge pull request #5349 from raven02/patch-10
Code cleanup scePsmf
2014-02-13 11:21:36 +01:00
sum2012 f5a5c4bd08 Add scePsmfPlayerGetVideoData and scePsmfPlayerGetAudioData log information 2014-02-12 23:32:05 +08:00
Henrik Rydgård 561dcf8fd1 Merge pull request #5407 from raven02/patch-18
Return -1 when no atrac inited
2014-02-12 15:26:54 +01:00
raven02 4f744436bb Return -1 when no atrac inited 2014-02-12 21:55:36 +08:00
kaienfr d6a71355d7 Load game's user font file (.pgf) from game's image.
Especially support some chinese psp games which use their own fonts zh_gb.pgf from image.
2014-02-12 11:05:03 +01:00
Unknown W. Brackets bd982b2e6f Support PSP_O_TRUNC on Windows.
There are more modes we don't support properly.  May fix savedata
corruption in Gran Turismo and possibly other games.
2014-02-11 23:54:30 -08:00
Henrik Rydgård fa473da62a Reduce savedata init delay to 200ms 2014-02-11 21:45:08 +01:00
Henrik Rydgård caf729e01e Remove call to SetState, superfluous now that the state variables are gone. 2014-02-11 17:05:46 +01:00
Henrik Rydgård 0a3c59466d Merge pull request #5405 from hrydgard/envelope-simplifiy
Sas envelopes: Simplify away some redundant state.
2014-02-11 16:55:31 +01:00
Unknown W. Brackets d279dcd454 Fix renaming a function from disassembly. 2014-02-11 07:45:13 -08:00
Henrik Rydgård e9fa37b4de Merge pull request #5411 from sum2012/patch-1
Fix MapFilePath by @unknownbrackets
2014-02-11 14:35:26 +01:00
sum2012 b348c05467 Fix MapFilePath by @unknownbrackets
Fix #5377
2014-02-11 21:26:44 +08:00
Henrik Rydgård 0f4ccf52f4 Update README. Avoid recursing the symbolmap lock when we don't need to. 2014-02-11 14:21:40 +01:00
raven02 54bbdebcc9 Try savedata init delay 500ms 2014-02-11 19:48:56 +08:00
raven02 7dcf355cd6 MediaEngine : getAudioTimeStamp() returns m_audiopts 2014-02-11 19:24:51 +08:00
Henrik Rydgård 079f653cff Sas envelopes: Simplify away some redundant state. 2014-02-11 11:56:24 +01:00
Henrik Rydgård b1d6eefb8a Call UpdateActiveSymbols only once from MIPSAnalyst instead of for every recognized function.
Reduces startup slowdown when using a function signature file drastically.
2014-02-11 11:21:56 +01:00
Henrik Rydgård db21aeb7f7 Merge pull request #5402 from unknownbrackets/sas-minor
Update ADSR exponent curves and fix some small issues in ADSR
2014-02-11 10:55:46 +01:00
Unknown W. Brackets 0265fc757d Flip and shift instead of signed divide.
Clearer than all those zeroes and maybe faster...
2014-02-11 01:29:33 -08:00
Unknown W. Brackets b398a84517 Attack switches to decay at max height already.
It does not wait until it goes above.
2014-02-11 00:18:36 -08:00
Unknown W. Brackets 95a8af9e60 Decay does not switch to release at height max.
This can happen with an exponent rate of 0.  It stays there.
2014-02-11 00:17:13 -08:00
Unknown W. Brackets f11d362be3 Fix integer overflow in exponent decrease. 2014-02-11 00:11:07 -08:00
Unknown W. Brackets f981d39f94 Sustain defaults to 0, not 0x100.
Not sure how I came to that mistaken idea.
2014-02-10 23:48:10 -08:00
Unknown W. Brackets 6392307cbd Calculate the curve on the fly per the PSP.
Values based on lots of testing from the PSP, and match exactly.
2014-02-10 08:43:01 -08:00
Henrik Rydgard ca9d0ea5cf Remove more bad uses of dp_xres. Fix a data flow issue
(could end up with "feedback" if modifying the screen bounds)
2014-02-10 15:55:21 +01:00
Henrik Rydgard c6caff61bf Update native with buildfix. Fix some resizing issues. 2014-02-10 15:14:45 +01:00
Henrik Rydgard 8b6b491820 Remove obsolete outputWidth/outputHeight 2014-02-10 12:44:35 +01:00
Unknown W. Brackets 73722d9cee Support additional prefixes, like memstick:.
I also found umd01: and host01: work, etc.  May help #5377 and possibly
others.

It seems like games can assign these at will and potentially even
subpaths, but reporting hasn't shown many cases yet.  We can still watch
it.

Avoided mapping additional systems because savestates don't handle that
well currently.
2014-02-10 01:41:28 -08:00
Henrik Rydgard 006d28161d Restore some log levels of actually unimpl functions 2014-02-10 09:55:18 +01:00
Henrik Rydgard bf43a3e1a1 Merge branch 'patch-15' of https://github.com/raven02/ppsspp into raven02-patch-15 2014-02-10 09:53:11 +01:00
Henrik Rydgård 25bf95fcf3 Merge pull request #5388 from unknownbrackets/reporting
Adjust reporting to track and send more things
2014-02-10 09:48:20 +01:00
Henrik Rydgård 19fca25263 Merge pull request #5381 from raven02/patch-16
Avoid repeat spamming of audio end reach in the case of audio stream present
2014-02-10 09:32:06 +01:00
raven02 64e36bbf10 Change log level to DEBUG_LOG 2014-02-10 11:29:43 +08:00
Unknown W. Brackets 621c1717bf Let's use typesafety in the config stuff. 2014-02-09 17:55:24 -08:00
Unknown W. Brackets 7b99561839 Use consistent names for reporting config settings. 2014-02-09 17:39:19 -08:00
Unknown W. Brackets 9e02b4307c Redo the rest of the config sections.
Now they're all just once, rather than twice.
2014-02-09 17:39:19 -08:00
Unknown W. Brackets db918d01e8 Centralize getting and setting or config settings.
Typos in Set() and etc. can be things of the past.

Only General so far.
2014-02-09 17:39:18 -08:00
Unknown W. Brackets 4f45731119 Add configuration settings to reporting. 2014-02-09 17:39:17 -08:00
Unknown W. Brackets 553b284e95 Skip reporting when fonts do not exist.
I'm really tired of all the "no font" reports that aren't really valid.
2014-02-09 17:39:17 -08:00
Unknown W. Brackets b46ca9f94b Lock out reporting if harmful settings are used.
Before, if you turned it on, broke stuff, and then turned it off, we
reported the broken stuff.  This could be responsible for various
messages that have seemed strange.
2014-02-09 17:39:16 -08:00
Unknown W. Brackets ad8488ecc4 Reset reporting on a new game.
This way "once" and "spam" no longer persist between runs.  Makes it
easier to test a bunch of games in a row without restarting in between.
2014-02-09 17:39:16 -08:00
Unknown W. Brackets a8b55c3e10 Keep track of whether a savestate has been used.
Mostly to improve info we get in reporting.
2014-02-09 17:39:15 -08:00
Unknown W. Brackets 80704d013e Fix #5390, crash on Exit on Windows. 2014-02-09 17:35:43 -08:00
raven02 1fcbc46814 Make sure audio stream is present 2014-02-10 09:31:54 +08:00