Commit Graph

4908 Commits

Author SHA1 Message Date
Unknown W. Brackets
1bccfa4141 Look for downward jumps for elses when scanning.
Otherwise, we often end the function earlier than it should be.
2013-12-01 21:28:09 -08:00
Unknown W. Brackets
43be44947f Correctly reuse symbol map entries when scanning.
Before we created one huge function in place of the old.
2013-12-01 20:25:51 -08:00
Unknown W. Brackets
b2971314b8 Fix hash detection of branches to jr ra.
This makes it more correctly identify functions.
2013-12-01 20:23:16 -08:00
Unknown W. Brackets
eac8b1a84d Scan for functions even without a .text section.
It's possible this may be wrong, but every game I've seen loads the funcs
in this area.  Sometimes there's data after the funcs before the stubs,
but it's better than no funcs.
2013-12-01 19:43:40 -08:00
Unknown W. Brackets
7de0b28961 Fix an unhandled case value warning. 2013-12-01 11:21:17 -08:00
Unknown W. Brackets
dd2e996838 Fix some type comparison warnings. 2013-12-01 11:21:16 -08:00
Unknown W. Brackets
a69ddf840c Fix some formatting warnings. 2013-12-01 11:21:15 -08:00
Henrik Rydgard
f696650437 Implement vasin (fastasin5 from unittest) in ARM jit, add a sanity check. 2013-12-01 14:14:04 +01:00
Unknown W. Brackets
5ba94aa939 Correct jit block size for profiling. 2013-12-01 02:34:37 -08:00
Unknown W. Brackets
5d2ff64252 Support for modified jit-enabled VerySleepy.
This allows profiling the jit.  Should have zero perf impact when not
in use, since it's entirely triggered by VerySleepy.
2013-11-30 19:20:21 -08:00
Henrik Rydgard
23e57b71e0 Revert "Shave one instruction off slti and slt on ARM."
This reverts commit 04742e00fc.
2013-11-30 16:06:16 +01:00
Henrik Rydgard
04742e00fc Shave one instruction off slti and slt on ARM. 2013-11-30 15:53:21 +01:00
Henrik Rydgard
87f781bca4 Fix issue where the partial stretch option would only be saved on Blackberry. Fixes #4682. 2013-11-30 12:50:55 +01:00
Henrik Rydgård
fd4f56e760 Merge pull request #4681 from thedax/fixAndroidBlackscreens
Android: Default to PSP-1000 for now, until we know what's causing the blackscreen issues.
2013-11-29 10:53:13 -08:00
The Dax
3587f5cefe Fix really stupid typo caused by being in a hurry. 2013-11-29 13:49:17 -05:00
Henrik Rydgård
120cbf05e1 Merge pull request #4680 from unknownbrackets/debugger
Improve vfpu disasm for a few instructions
2013-11-29 10:47:33 -08:00
The Dax
6597a1a6c0 Android: Default to PSP-1000 for now, until we know what's causing the issues. 2013-11-29 13:41:57 -05:00
Unknown W. Brackets
ec05146ffd Improve vfpu disasm for a few instructions. 2013-11-29 10:07:15 -08:00
The Dax
eff74892b0 Fix a styling issue, and allow shader names to be translated in the Win32 menubar. 2013-11-29 12:52:10 -05:00
Henrik Rydgård
345d362391 Merge pull request #4677 from unknownbrackets/perf
Attempt to improve audio issue in #4669
2013-11-29 09:20:41 -08:00
Unknown W. Brackets
dffa35ef2f When ins is used with a zero argument, don't OR.
Seems it's used effectively to mask out bits with rs=zero.  Makes sense...
2013-11-29 09:17:12 -08:00
Unknown W. Brackets
7dedf54bc3 Always resched in thread queue rotation.
It might be time to reschedule anyway, some games call this in a loop with
an empty queue.

