Commit Graph
14759 Commits
Author SHA1 Message Date
The Dax 8342846609 Perform another PS1 eboot check before checking the PSAR magic.
It seems as if some PS1 eboots out there are malformed and will get past the PSISOIMG0000 check, so check the PARAM.SFO category, too. If the eboot gets past that too, PPSSPP will probably still crash, so we're screwed at that point anyway.
2014-03-03 11:46:26 -05:00
lioncash b9886942a7 Fix some vertical alignments in misc Core source files. 2014-03-03 11:16:53 -05:00
Unknown W. Brackets 3ebf47bbd5 Oops, fix compat reports on Android.
Always forget about the VFS thing...
2014-03-03 07:25:17 -08:00
Henrik Rydgård b2260149ae ARM Jit: Avoid materializing some unnecessary immediates in loads/stores 2014-03-03 14:33:22 +01:00
Henrik Rydgård aea272a3ce Jit x86: optimize "subu r, 0, r" to NEG r. 2014-03-03 13:42:32 +01:00
Unknown W. Brackets c7437bbe8e Fix some minor warnings. 2014-03-03 00:08:32 -08:00
Henrik Rydgård 374e12afc3 Merge pull request #5590 from unknownbrackets/xbox
Merge more parts of #4716
2014-03-03 13:37:21 +07:00
Henrik Rydgård dc2f28f899 Merge pull request #5591 from unknownbrackets/io-thread
Handle concurrent sync io operations better
2014-03-03 13:30:35 +07:00
Henrik Rydgård 54b9cf6e37 Merge pull request #5592 from unknownbrackets/debugger
Don't clear js.afterOp in WriteExit*()
2014-03-03 13:28:48 +07:00
Henrik Rydgård c7953c4934 Merge pull request #5585 from unknownbrackets/perf
Improve performance when running tests / fix function replacement
2014-03-03 13:20:24 +07:00
Unknown W. Brackets 8aceba732a Stop reporting null thread args with size.
Must've been a mistake in the test, can no longer reproduce the crash.
2014-03-02 16:59:50 -08:00
Unknown W. Brackets 601fc72ac6 Don't clear js.afterOp in WriteExit*().
It needs to be handled in each exit, not just the first one.

Fixes #5587.
2014-03-02 14:23:27 -08:00
Unknown W. Brackets d7ba8f7312 Correct error code for reads into a bad pointer.
Per tests this is generally -1.
2014-03-02 13:59:34 -08:00
Unknown W. Brackets 2a4cbb7171 Allow two threads to read from a file at once.
It just happens in order, rather than failing with an error (async busy.)
Async operations still fail when used in this way, however.
2014-03-02 13:49:29 -08:00
Unknown W. Brackets 07a2e57932 Synchronize IO operations before any seek.
To prevent it from seeking before the operation.
2014-03-02 13:47:11 -08:00
Unknown W. Brackets 2c40cd509a Avoid overwriting io thread results.
Just block until it's done so that things are synchronous.
2014-03-02 13:45:12 -08:00
Ced2911andUnknown W. Brackets 46ac351b9b [Jit] implement Comp_Vi2f 2014-03-02 11:53:03 -08:00
Unknown W. Brackets 2c2ea9c417 ppcjit: Int_Cache() now does stuff, use DISABLE. 2014-03-02 11:35:49 -08:00
Ced2911andUnknown W. Brackets 995fb0f8b2 [PPC] update/fix 2014-03-02 11:35:23 -08:00
Ced2911andUnknown W. Brackets 4483c6002e [Jit] don't recompile with slow memory 2014-03-02 11:34:46 -08:00
Ced2911andUnknown W. Brackets 41373f29cf [jit] try to implement fpu round 2014-03-02 11:33:50 -08:00
Ced2911andUnknown W. Brackets b6d37f97b8 [sceIo] 360 thread fixes 2014-03-02 11:31:32 -08:00
Ced2911andUnknown W. Brackets 22ede1ebf3 [Xbox] Network disabled for xbox 2014-03-02 11:30:59 -08:00
Ced2911andUnknown W. Brackets 596dea63ed [Xbox] 2014-03-02 11:29:27 -08:00
Ced2911andUnknown W. Brackets 59f4c05132 [core/common] cpu/gpu threading 2014-03-02 11:29:07 -08:00
Ced2911andUnknown W. Brackets d82911de58 [Xbox] fixes 2014-03-02 11:27:20 -08:00
Ced2911andUnknown W. Brackets f012e7a879 [core] 360 fixes 2014-03-02 11:24:10 -08:00
Ced2911andUnknown W. Brackets cc9f238d36 [xbox] 360 support for Core 2014-03-02 11:22:02 -08:00
Ced2911andUnknown W. Brackets 47be01e8b5 [Xbox] Missings files 2014-03-02 11:16:56 -08:00
Unknown W. Brackets 0f36b45f2e Turns out this difference began in mpeg.prx 0105. 2014-03-02 10:40:54 -08:00
Unknown W. Brackets f300f46b9c Speed up MIPSGetInstruction() by 35%.
It's not that hot, but gets called a lot when loading modules / running
tests.  Well, and also interpreter.

