Commit Graph
14343 Commits
Author SHA1 Message Date
Henrik Rydgard 9d64fcf693 Fix last commit 2014-02-15 15:10:38 +01:00
Henrik Rydgard 3d45c9dbed Handle the weird Chinese translation patchers in a nicer way.
Takes care of #5458, too.
2014-02-15 14:30:40 +01:00
Henrik Rydgård fc9b057d88 Merge pull request #5449 from sum2012/sce-mp3
avoid invalid memory in sceMp3ReserveMp3Handle
2014-02-15 14:24:32 +01:00
sum2012 9868734656 Add report 2014-02-15 20:20:04 +08:00
sum2012 88d1cb7016 More logging 2014-02-15 20:15:49 +08:00
raven02 cc10d43c53 Remove unconfirmed STANDBY changes 2014-02-15 18:38:38 +08:00
raven02 c4a9952449 Remove duplicate Memset 2014-02-15 18:37:34 +08:00
raven02 7d9f1ff57a Move memset up so it's always done 2014-02-15 18:15:44 +08:00
raven02 01ff295031 Check PSMF_PLAYER_STATUS_STANDBY status to return not init error 2014-02-15 18:07:19 +08:00
raven02 5a71ec678c Clear the audio when paused 2014-02-15 17:49:35 +08:00
Henrik Rydgård 0dd9e2dbaf Merge pull request #5452 from unknownbrackets/win-fixes
Clean up some Windows leaks, optimize symbol map a bit
2014-02-15 09:31:37 +01:00
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 63adafd967 avoid invalid memory in sceMp3ReserveMp3Handle
Find in Heroes Phantasia
2014-02-15 07:28:52 +08:00
Henrik Rydgård 60bc395cd3 Merge pull request #5445 from sum2012/patch-7
Add support another patcher
2014-02-14 13:59:50 +01:00
sum2012 db294557e5 Add support another patcher
Find in Dragonball Z: Shin Budokai 2 chinese version
2014-02-14 20:39:08 +08:00
Henrik Rydgård b5dc7b4688 Merge pull request #5443 from raven02/patch-21
scePsmf : add pause mode (PSMF_PLAYER_MODE_PAUSE)
2014-02-14 13:29:33 +01:00
raven02 7fbee7bb19 Typo fix 2014-02-14 18:45:12 +08:00
raven02 69690a0fe1 scePsmf : add pause mode (PSMF_PLAYER_MODE_PAUSE) 2014-02-14 10:43:53 +08:00
raven02 8b19ebc6d8 scePsmf(): check not initialized status 2014-02-14 10:19:38 +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