May help Harukanaru Toki No Naka de Hachiyoushou (#4669.)
2013-11-29 08:59:47 -08:00
Henrik Rydgård
ebdab9f907 Merge pull request #4670 from hrydgard/fastmem-default
Enable fast-memory by default, change the name of the setting so it resets for everyone.
2013-11-29 08:36:52 -08:00
Henrik Rydgård
1296aad6c7 Merge pull request #4675 from Kingcom/Debugger
Small debugger fixes and enhancements
2013-11-29 08:30:08 -08:00
Kingcom
85abd37ed1 Small debugger fixes and enhancements 2013-11-29 17:21:48 +01:00
Henrik Rydgård
d254fbf24f Merge pull request #4664 from thedax/modelSelectOption
Add an ini option to allow the emulated PSP model to be changed.
2013-11-29 05:22:31 -08:00
Henrik Rydgård
6258c2bb9a Make the vertex decoder JIT an ini-only setting, it is solid enough to hide. 2013-11-29 14:21:03 +01:00
Henrik Rydgård
8d928fcfc2 Enable fast-memory by default, change the name of the setting so it
resets for everyone.

The speed boost is just too big to keep it from users who don't try all
the settings.
2013-11-29 11:50:50 +01:00
Henrik Rydgård
33023a34d7 Merge pull request #4668 from unknownbrackets/debugger
Add a dialog to enter a specific jit compare address
2013-11-29 00:23:56 -08:00
Unknown W. Brackets
79322103f2 Optimize DisassemblyFunction::getLineNum() a bit.
Improves scrolling performance in some cases in the debugger.
2013-11-28 23:48:12 -08:00
Unknown W. Brackets
435115441d Reinitialize the GE on sceKernelLoadExec().
Mostly, reset the lists and draw completion, etc.

May be required for Capcom Classic Collection Reloaded to work.
2013-11-28 15:35:12 -08:00
The Dax
e0f0409f82 Minimum version for the memory savestate section is 1, not 0. 2013-11-28 17:46:33 -05:00
The Dax
3e07e88e43 Don't break savestates made by HD Remasters. 2013-11-28 16:28:25 -05:00
The Dax
998a6f6fdb Load the model from the savestate before deciding the memory size. 2013-11-28 15:36:24 -05:00
The Dax
ba31e18060 Perform savestate actions more intelligently. 2013-11-28 15:34:11 -05:00
The Dax
1b8df0d826 Save the model into the save state. 2013-11-28 14:58:59 -05:00
The Dax
85e3a2dbfb Make the model option ini-only.
Move PSP_MODEL_FAT and PSP_MODEL_SLIM to Config.h.
Default to a PSP Slim, and enable 64 megs of memory by default.
2013-11-28 14:37:10 -05:00
The Dax
5d310e6014 Add an option to allow the emulated PSP model to be changed. Some games require a PSP-2000 for features such as multiplayer. 2013-11-28 12:37:12 -05:00
Sacha
90b5097d45 Travis: add Blackberry. Improve Blackberry out-of-box compile. 2013-11-29 00:18:41 +10:00
Henrik Rydgard
50a589ea72 Extend sanity check for vfpu reordering array. 2013-11-28 13:27:52 +01:00
Henrik Rydgard
f9f6e9492d Reorder vfpu data in saved kernel contexts when loading in a new version. 2013-11-28 13:27:51 +01:00
Henrik Rydgard
55500d4bb6 Reorder VFPU registers in memory so that we can flush and reload them in bulk more often.
Doesn't actually do that yet, that's for the NEON branch.
2013-11-28 13:27:51 +01:00
Henrik Rydgard
c83a7e0029 Parse mac addresses in one place. 2013-11-28 12:38:45 +01:00
Henrik Rydgard
ade18848f7 Warning fixes 2013-11-28 11:54:00 +01:00
Henrik Rydgård
620bb14d6b Merge pull request #4662 from Kingcom/Debugger
Disassembler fix
2013-11-28 02:04:13 -08:00
Kingcom
cca750aab5 Fix invalid memory access on start, remove combo box code from symbol map 2013-11-28 10:49:02 +01:00
Henrik Rydgård
f8227132f9 Merge pull request #4657 from Kingcom/Debugger
Create data directives in disassembler
2013-11-28 01:20:21 -08:00
Unknown W. Brackets
41a7157aa6 Eat some cycles when changing thread priority.
Some games call this a lot.
2013-11-28 01:01:22 -08:00
Unknown W. Brackets
382f3b91f4 Eat cycles and reschedule in some rtc funcs.
Reported to fix #2146.
2013-11-28 00:30:04 -08:00
Unknown W. Brackets
78ea146af6 Get rid of some unnecessary ifdefs, fix build. 2013-11-27 22:15:39 -08:00