Commit Graph

5508 Commits

Author SHA1 Message Date
Unknown W. Brackets
3714fabad6 Implement vsbn.s, fixes #3409.
Not sure if .q, etc. can work - won't compile, and I doubt any games try
it.  Just tried a basic implementation with reporting.
2014-02-15 21:40:13 -08:00
Unknown W. Brackets
3dea6fdd86 Cache reporting support to avoid slowdown.
Turns out checking flash0:/ was not fast, oops, but especially when
disabled.

Also, make the box show as disabled when it's been disabled during the
session, and make it not do that in the menu.
2014-02-15 20:34:03 -08:00
Henrik Rydgård
96a19ea982 Merge pull request #5473 from chinhodado/patch-1
remove a redundant check
2014-02-16 02:37:37 +01:00
Henrik Rydgård
37d198df16 Merge pull request #5472 from unknownbrackets/reporting
Fix reporting improperly disabled when outside a game
2014-02-16 02:34:35 +01:00
chinhodado
23cce7d25a remove a redundant check 2014-02-15 19:39:13 -05:00
Unknown W. Brackets
d22793e257 Avoid a dangerous cast in LoadSymbolMap().
Not sure if we can have any safety with an int cast like that...
2014-02-15 16:23:18 -08:00
Unknown W. Brackets
f5c7837e93 Disable reporting when using cheats as well. 2014-02-15 15:41:27 -08:00
Unknown W. Brackets
49d61743c0 Blacklist a few more settings in reporting. 2014-02-15 15:19:59 -08:00
Unknown W. Brackets
d1c9cdd8e4 Don't disable error reporting while in menu.
Oops.
2014-02-15 15:15:19 -08:00
chinhodado
0ea7c78299 fix empty string checking 2014-02-15 16:31:37 -05:00
Unknown W. Brackets
348c6a16da If a focus mode is used with autoload, ignore it.
Before, if the "focused" save did not exist, we failed incorrectly, even
though the actual save we were trying to load was the correct one.
2014-02-15 09:43:43 -08:00
daniel229
bbe36fbd8e Code Geass Hangyaku no Lelouch Lost Colors CN translate bypass EBOOT.BIN 2014-02-15 23:52:08 +08:00
raven02
81887cead3 Init ctx->mp3DecodedBytes/mp3SumDecodedSamples/mp3LoopNum 2014-02-15 22:50:10 +08:00
Henrik Rydgard
a4e9ca40e4 Fix silly copy paste error. I'm tired. 2014-02-15 15:44:32 +01:00
Henrik Rydgard
c801cffcff Add a gameid check for the bootfile that's in USRDIR.
Annoying that this is needed.
2014-02-15 15:40:39 +01:00
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