Commit Graph

12259 Commits

Author SHA1 Message Date
Sacha
30a6a5d10f ARMJIT: Implement VLDM/VSTM load/store combinations and use in armjit. Also add them to disassembler. 2014-03-07 02:56:34 +10:00
Henrik Rydgård
8276cac6a4 Merge pull request #5611 from thedax/ui-minor
Show unknown.png regardless of PARAM.SFO when an ISO lacks an icon0.
2014-03-06 14:41:03 +01:00
The Dax
8efd67280d Show unknown.png regardless of PARAM.SFO when an ISO lacks the file.
It's better than showing a black rectangle with nothing in it for broken or homebrew ISOs.
2014-03-06 08:25:40 -05:00
Henrik Rydgård
56b2b2e534 Merge pull request #5609 from unknownbrackets/perf
Avoid leaving the fast runloop on jumps.
2014-03-06 08:43:25 +01:00
Unknown W. Brackets
4fbb245382 Avoid leaving the fast runloop on jumps.
Jumps are actually very common in some games, like FF4 and Crisis Core,
and tons more.  They are used to jump around vertex data.

Improves performance by a few percent in FF4.
2014-03-05 23:24:18 -08:00
Unknown W. Brackets
641064f0bc Consistently use MIPS_REG_V0 for return values.
This way all instances are a lot easier to search for (was trying to find
where we were writing an incorrect value to v0, turns out to be callback
related of course.)
2014-03-04 08:21:55 -08:00
Unknown W. Brackets
446418d783 Properly reset some state between games. 2014-03-04 07:55:08 -08:00
Unknown W. Brackets
505b0c388f Fix a typo. 2014-03-04 07:37:32 -08:00
Henrik Rydgard
e11e4cfff2 GCC buildfix 2014-03-04 11:38:33 +01:00
Unknown W. Brackets
b1acde2679 Oops, forgot the world matrix too.
VerySleepy is telling me that time is spent in WORLDMATRIXDATA in games,
but I didn't check the perf impact exactly.  It's probably small, but may
help some games.
2014-03-04 01:09:04 -08:00
Henrik Rydgård
349c207196 Merge pull request #5603 from unknownbrackets/gpu-minor
Try to load inline matrices a bit faster
2014-03-04 10:01:03 +01:00
Unknown W. Brackets
9e35822d16 Try to load view and model matrices a bit faster. 2014-03-04 00:37:28 -08:00
Unknown W. Brackets
a8f9635e28 Optimize loading of texgen matrices.
Pretty small impact, may help games that use them a lot.
2014-03-04 00:23:10 -08:00
Unknown W. Brackets
d60b0272fa Avoid flushing if the bone matrix is the same. 2014-03-04 00:17:16 -08:00
Unknown W. Brackets
eb04031975 Try to optimize inline matrix loads.
Improves performance by a few percent in Gods Eater Burst.
2014-03-04 00:11:03 -08:00
Henrik Rydgård
e7299d5e60 Merge pull request #5601 from thedax/updateSubmodules
Update ffmpeg and lang.
2014-03-03 19:31:05 +01:00
The Dax
bfa8d623ed Update ffmpeg and lang. 2014-03-03 12:41:41 -05:00
Henrik Rydgård
0846abbd54 Merge pull request #5598 from lioncash/vertical-alignments
Fix up some vertical alignments in misc Core source files.
2014-03-03 18:29:19 +01:00
Henrik Rydgård
fa4fbd0082 Merge pull request #5600 from thedax/additionalPS1EbootCheck
Perform another PS1 eboot check before checking the PSAR magic.
2014-03-03 18:27:29 +01:00
The Dax
f3d32d8c23 Get rid of redundant ERROR_LOG. 2014-03-03 11:57:33 -05:00
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
Henrik Rydgård
cc93e78076 Merge pull request #5599 from thedax/win32NVidiaOptimus
Win32: On Optimus systems, use the NVidia GPU, not the IGP.
2014-03-03 17:31:36 +01:00
The Dax
04837f7ba6 Remove redundant ifdef; we're already on Win32, so there's no need for them here. 2014-03-03 11:30:58 -05:00
The Dax
520eb5b012 Win32: On Optimus systems, use the NVidia GPU, not the IGP. 2014-03-03 11:26:27 -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
Henrik Rydgård
30e58d9848 More work on smoother keyboard focus 2014-03-03 12:56:01 +01:00
Henrik Rydgård
36c8d7f408 Focus the start button on the pause screen. Update native with focus fixes. 2014-03-03 11:39:42 +01:00
Henrik Rydgård
91f67be6c4 Merge pull request #5596 from unknownbrackets/warnings
Fix some minor warnings
2014-03-03 15:31:44 +07:00
Unknown W. Brackets
f124e7dddc Fix a minor typo. 2014-03-03 00:21:04 -08:00
Unknown W. Brackets
c7437bbe8e Fix some minor warnings. 2014-03-03 00:08:32 -08:00
Henrik Rydgård
705658b8e4 Merge pull request #5593 from unknownbrackets/debugger2
Highlight arguments from the selected range
2014-03-03 13:57:31 +07:00
Unknown W. Brackets
f70f70925d Highlight arguments from the selected range.
For example, if "lui v0,0x8000" is selected, highlight "v0" or "0x8000"
used as arguments on other lines.  Makes it a bit easier to follow.
2014-03-02 22:49:22 -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
c2f76ac549 Merge pull request #5594 from unknownbrackets/gpu-minor
Fix some software skinning glitches
2014-03-03 13:32:03 +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
bedca39bf1 Merge pull request #5595 from unknownbrackets/vertexjit
vertexjit: Implement Morph pos/nrm variants on x86
2014-03-03 13:26:22 +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
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