Commit Graph
5523 Commits
Author SHA1 Message Date
Unknown W. Brackets 71ad115b81 Fix incorrect return in PSP_Init().
Mostly affects reset and tests, PSP_InitUpdate() worked properly for the
normal flow.
2014-02-17 10:57:47 -08:00
Unknown W. Brackets 0b7d4d99cf Fix MSVC build.
Blarg.
2014-02-17 10:43:23 -08:00
Unknown W. Brackets 5e57a2ffa8 Don't allow reporting from bad savestates.
If the savestate was created with bad settings, or was loaded from an
older version, it may be damaged.  Let's not report old problems.
2014-02-17 09:43:12 -08:00
Henrik Rydgård b894bd9b27 Merge pull request #5489 from unknownbrackets/jit-minor
Fix stack overflow on x64 with memchecks, darn it
2014-02-17 07:23:45 +01:00
Henrik Rydgård 98282e0fd3 Merge pull request #5454 from unknownbrackets/io-minor
Improve truncation handling on all platforms
2014-02-17 07:22:54 +01:00
Unknown W. Brackets f2ba0f136d Fix stack overflow on x64 with memchecks, darn it. 2014-02-16 19:18:08 -08:00
Unknown W. Brackets 6c7c63c2af Log the sdk/compiler version under debug.
We weren't logging it at all before.
2014-02-16 09:20:00 -08:00
Unknown W. Brackets 8928665db9 Avoid spamming sceDmacMemcpy() logging for 0 bytes.
Doesn't hurt anything.
2014-02-16 09:01:23 -08:00
Henrik Rydgård e3cb1f4957 Merge pull request #5476 from sum2012/patch-4
Fix PAKFILE2.BIN and eboot logic
2014-02-16 10:06:28 +01:00
Unknown W. Brackets 61d4e2196e Simplify vwbn.s slightly. 2014-02-16 00:00:29 -08:00
Unknown W. Brackets 34c6530b21 Implement vwbn.s, not sure what it's doing...
This passes all the tests I could throw at it.  Fixes #1849.
2014-02-15 23:51:41 -08:00
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
sum2012 864c0be604 Fix PAKFILE2.BIN and eboot logic
Fix #5474
2014-02-16 10:51:45 +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 ed2417731a Improve error handling when PARAM.SFO can't read. 2014-02-15 10:34:39 -08:00
Unknown W. Brackets cff6ad6428 Attempt to virtually handle truncation properly.
Fixes LittleBigPlanet save problem, at least on US.
2014-02-15 10:34:38 -08:00
Unknown W. Brackets 9293bb17b9 Switch to file descriptors instead of FILE *.
This allows us to support the io modes more accurately, not truncating for create/write, etc.
2014-02-15 10:34:38 -08: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