Commit Graph

1486 Commits

Author SHA1 Message Date
Unknown W. Brackets
98d7afae89 Switch to #pragma once in a few places.
Doesn't really affect git history much to change these.
2015-03-02 22:34:51 -08:00
Unknown W. Brackets
179e996b0b jit: Discard unused regs before a syscall.
This is a pretty minor optimization, though.
2015-03-01 11:08:59 -08:00
Chin
37f50a3792 Change to pass some arguments by reference 2015-03-01 16:49:00 +01:00
Unknown W. Brackets
6cc84ffdbb jit: fix invalidation of blocks with only jr.
We need to expand the range not to the latest exit, but to the size of the
block.
2015-02-28 15:09:41 -08:00
Henrik Rydgard
1ecfd6cebc More replacement function accuracy improvements. Makes J&D happy, "fixing" #7502. 2015-02-20 00:17:47 +01:00
Henrik Rydgard
23492d8d90 Jak and Daxter relies on implementation details of memcpy (scary!), fix our replacement. Fixes #7502 2015-02-19 11:16:16 +01:00
daniel229
aec9e25be9 Another replace frame download in Photo Kano. 2015-02-12 20:36:17 +08:00
daniel229
4d304737d8 Replace frame download in Photo Kano. 2015-02-09 14:08:36 +08:00
Henrik Rydgard
2f6216d787 Fix bug in CwCheat icache invalidation. Fixes #7430 2015-02-04 10:56:38 +01:00
Henrik Rydgard
07933cad42 Revert "Minor optimizations, add a failsafe"
This reverts commit 48e4d1edae.
2015-01-22 19:52:58 +01:00
Henrik Rydgard
48e4d1edae Minor optimizations, add a failsafe 2015-01-20 20:08:12 +01:00
daniel229
f1669a3077 Functions replace 2015-01-20 09:06:08 +08:00
Unknown W. Brackets
19b92a3e68 Typo. 2015-01-19 09:41:35 -08:00
Unknown W. Brackets
dfcfad5d52 Remove a useless function call. 2015-01-19 09:10:04 -08:00
Unknown W. Brackets
07982a31c2 Make sure an error case has defined behavior. 2015-01-19 08:55:37 -08:00
Unknown W. Brackets
603fb0a7f7 Clarify that some casts are not accidents. 2015-01-19 08:51:30 -08:00
Unknown W. Brackets
cdddd4b59c Fix an undefined bit shift.
Shouldn't have mattered anyway, but maybe this can crash some ARM chip or
something...
2015-01-19 08:40:10 -08:00
Unknown W. Brackets
6326088498 Add another memmove() implementation. 2015-01-18 21:27:07 -08:00
Unknown W. Brackets
70563c3e7b Add another memset/memmove pair. 2015-01-18 21:27:07 -08:00
Unknown W. Brackets
70da5be5cc Add another memcmp() implementation. 2015-01-18 21:27:06 -08:00
Unknown W. Brackets
69ed727a21 Mark another memmove() implementation. 2015-01-18 21:27:06 -08:00
Unknown W. Brackets
94ba05eba1 Add another memset replacement. 2015-01-18 21:27:05 -08:00
Unknown W. Brackets
1383c0e200 Replace memmove() from Star Ocean 1 (US). 2015-01-18 21:26:39 -08:00
Unknown W. Brackets
bc354f5564 Notate region on some replacements. 2015-01-18 21:26:38 -08:00
Unknown W. Brackets
b5837564c6 Hook memmove() found in Final Fantasy Tactics.
Probably will be seen in other games too.
2015-01-18 21:26:38 -08:00
Unknown W. Brackets
909478fb83 Handle disabled replacments in interp, oops. 2015-01-18 21:26:37 -08:00
Unknown W. Brackets
9cb1151b67 x86jit: Disable replacements w/ breakpoints inside.
This does alter graphics (memcpys won't fire anymore), but it also means
breakpoints work which is nice.
2015-01-18 21:26:37 -08:00
daniel229
f29adce3b5 Replace memset in Final FantasyTactics (jpn) 2015-01-19 09:13:59 +08:00
Unknown W. Brackets
dcf54ec8a0 armjit: Burn less hard without a quad mapping. 2015-01-17 18:48:50 -08:00
Unknown W. Brackets
0dc3e4e2db x86jit: Handle unable to spill better.
Might as well check the result to be safe.
2015-01-17 18:42:58 -08:00
Unknown W. Brackets
c0a04cbf7e armjit: Fix first temp vreg offset.
Wonder what havoc this could've caused....
2015-01-17 18:21:04 -08:00
daniel229
0bd6d74996 Replace frame download in Utawarerumono portable 2015-01-14 17:27:14 +08:00
sum2012
f659e60c8d Fix Yu-Gi-Oh 6 crash with edit card in Android version
This revert part of
74d8a9bdba
2015-01-13 22:01:02 +08:00
daniel229
c4d4aaab11 Replace frame download in MotorStorm: Arctic Edge 2015-01-13 15:42:25 +08:00
Henrik Rydgård
73e7bd81d6 Merge pull request #7307 from unknownbrackets/jit-minor
Add flags for VFPUCC affecting instructions
2015-01-10 12:44:26 +01:00
Unknown W. Brackets
0f920d9b43 Add flags for VFPUCC affecting instructions.
This may fix possible bugs in clobber as well as help spill.  Could also
affect nice delay slots?
2015-01-10 02:02:39 -08:00
daniel229
e2b52b38d7 Replace frame download in Flowers 2015-01-09 14:36:48 +08:00
daniel229
c59ad888a1 Another replace frame download in To Heart 2 Portable 2015-01-09 14:34:03 +08:00
Unknown W. Brackets
a27be3887e x86jit: Handle overlap better in simd vtfm. 2015-01-07 18:10:53 -08:00
Henrik Rydgård
bb1d571493 Merge pull request #7261 from hilesaz/master
Fix simd vmmul transpose optimizations.
2015-01-06 11:59:14 +01:00
daniel229
f0b6826d67 Replace frame download in To Heart 2 Portable 2015-01-06 15:22:44 +08:00
daniel229
be8f9f50e4 Replace frame download in Kokoro Connect Yochi Random 2015-01-06 15:13:53 +08:00
daniel229
f288cd04a9 Replace frame download in Grisaia no Kajitsu La Fruit de la Grisaia 2015-01-06 15:05:30 +08:00
daniel229
c5aafb3be4 Replace frame download in Sangoku Koi Senki Otome no Heihou 2015-01-06 14:48:56 +08:00
daniel229
923f398d0d Replace frame download in Amatsumi Sora ni Kumo no Hatate ni 2015-01-06 14:39:06 +08:00
daniel229
daa145d282 Replace frame download in Kud Wafter 2015-01-06 14:30:45 +08:00
daniel229
a66423dfa3 Replace frame download in "Rewrite Portable" 2015-01-06 14:19:36 +08:00
Unknown W. Brackets
23893ffba8 x86jit: Fix crash in prefixes and simd enabled. 2015-01-04 15:50:12 -08:00
Henrik Rydgard
90376267b1 More reg number asserts 2015-01-04 23:15:33 +01:00
Henrik Rydgard
fe63a15e22 x86jit fpu regcache: Add extra invariant check for too-large mips register numbers 2015-01-04 22:54:01 +01:00