Commit Graph
5276 Commits
Author SHA1 Message Date
Henrik Rydgard 309f904c0c Extract JitState into its own header (arm/x86) 2013-11-08 18:51:52 +01:00
Henrik Rydgard f57f8170d3 ARMjit: Optimize mfv, mtv 2013-11-08 12:43:48 +01:00
Henrik Rydgard dff0c431aa ARMjit: Optimize mfc1, mtc1 2013-11-08 12:43:48 +01:00
Henrik Rydgard 5a95e267fb Add an optimization to discard registers at the end of functions when possible.
Works in some games but crashes many so hiding it for now. Do not add UI.
2013-11-08 12:43:48 +01:00
Sacha 803148b8ca ARMv6: Fix offsets > 4096 for litpool. More aggressive check.
Somehow Scooby Doo gets to offsets of ~4200 unless i drop the threshold down to ~3200. Not sure why the offset can jump by so much in one instruction.
Makes Scooby Doo playable now instead of showing a blue screen in the main game. Likely affects other games.
2013-11-08 16:07:05 +10:00
Henrik Rydgard c0d7c5e958 vsgn x86 bugfix 2013-11-07 21:07:07 +01:00
Henrik Rydgard 6eb7f94065 Implement vsgn in x86/x64 and ARM jit 2013-11-07 15:29:13 +01:00
Henrik Rydgard 32c95af820 ARM: Some zero-register fixes 2013-11-07 15:29:13 +01:00
Henrik Rydgard 91393093bc Re-enable the "nice delay slot" optimization on ARM 2013-11-07 15:29:12 +01:00
Henrik Rydgård 714754e149 sceAudio: only use the optimized volume=max path if stereo, add a TODO.
Might take care of #4470.
2013-11-07 11:50:24 +01:00
Henrik Rydgård dbaac03afb Merge pull request #4462 from Kingcom/FollowOp
Extend follow functionality of disassembly
2013-11-06 12:15:57 -08:00
Unknown W. Brackets 82706ef82d Fix a crash if the gpu doesn't load.
E.g. for invalid files with multithreading enabled.
2013-11-06 07:49:32 -08:00
Henrik Rydgård 23ac6ea2fd Merge branch 'autoLoadSave' of https://github.com/bollu/ppsspp into bollu-autoLoadSave
Conflicts:
	Core/Config.h
	UI/EmuScreen.cpp
2013-11-06 15:40:36 +01:00
Henrik Rydgård 1e158fa652 ARM vtx dec: Preserving our FP scratch register appears to improve
stability.

