Unknown W. Brackets
1e6e333d38
Fix savestates not even trying on diff version.
...
Also, update native.
2013-04-29 23:40:12 -07:00
Unknown W. Brackets
acd0b471e7
Make sure that x64 uses all the same opt settings.
...
There were some differences. Also, make debug use the same sse mode
release does so they have parity.
2013-04-28 22:22:01 -07:00
Henrik Rydgard
660d5700e7
Unify some VS project settings
2013-04-27 19:34:41 +02:00
Henrik Rydgard
2a39a3b972
JIT: Get rid of one memory access per dispatch, and get rid of blockcodepointers.
2013-04-27 01:32:03 +02:00
Yao Wei
c675a9bd79
include stdarg.h in Common/Common.h
...
Fixes gcc 4.7 compile error
2013-04-24 02:51:12 +08:00
Sacha
12d50f25bf
Define vasprintf in native for Blackberry instead (as it is also used there). Remove some redundancy in Settings.pri.
2013-04-22 14:23:13 +10:00
aquanull
b3bf849a89
Fix showing/hiding Log Console on Windows
...
It appears to me that sometimes the first call to ShowWindow() is hindered by STARTUPINFO or something, so I just "neutralize" them with a dummy call. There might be better solutions, but this works for now.
2013-04-22 02:59:27 +08:00
danieru
26991af45b
Fix reference to "FAKE" analog keys
2013-04-20 15:10:28 -06:00
danieru
16bbae440f
Fix inconsistent indentation
2013-04-20 14:35:25 -06:00
danieru
432f10b9bf
Fix comment syntax
2013-04-20 14:33:12 -06:00
danieru
26c2a6a173
Use unicode symbols for psp button names
...
Instead of approximating with ansi chars.
2013-04-20 13:19:13 -06:00
danieru
f63ea38af8
Remove "FAKE" modifier for primary analog keys
...
Since KeyMap only handles descrete keys it is
inaccurate to call them analog. Let no
developer should get confused since the cardinal
directions indicate the descrete natures.
2013-04-20 13:11:51 -06:00
danieru
6121819856
Extend KeyMap supported keys
...
Uppercase latin,
Fastforward,
Alt analog stick,
2013-04-20 13:09:56 -06:00
danieru
cbbed0f18b
Implement platform specific keymap registration
2013-04-20 13:01:15 -06:00
danieru
c2cf28e4b8
Fix typo capitalization of lower case b's name
2013-04-20 12:54:40 -06:00
danieru
8ea13cd3ed
Add KeyMap key translation layer
2013-04-19 22:52:54 -06:00
Henrik Rydgard
32f344d6bd
Very basic internationalization. Does not work on Android yet due to location of ini files.
2013-04-18 12:06:26 +02:00
Sacha
faa9094079
Harmattan: Make temporary RAM file in a folder that already exists.
2013-04-14 17:03:28 +10:00
Henrik Rydgard
5d0dc146a7
Possible buildfix
2013-04-13 21:32:01 +02:00
Henrik Rydgard
e3fb88de68
Background thread for icon loading, show in game list. Switch to GNU STL in Android port.
2013-04-13 21:24:07 +02:00
Sacha
3657ee2094
Add a back button for Meego. Fix RAM tmp file.
2013-04-14 00:48:04 +10:00
Henrik Rydgård
d92dbf8f6d
Merge pull request #1268 from unknownbrackets/savestates
...
Bump savestate version, add better error checking
2013-04-13 02:09:12 -07:00
Unknown W. Brackets
fe97fd6fc5
Add better savestate error handling.
...
Aborts when it can't load.
2013-04-13 01:39:17 -07:00
Sonicadvance1
cd9b49acfd
Updates to ArmEmitter from Dolphin.
2013-04-12 10:14:18 -07:00
Unknown W. Brackets
d599130782
Buildfix for Windows x64.
2013-04-05 10:16:19 -07:00
Unknown W. Brackets
1a7957d68d
MSVC buildfix.
2013-04-05 00:29:29 -07:00
niepodam
94c2f0cd9d
Fix build with gcc 4.8.0
2013-04-04 19:16:15 +02:00
Unknown W. Brackets
a31907dc70
OS X: Workaround weird problem in OS X 10.6 with defines.
...
Apparently !defined(__MAC_10_6) doesn't work?
2013-04-02 07:37:52 -07:00
Unknown W. Brackets
23224f1c1d
OS X: Fix build on Mac OS X 10.6 (from vit9696.)
2013-04-02 07:37:18 -07:00
Unknown W. Brackets
268f30f522
Buildfix.
2013-03-29 01:27:24 -07:00
Sacha
2f63b56c19
If MOVI2R can be done in 2 ops for ARMv6, prefer that over litpool. Litpool can take 1-3 cycles depending on when the value is used. So, usually 3 cycles :\.
2013-03-28 21:26:13 +10:00
Sacha
4ea837cff5
Loongson/MIPS buildfix.
2013-03-27 00:02:32 +10:00
Sacha
471ddd6380
Simplify armjit.
2013-03-26 02:41:15 +10:00
Aapo Rantalainen
b49729f7a9
FIX for last commit ifdef wrong way
2013-03-22 17:48:47 +02:00
Aapo Rantalainen
178891b576
Maemo5: fix 'Bus error' caused by too small /tmp-filesystem (used /tmp/gc_mem.tmp)
2013-03-22 17:26:19 +02:00
Aapo Rantalainen
2b965a6f03
Maemo5 support
2013-03-22 09:15:00 +02:00
Henrik Rydgard
5293c152c6
Untested support for Android-x86. No idea if this actually works.
2013-03-21 20:52:33 +01:00
Unknown W. Brackets
339b2839b3
Finish implementing savestates for fonts.
...
Oops, missed this before. Was crashing FF3 and games using custom fonts.
2013-03-20 23:37:57 -07:00
Unknown W. Brackets
de3713fc50
armjit: improve mem speed without fastmem.
2013-03-16 14:37:35 -07:00
Henrik Rydgård
a219b33e1e
Merge pull request #1001 from unknownbrackets/ios
...
iOS fixes: debugging and logging
2013-03-16 01:23:51 -07:00
Henrik Rydgard
46b2e15945
Set _CRT_SECURE_NO_WARNINGS
2013-03-16 09:17:39 +01:00
Unknown W. Brackets
8c7506e2eb
Mobile: Enable console logging in debug mode.
2013-03-16 00:25:41 -07:00
Henrik Rydgård
dc84b520a6
Merge pull request #992 from unknownbrackets/ios
...
Fix armjit fastmem
2013-03-15 01:06:48 -07:00
Henrik Rydgård
e69615a679
Merge pull request #993 from unknownbrackets/warnings
...
Fix some minor warnings
2013-03-15 01:05:35 -07:00
Unknown W. Brackets
6e54ce5551
Fix some minor warnings.
2013-03-15 00:45:47 -07:00
Unknown W. Brackets
663b481033
armjit: Fix encoding of LDRH/STRH/LDRSH/LDRSB.
...
Fixes fastmem issues recently introduced.
2013-03-15 00:12:28 -07:00
Sacha
5091c7aae2
Fix Sonic's ArmEmitter changes. FastMem should work now.
2013-03-15 11:26:56 +10:00
Unknown W. Brackets
ead6983ad2
Don't lock armjit memory before aligning code.
2013-03-14 01:16:28 -07:00
Sacha
f88bf8bbff
Attempt at fixing JIT on iOS. Can only have PROT_WRITE or PROT_EXEC enabled. So toggle between them as needed.
2013-03-14 14:40:01 +10:00
Sacha
529803e429
Sonic's ArmEmitter changes (cross-project merge from Dolphin)
2013-03-14 12:47:29 +10:00
Unknown W. Brackets
47e2e6f718
Retain the first directory level in logging.
2013-03-11 02:27:28 -07:00
Unknown W. Brackets
a34cf0bb79
Add a VERBOSE logging level, for noisy logging.
...
The debug log is hard to look at because it has so much unneeded info.
2013-03-10 22:32:48 -07:00
Unknown W. Brackets
118050485f
Show the current thread name in the log file.
...
This is very useful, although it kinda entwines the logging a bit
more than might be desired.
2013-03-10 22:25:03 -07:00
xsacha
1871c4e8bd
Merge pull request #900 from xsacha/master
...
Rounding Mode Handling
2013-03-09 20:30:39 -08:00
Sacha
27b70f0726
Add MIPS/Loongson support
2013-03-10 13:24:05 +10:00
Sacha
7782be9a3e
Try software rounding mode instead. Use conditionals for VFP functions. Note: Round to Zero not working for some reason?
2013-03-08 22:39:34 +10:00
Sacha
fbef590bed
Add emitters for VMRS/VMSR. Undisable ceil, which works. Add stub for rounding mode handling.
2013-03-08 22:39:34 +10:00
Sacha
b9ec281c55
Disable rounding methods that aren't working in hardware. Add some notes. Fix compare fall-through and choose right round method.
2013-03-07 21:33:30 +10:00
Sacha
9f0bb8cf52
armv6: Reuse constants in literal pool.
...
May reduce memory loads?
2013-03-07 14:44:55 +10:00
Sacha
ae3b881a7f
Use correct args for Operand2(..) through armjit. Fix STR(..).
2013-03-07 00:59:07 +10:00
Sacha
268d16bd24
Use correct args for STR(..) throughout armjit.
2013-03-07 00:59:07 +10:00
Sacha
5a134243a7
Armjit: Fix lwl, lwr and enable again. Thanks Sonic.
2013-03-06 03:28:28 +10:00
Sacha
7e67de3334
Armjit: Implement lwl, lwr, swl, swr in ARM JIT. lwr is currently disabled as it isn't working.
2013-03-06 02:11:36 +10:00
Sacha
9152d2f2bb
Armjit: Optimise swl+swr and lwl+lwr cases that can be combined to a single sw or lw. Add shift flags to STR/LDR. Add EatInstruction to ArmJit.
2013-03-06 02:11:36 +10:00
Sacha
4641cf376f
Armjit: Implement CLZ instruction. Disable reg shifts for now (breaks Wipeout Pure).
2013-03-05 14:16:35 +10:00
Sacha
10ad797c6d
Armjit stubs.
...
Add a double encoding for VCVT. Implement integer divide (but not working yet). Stubs for msub/msubu. Don't detect vfpv3 on Symbian.
2013-03-05 13:16:08 +10:00
Sacha
1089a31a45
Armjit: add reverse bit instruction.
2013-03-05 02:58:51 +10:00
Sacha
bce3295950
Fix graphical issues. DISABLE INS instruction for now. Fix OR (it was doing AND).
2013-03-04 22:09:45 +10:00
Sacha
0fc6b60874
Fix Lit Pools for cases where offset goes out of range. For example: Zero no Kiseki has a block that is 7K large.
2013-03-04 14:36:23 +10:00
Sacha
9633239f18
Update for lit pools. Works in some games now thanks to [Unknown].
2013-03-04 14:29:17 +10:00
Sacha
bdfe24a86b
ARMv6 literal pool method.
2013-03-04 14:26:45 +10:00
Henrik Rydgard
7dc75d87b5
armjit: Re-enable ext/ins, safer implementation. arm7 path disabled for now.
2013-03-03 23:17:21 +01:00
Henrik Rydgard
1cddc86e05
armjit: Temporarily disable ext/ins as they appear to have broken Persona 3 somehow.
2013-03-03 22:26:20 +01:00
Henrik Rydgard
1e3a00ee9d
armjit: implement vzero, vone. Use vmla for dot product.
2013-03-03 20:56:22 +01:00
Henrik Rydgard
650c02c3a5
Some more armjit work (ext, ins) and VFPU prefix clamps (not enabled)
2013-03-03 17:36:22 +01:00
Henrik Rydgard
bc15617392
Make un-buffered rendering much smarter, removing flicker.
...
This turns it into a very viable option for many games. You do lose some FX
but it can as a result even be used as a workaround for the massive glow
in Wipeout...
2013-03-03 13:00:21 +01:00
Henrik Rydgard
b781c8deb5
Delete unused ARM emitter function.
2013-03-03 10:55:49 +01:00
Henrik Rydgard
f5581caccc
Some work on ARMJIT FPU compares, still not quite working.
2013-03-02 19:09:24 +01:00
Sacha
6c23e1b6d5
Use flags instead of bools for VCVT. Fix up some spacing. Only Android has ArmEmitterTest.
2013-03-02 11:34:03 +10:00
Henrik Rydgard
253396666c
Merge branch 'armjit-fpu' of github.com:hrydgard/ppsspp into armjit-fpu
2013-03-01 18:26:36 +01:00
Sacha
26ebdb4f11
Improve VCMP instruction with option for E.
...
Add comment to le JIT about how the VCMP crashes on ARM11, with commented code.
2013-03-01 15:41:45 +10:00
Sacha
6d3c89e354
Fix up VCVT function to recognise the difference in encoding for to_int and to_float. There is no 'round to zero' option for to_float. cvt.s.w and cvt.w.s should be unsigned.
2013-03-01 13:45:22 +10:00
Henrik Rydgard
516ca8a0c4
Merge branch 'master' into armjit-fpu
...
Conflicts:
Core/MIPS/ARM/ArmJit.h
Core/MIPS/x86/CompVFPU.cpp
GPU/GLES/Framebuffer.cpp
2013-02-28 23:56:28 +01:00
Sacha
35a57be115
ARMJIT: Implement MADD, MADDU. Do bitrev if it takes an immediate. Fix a bug where MULTU was being passed through to the interpreter.
2013-02-28 23:45:46 +01:00
Sacha
059abc0d69
ARMJIT: Add floor, ceil, round. Introducing a rounding mode for VCVT.
...
The cvt and trunc are tested heavily. Floor, ceil, round aren't tested as much as there are very few games that use it.
2013-03-01 01:10:07 +10:00
Sacha
61f5fb35bd
ARMJIT: Implement cvt.w.s, cvt.s.w and trunc.w.s that are used heavily in Dragonball.
...
May need to keep note of FCR to get correct rounding mode? Interpreter doesn't do this either.
2013-02-28 19:46:07 +10:00
Henrik Rydgard
c0e8fb1499
Revert turning on debug thing
2013-02-27 18:01:23 +01:00
Henrik Rydgard
ba0362d817
PGF font support. Mostly an adaptation and cleanup of JPCSP's font system.
2013-02-27 17:41:39 +01:00
Sacha
fe90d5cd06
Add VNEG and VABS implementations and use in FPU2op.
2013-02-27 23:33:59 +10:00
Sacha
ff14815fda
ARMJIT: Combine to one instruction for load/stores.
2013-02-27 19:45:01 +10:00
Sacha
2c59de95e9
JIT the signed load/store variants too
2013-02-27 18:05:45 +10:00
Sacha
fe8b80c12e
ARM JIT: Add and simplify some half-word load/store instructions.
2013-02-27 17:09:47 +10:00
Henrik Rydgård
d73fcebc3f
Quickfix for a symbol collision. Should really share the AES code.
2013-02-25 21:10:15 +01:00
Unknown W. Brackets
de7ada1982
Fix some x64 type warnings.
2013-02-24 10:39:06 -08:00
Sacha
630ee68b05
Build fix for iOS. Now compiles.
2013-02-24 22:17:52 +10:00
Unknown W. Brackets
7abcd37909
This isn't needed if ABI_CallFunction* is used.
...
AFAICT the only reason for it is to avoid far calls, so we just can't
use CALL() directly. It's works even when it throws on Mac.
2013-02-24 00:15:56 -08:00
Unknown W. Brackets
3fbb5d4388
Avoid using CALL() directly in case of far calls.
...
This mainly matters for x64.
2013-02-24 00:12:55 -08:00
Sacha
0f2f59a3f6
Potential JIT for iOS fix.
2013-02-24 17:28:31 +10:00
Sacha
8e88cc37d2
Fix crash on Return to Menu in Symbian.
...
We don't want to free the executable code (actually a Chunk+Heap) using same method we use to free memory pages (delete).
This would be the same situation on jailbroken iOS and WP.
Now the JIT code is always allocated and never freed on Symbian.
2013-02-21 15:59:02 +10:00
Sacha
1540869e95
All mobile devices now have file logging disabled. Change save dir on blackberry/symbian. Update native.
2013-02-20 13:12:03 +10:00