Some of the previous checks were just not necessary (we never have Rese in
the tables, for example, and let's just not.)
2014-03-02 10:20:41 -08:00
Unknown W. Brackets eca06c60c7 Spend a bit less time in Read_Instruction on load. 2014-03-02 10:20:40 -08:00
Unknown W. Brackets e3506ead69 Clear the symbol map between each test.
This way we could, for example, test function replacement properly.

Actually slows down tests because it spends more time correctly
determining the function boundaries.
2014-03-02 10:20:40 -08:00
Henrik Rydgård 8f90681994 Merge pull request #5589 from unknownbrackets/mpeg-version
Track the sceMpeg_library version for behavior differences
2014-03-02 23:14:36 +07:00
Unknown W. Brackets fc1ab072b3 Write the ringbuffer struct based on mpeg version.
This way it can easily match tests.
2014-03-02 01:31:30 -08:00
Unknown W. Brackets cda1bc2772 Keep track of the loaded sceMpeg_library version.
They have variations in behavior.
2014-03-02 01:31:29 -08:00
Unknown W. Brackets 87a07d7355 Workaround bug in Kurohyou 2 (uninitialized data.)
The game calls scePsmfGetEPWithTimestamp(), but without any chapters.
This means nothing is written to its pointer.  But it takes the value
there anyway.

It happens that the value there is 0, but only because something wrote it
to the stack before the call.  It seems like scePsmfVerifyPsmf() is the
one writing it, since it has a different value shortly before that call.

So, as a workaround, just write some 0s into the stack.  Games without
bugs should not care.  Hard to predict what will happen to another buggy
game.
2014-03-02 01:22:25 -08:00
raven02 6888ea8d79 Typo fix 2014-03-02 15:12:50 +08:00
Unknown W. Brackets da1e4a80a6 Tone down sas raw output reporting, found a game.
Crimson Gem Saga apparently uses this mode.
2014-03-01 15:32:34 -08:00
Unknown W. Brackets c7f1197ab1 Cut down on a debug check in release mode.
In Jewel Summoner, for example, this gets called a lot, and eats a
measurable percentage of time.
2014-03-01 15:14:17 -08:00
Unknown W. Brackets 444dd15a25 Report module versions of HLE'd modules.
sceMpeg has slightly different functionality, so collecting the unique
versions will help.  So far I know of 4.
2014-03-01 14:32:42 -08:00
Unknown W. Brackets 1b5e54abb4 Fix nearest size check in optimum, cleanup. 2014-03-01 02:23:56 -08:00
Unknown W. Brackets 58e29062a5 Improve error checking in sceFontGetNumFontList(). 2014-03-01 01:54:15 -08:00
Unknown W. Brackets 160d5e3279 Fix sceFontGetFontList() error codes. 2014-03-01 01:47:35 -08:00
Unknown W. Brackets 140982223a Correct sceFontGetFontInfoByIndexNumber().
It just gets font style info, pretty simple.
2014-03-01 01:30:43 -08:00
Unknown W. Brackets 0e39b6fe36 Fix results of sceFontGetFontInfo() for user fonts. 2014-03-01 01:30:25 -08:00
Unknown W. Brackets 131cbc073c Implement sceFontGetShadowInfo(). 2014-03-01 00:18:19 -08:00
Unknown W. Brackets 29d2e81676 Cleanup errors in sceFontGet*ImageRect(). 2014-02-28 23:04:34 -08:00
Unknown W. Brackets 96a93d9bae Fix error handling in sceFontPointToPixelH()/etc. 2014-02-28 22:05:37 -08:00
Unknown W. Brackets 57e64547b3 Fix sceFontSetResolution() error codes. 2014-02-28 21:52:34 -08:00