Commit graph

5078 commits

Author SHA1 Message Date
Henrik Rydgård
038b0f51aa Merge pull request #4892 from sum2012/sceumd
Fix Sceumd
2013-12-24 12:25:05 -08:00
Henrik Rydgard
acce50aaa5 A few more math functions replaced 2013-12-22 12:51:16 +01:00
Henrik Rydgård
b0bfda6333 Merge pull request #4515 from bollu/improvedTilControls
Redid the tilt controls in a nicer way
2013-12-22 02:13:28 -08:00
Henrik Rydgard
7189adf33a non-windows x86 buildfix 2013-12-21 19:47:59 +01:00
Henrik Rydgard
9e109e16d9 Android buildfix.
Also, this warning flag appears not supported. (4.6?)
2013-12-21 13:06:29 +01:00
Henrik Rydgard
6a051a9eed Oops 2013-12-21 13:05:30 +01:00
Henrik Rydgard
215a269b34 Optimize dl_write_matrix just because. not expecting a big speedup... 2013-12-21 12:39:34 +01:00
raven02
ee566d2e79 emnu fix#4 2013-12-21 16:24:16 +08:00
sum2012
f3b0582750 Fix Sceumd
Fix Narisokonai Eiyuutan: Taiyou to Tsuki no Monogatari black screen
Fix The History Channel: Great Battles of Rome load probrem.
Fix Sora no Kiseki SC change disc issue
2013-12-21 07:15:35 +08:00
Henrik Rydgard
455a73bba7 Bugfix replace function inlining (compilerPC needs to be increased). Misc. 2013-12-20 15:37:37 +01:00
Henrik Rydgard
a53a032120 Prevent hashes from coming out differently after replacement. 2013-12-20 13:53:03 +01:00
Sacha
3cad2ed850 Use VFS for Flash0 dir on non-Windows/Apple platforms. 2013-12-19 23:30:32 +10:00
Henrik Rydgård
28a518bfa7 Reformat JitBlockCache 2013-12-19 13:34:06 +01:00
Henrik Rydgård
2eb1f89ad0 Rework proxy blocks a bit 2013-12-19 13:31:13 +01:00
Henrik Rydgård
3957b5fb42 Call ProxyBlock in ArmJit too. Plus various cleanup and one more string function. 2013-12-19 11:45:39 +01:00
Henrik Rydgård
5585b85ccc Use GetPointerUnchecked in replaced functions. No point in checking these addresses really. 2013-12-19 11:34:55 +01:00
Unknown W. Brackets
46e0ac5f23 Logging tweak. 2013-12-19 00:18:29 -08:00
Unknown W. Brackets
b48c625adc Replacements: use memmove, avoid invalid addr.
If size = 0, don't care about addresses.  Some games use 0, 0, 0 and
expect it to work just fine, which it should.
2013-12-19 00:15:03 -08:00
Unknown W. Brackets
9bb03072e6 Increase the min size of an "interesting" func.
Seeing a bunch of forwarders and stuff that won't hash safely.
2013-12-18 23:58:45 -08:00
Unknown W. Brackets
438361d0bc Clean up code pointer naming for the jit.
Now it properly identifies thunk code which is actually a decent percent
when fastmem is off at least.
2013-12-18 23:57:39 -08:00
Henrik Rydgard
1cb7965cb1 Jit feature preparation: Introduce "proxy blocks".
When these are invalidated, the block they point to gets invalidated too.

Will be useful to implement various types of block merging and function inlining
without affecting correctness of cache clears etc.

