Commit Graph
18709 Commits
Author SHA1 Message Date
Unknown W. Brackets ca938bf353 Cut down on locking in DEBUG_LOG.
Reduces GenericLog() from 13.8% to 1.5% in Where Is My Heart?, will
probably help other games to a lesser extent.
2014-03-02 22:03:02 -08:00
Unknown W. Brackets fb63dad54e vertexjit: Implement Morph pos/nrm variants on x86. 2014-03-02 20:11:40 -08:00
Unknown W. Brackets e08e9d8e89 Flush if morphing, even if only weight changed.
Fixes more graphical glitches that happen when software skinning is enabled.
2014-03-02 20:09:18 -08:00
Unknown W. Brackets ecf9479d5a Always flush bone matrices when morph is enabled.
Fixes graphical glitches in Shadow of Destiny and LittleBigPlanet with
software skinning enabled.  Maybe the other games in #5304.
2014-03-02 18:20:16 -08:00
Unknown W. Brackets 0a880b09ad Allow fast bone mtx loads w/o software skinning. 2014-03-02 18:12:40 -08: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
Ced2911 418d2ac8ce [xbox] 360 support for common 2014-03-02 12:15:10 -08:00
Ced2911 3be063d28a [Xbox] Use intrinsics swap 2014-03-02 12:02:51 -08:00
Ced2911 46ac351b9b [Jit] implement Comp_Vi2f 2014-03-02 11:53:03 -08:00
Ced2911 93f08b4035 [Jit] add subfic 2014-03-02 11:45:48 -08:00
Ced2911 cd283089aa [Jit] Mov2ir optimisation 2014-03-02 11:45:27 -08:00
Ced2911 38a59cca95 [Jit] Fixes BNE 2014-03-02 11:44:31 -08:00
Ced2911 2ac5d38b90 [Jit] add more instruction 2014-03-02 11:43:58 -08:00
Ced2911 09210a2ce9 [jit] round fpu 2014-03-02 11:42:18 -08:00
Unknown W. Brackets d3bead638f Add ppcEmitter.cpp/h to the MSVC project.
So that it's searchable/etc.
2014-03-02 11:41:22 -08:00
Ced2911 08595f55a6 [jit] save fpr, less crashes ? 2014-03-02 11:40:52 -08:00
Unknown W. Brackets 2c2ea9c417 ppcjit: Int_Cache() now does stuff, use DISABLE. 2014-03-02 11:35:49 -08:00
Ced2911 995fb0f8b2 [PPC] update/fix 2014-03-02 11:35:23 -08:00
Ced2911 4483c6002e [Jit] don't recompile with slow memory 2014-03-02 11:34:46 -08:00
Ced2911 41373f29cf [jit] try to implement fpu round 2014-03-02 11:33:50 -08:00
Ced2911 b6d37f97b8 [sceIo] 360 thread fixes 2014-03-02 11:31:32 -08:00
Ced2911 22ede1ebf3 [Xbox] Network disabled for xbox 2014-03-02 11:30:59 -08:00
Ced2911 596dea63ed [Xbox] 2014-03-02 11:29:27 -08:00
Ced2911 59f4c05132 [core/common] cpu/gpu threading 2014-03-02 11:29:07 -08:00
Ced2911 d82911de58 [Xbox] fixes 2014-03-02 11:27:20 -08:00
Ced2911 f012e7a879 [core] 360 fixes 2014-03-02 11:24:10 -08:00
Ced2911 cc9f238d36 [xbox] 360 support for Core 2014-03-02 11:22:02 -08:00
Ced2911 1e1a2fec8b [Common] add unsigned long 2014-03-02 11:18:42 -08:00
Ced2911 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
Henrik Rydgård 36666ceb93 Merge pull request #5588 from unknownbrackets/psmf-minor
Workaround bug in Kurohyou 2 (uninitialized data)
2014-03-02 21:50:55 +07:00
Henrik Rydgård 64f57ae8e3 Merge pull request #5543 from unknownbrackets/texcache
Fix some texture scaling bugs
2014-03-02 21:49:57 +07:00
Unknown W. Brackets 4f1236c2ba Don't use replaceImages for texture scaling = auto. 2014-03-02 01:39:41 -08:00
Unknown W. Brackets 034ae337b7 Handle texture scaling when render res is auto. 2014-03-02 01:39:40 -08: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
Unknown W. Brackets d2ce324c52 Merge pull request #5586 from raven02/patch-26
Typo fix
2014-03-01 23:15:49 -08:00
raven02 6888ea8d79 Typo fix 2014-03-02 15:12:50 +08:00
Unknown W. Brackets 6b6005c50b Update tests. 2014-03-01 19:26:53 -08:00
Unknown W. Brackets 15a608a6b9 Check for kernel textures in kernel ram properly.
Textures can perfectly legitimately be in volatile ram.
2014-03-01 16:11:56 -08:00