Commit Graph
14759 Commits
Author SHA1 Message Date
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
Henrik Rydgård 309f1aa082 Merge pull request #4832 from thedax/oskInputRepeat
OSK: Allow the text input buttons to be held and thus repeat.
2013-12-14 15:23:35 -08:00
The Dax 92ab821f14 Allow the OSK text input buttons to be held and thus repeat. 2013-12-14 18:18:18 -05:00
Henrik Rydgård a63e9828ed Merge pull request #4831 from unknownbrackets/jit-invalidate
When importing vars, invalidate jit for HI16 too
2013-12-14 15:11:21 -08:00
Unknown W. Brackets 18e2648a27 When importing vars, invalidate jit for HI16 too. 2013-12-14 15:05:56 -08:00
Unknown W. Brackets 13bf4d83fa Add memchecks for common HLE copy operations.
Better to catch some than miss everything.
2013-12-14 14:56:05 -08:00
Unknown W. Brackets 12713a44a1 Attempt to prevent shutdown crash in debugger. 2013-12-14 14:56:04 -08:00
Unknown W. Brackets b74c62b6a6 Switch to a 64-bit function hash. 2013-12-14 14:56:04 -08:00
Unknown W. Brackets 5220115708 Reduce sceMpegRingbufferAvailableSize() logspam.
It's really mostly interesting when it changes only.
2013-12-14 14:56:03 -08:00
Unknown W. Brackets 7bbbf4d4b6 Typo. 2013-12-14 11:34:06 -08:00
Unknown W. Brackets 3204ec94fb Forget video end when more packets are added.
Good for looping videos, for example Burnout.
2013-12-14 11:33:32 -08:00
Unknown W. Brackets 20b81ef552 Don't try to seek the video with too few packets.
Conservatively we seem to need approximately 6, which any video ought to
be longer than.
2013-12-14 11:18:08 -08:00
bollu b0c7e824be Merge branch 'master' of https://github.com/hrydgard/ppsspp into improvedTilControls 2013-12-14 16:45:29 +05:30
Henrik Rydgård f449d03691 Merge pull request #4822 from unknownbrackets/rtc
Fix some date conversions in sceRtc
2013-12-14 01:15:49 -08:00
Unknown W. Brackets ef9de27651 Fix overflows in sceRtcAdd*() funcs. 2013-12-13 23:03:41 -08:00
Unknown W. Brackets ba17f57149 Simplify sceRtcTickAddMonths() and write if valid. 2013-12-13 21:58:25 -08:00
Unknown W. Brackets d7d03f632e sceRtcTickAddYears(): don't write invalid results.
Also fix leap day handling, per tests.
2013-12-13 15:11:40 -08:00
Unknown W. Brackets 0e831b0cda Check days in month within sceRtcCheckValid(). 2013-12-13 15:10:47 -08:00
Unknown W. Brackets e4e26f6cc1 Convert ticks using a better supported year range.
Since 400 years is a stable number, we can adjust everything to [1970,
2370) and most system libraries (hello, Windows) will get it right.

This fixes overflow issues with tick/date conversions.
2013-12-13 15:07:53 -08:00
Unknown W. Brackets 7c2a5a0211 Report negative time parts as invalid. 2013-12-13 15:06:31 -08:00