Also, with this commit we can now fully inline replaced functions. fabsf() boils
down to 1-2 instructions and the block continues, for example.
2013-12-19 00:39:49 +01:00
Henrik Rydgard
1e300447e1 Fix some replace-related bugs. Add "jal" replace inlining, not activated. 2013-12-18 16:27:23 +01:00
Henrik Rydgard
2d4c28826a Show replaced instructions correctly in disassembly 2013-12-18 11:42:19 +01:00
Henrik Rydgard
041ed9a4b8 More replace function work 2013-12-18 11:22:53 +01:00
Henrik Rydgard
6937719c3b Minor fixes around function replacement, a couple of math funcs 2013-12-18 10:35:50 +01:00
Unknown W. Brackets
497537a4c4 Fix another dumb typo.
Arg, need to stop rushing things.  May have caused #4869.
2013-12-17 23:36:51 -08:00
Henrik Rydgard
1d2f1efd06 Fix function replacement on ARM 2013-12-18 00:09:08 +01:00
Henrik Rydgard
2eab4aa1bf Play around with function replacement. Turned off by default of course. 2013-12-17 23:40:27 +01:00
Henrik Rydgård
5c5c961d94 Merge pull request #4872 from unknownbrackets/savedata
Only draw visible savedata icons, fix leak
2013-12-17 09:38:53 -08:00
Unknown W. Brackets
b2795b31c0 Only draw visible savedata icons, fix leak.
Fixes #4870.
2013-12-17 08:07:30 -08:00
Henrik Rydgard
ca9efb1619 Linux build fix 2013-12-17 12:41:45 +01:00
Henrik Rydgard
291d25f43d Only autosave the hashmap if enabled and not on mobile. 2013-12-17 12:30:56 +01:00
Henrik Rydgard
2140892074 Initial preparations for ability to replace game functions with custom implementations.
Also auto-saves hashmap additions and reapplies the hashmap on function
rename so that if you rename a function that exists in several copies
they will all be labelled.

Note that actual function replacement is not activated yet.
2013-12-17 12:27:20 +01:00
Unknown W. Brackets
8e797796e5 Wait for only 5 frames before seeking mpegs.
Workaround for Mana Khemia, ugh... must be more complex logic.  Valkyrie
Profile still works.
2013-12-17 02:00:57 -08:00
Unknown W. Brackets
d704f39981 Report unknown devctl commands. 2013-12-17 01:55:38 -08:00
Henrik Rydgård
6432451334 Merge pull request #4864 from unknownbrackets/io-minor
Implement some ioctl commands for disc0:/ files
2013-12-17 00:38:04 -08:00
Unknown W. Brackets
fd9d4916d5 Implement ioctl 0x01030008, seems important.
There are a number of games using this, which might be happier now.
2013-12-17 00:17:34 -08:00
Unknown W. Brackets
c301eb9b53 Implement ioctl 0x01010005 based on PSP tests.
Fixes #1210.  May fix issues, since it was being silently ignored before.
2013-12-16 23:51:04 -08:00
Unknown W. Brackets
183b4cb45c Add a static method for creating PSPPointers.
This is still kinda ugly, but the assignment thing was just too ugly, I
couldn't do it anymore.
2013-12-16 23:50:52 -08:00
sum2012
9b7e5566d1 Add more information for "Not support this patcher" 2013-12-17 05:36:55 +08:00
Unknown W. Brackets
90b649c9fc Clean up error handling for umd9660 ioctls. 2013-12-16 07:55:46 -08:00
Unknown W. Brackets
23ba2cec2f Implement ioctl command 0x01020001.
Not sure what might use this...
2013-12-16 07:55:45 -08:00
Henrik Rydgård
2871633e36 Merge pull request #4750 from unknownbrackets/ui-tweaks
Support pinning paths in the game browser
2013-12-16 06:08:05 -08:00
bollu
fc1da7c796 Merge branch 'master' of https://github.com/hrydgard/ppsspp into improvedTilControls 2013-12-16 07:16:05 +05:30
Unknown W. Brackets
9e9c6c0719 Allow auto frameskip to skip > 1 frame. 2013-12-15 13:27:16 -08:00
Unknown W. Brackets
f7bad51cc7 Clip in PPGe, fixing issues in softgpu.
We were just drawing wrong, so softgpu was correct.
2013-12-15 11:59:23 -08:00
raven02
29f7d4cb5f Regression fix #4837 2013-12-15 19:54:06 +08:00
raven02
bf93910215 sceAtracGetNextDecodePosition() : write 0 to outposAddr when before return ATRAC_ERROR_ALL_DATA_DECODED 2013-12-15 14:48:08 +08:00
Unknown W. Brackets
4ed419d4d5 Support pinning paths in the game browser.
For example, you might have games in multiple places, internal and
external storage, or a projects directory in addition to regular games,
etc.
2013-12-14 22:34:44 -08:00
The Dax
9ea907d7b7 Update comment in PSPDialog::IsButtonHeld. 2013-12-14 19:05:19 -05:00