Also added some logging.
2013-11-06 11:47:26 +01:00
Henrik Rydgård 9be3f8fc0a Use ANDI2R instead of a BIC with a too large parameter 2013-11-06 10:50:30 +01:00
Henrik Rydgård e687b283f1 Logspam reduction 2013-11-06 10:34:56 +01:00
Sacha 81d3df0841 ARMJIT: Minor optimisations for armv6 and armv7. 2013-11-06 15:28:26 +10:00
Kingcom aae08173f1 Extend follow functionality of disassembly 2013-11-05 21:20:21 +01:00
Igor Calabria f3f0bc231b Adds cleanup method after game exit 2013-11-05 16:36:01 +00:00
Sacha 61e6054920 Revert change to WSBH as we don't have a swap16 that takes/returns u32. 2013-11-06 01:38:02 +10:00
Henrik Rydgard 6483c0c2cd Two minor armjit optimizations 2013-11-05 16:25:01 +01:00
Sacha a5011e3ff0 Improve swap usage in MIPS. ARMv6 can use REV/REV16. Intepreter can use existing swap functions. 2013-11-06 01:20:35 +10:00
Sacha b1b4679fe6 Scale touch controls to screen resolution.
Include a migration method for users who were on the old static system.
Scaling up may still look weird due to the hacky method of placement which is unchanged by this commit.
Next step of resolution independence would be to have the button scaling affected by resolution too.
Tested on a few devices. Mobile users should see no changes at all.
2013-11-05 14:52:31 +10:00
Henrik Rydgård 508830b45b Merge pull request #4447 from Bigpet/DSoundRefactoring
move direct sound specific behavior into the actual direct sound function
2013-11-04 11:22:50 -08:00
Peter Tissen 9b9ba165e0 move direct sound specific behavior into the actual direct sound function instead of into an ifdef 2013-11-04 18:29:49 +01:00
Unknown W. Brackets 859d14d3f5 Correct sceKernelIsCpuIntrSuspended().
It takes a param.  Verified by tests, it just returns what the param
means, not anything about the current state.
2013-11-04 08:03:51 -08:00
Unknown W. Brackets dfbfed7534 Oops, avoid a crash on a bad HLE func.
In the debug stats area.
2013-11-04 08:03:50 -08:00
Unknown W. Brackets 732ae13ebb Fast path CallSyscall where possible.
It seems we're spending a decent amount of time there, which isn't
entirely unexpected.  We can eliminate some things easily.
2013-11-04 07:59:37 -08:00
Unknown W. Brackets baa82e0a9d Keep syscalls the same in the interpreter.
Rather than having different bugs.
2013-11-04 07:59:36 -08:00
Peter Tissen 3bd01cce31 fixes #4443 buffer underrun in the audio system 2013-11-04 14:03:36 +01:00
Henrik Rydgård e2e74e81d6 Merge pull request #4436 from Bigpet/Audiofix
delete source of buffer overrun on Windows
2013-11-03 14:37:37 -08:00
Peter Tissen c9eac0e10c delete source of buffer overrun on Windows 2013-11-03 23:03:07 +01:00
Henrik Rydgård 95ede145c9 Merge pull request #4432 from shenweip/patch-3
Improvement about Save Load.
2013-11-03 11:17:17 -08:00
shenweip 740f49c7a1 Add a check and comment. 2013-11-04 00:13:00 +08:00
shenweip 8a26da6e45 Load another files of save. 2013-11-03 23:52:16 +08:00
Unknown W. Brackets 5efc7fd581 Fix typo. 2013-11-03 07:36:53 -08:00
shenweip b9d655f602 Code CleanUp,make it clearer. 2013-11-03 23:10:05 +08:00
Henrik Rydgard c4e02ab41d Revert "Fix Comp_VRot on x86 Linux/Mac/etc."
Seems broken, doesn't built on Windows.

This reverts commit d41acebb3d.
2013-11-03 15:24:57 +01:00
Henrik Rydgård b2298a9e86 Merge pull request #4420 from unknownbrackets/savestates
Enable rewind feature in UI, fix a savestate bug
2013-11-03 03:21:51 -08:00
Henrik Rydgård 3144a51e07 Merge pull request #4424 from unknownbrackets/perf
Speed up access to the current HLE thread
2013-11-03 03:13:17 -08:00
Henrik Rydgård 743fb154ae Merge pull request #4427 from unknownbrackets/volume-fix
Fix volume scaling for mono inputs, etc.
2013-11-03 03:11:35 -08:00
Henrik Rydgård f414856ebe Merge pull request #4428 from Kingcom/StepOver
Fix step over handling of fpu branches and jalr
2013-11-03 03:09:04 -08:00
Kingcom 95b466fc4f Fix step over for jalr 2013-11-03 10:58:31 +01:00
Kingcom eeb86fc105 Fix step over handling of fpu branches 2013-11-03 09:54:58 +01:00
Unknown W. Brackets 348ea5b5cf Fix volume scaling for mono inputs, etc.
Fixes #4423.
2013-11-03 01:14:22 -07:00
Unknown W. Brackets d41acebb3d Fix Comp_VRot on x86 Linux/Mac/etc.
Easy way: just use our existing functions that work.
2013-11-03 01:03:57 -07:00
Sacha 5613b86864 Use NEON texture decoder on Blackberry and iOS. Use ARMV7 defines. 2013-11-03 15:59:10 +10:00
Unknown W. Brackets d400b1a67b Keep track of the current thread obj.
To reduce overhead/improve perf.  Actually, it used to be only the current
thread object, but now it's just a cache with accessors.
2013-11-02 22:12:44 -07:00
Unknown W. Brackets 738dfc84e4 Speed up __GetCurrentThread(), it's called a lot.
This only needs to be an assertion.
2013-11-02 22:12:43 -07:00
Unknown W. Brackets 2f010773e1 Add rewind feature to the UI.
May not be perfect yet.
2013-11-02 18:33:23 -07:00