Commit Graph

868 Commits

Author SHA1 Message Date
Henrik Rydgard
af9bfaed9c Attempt fix for cpuid on x86
Sign extension would be bad.

(couldn't test it right now, adb driver issues :/)
2014-06-14 00:55:02 +02:00
Sacha
c745072b55 Update Symbian to GCC 4.8.3 2014-06-11 03:10:50 +10:00
Henrik Rydgard
120e4329ba Revert the analog key names (lost mappings) 2014-06-10 00:24:14 +02:00
Henrik Rydgard
c39c36ddea Improve layout of control mapping screen 2014-06-09 22:26:23 +02:00
Henrik Rydgard
d6b51d4dfa Reduce some excessive logging 2014-06-09 19:40:05 +02:00
mildlysec
c3dfb64839 Added ability to press analog keys lightly using shift button 2014-06-07 22:21:54 +02:00
Sacha
c9261b77f7 Silly typos. 2014-06-08 05:18:29 +10:00
Sacha
cb04c073b9 Update ArmCPUDetect to fix potential crashes. Merge from Dolphin. 2014-06-08 05:10:10 +10:00
pal1000
8d9ecbb6b3 Do not map these keys. They are hard-coded. It just a waste. They are leftover from before finding the proper solution. 2014-06-06 18:19:10 +03:00
pal1000
a41737ebe7 Save state, load state and next save slot shortcuts are no longer hardcoded. 2014-06-06 11:52:33 +03:00
Sacha
ed96d73187 Use OpenCPPFile for iostream open without the ifdef's. 2014-06-06 00:22:43 +10:00
Sacha
d50f08fb6e Fix Symbian debug build. 2014-06-05 18:15:24 +10:00
Sacha
4c8a615f76 CMake: Make the code more platform-agnostic and cleaner. 2014-05-31 01:22:11 +10:00
Sacha
9b7ab3816f Clean up MemArena and MemMap. Remove Symbian from MemArena (shouldn't have more ifdefs than code) 2014-05-29 03:30:23 +10:00
Sacha
f94f28fb4a Symbian: Over allocate VRAM (x4) in attempt to solve crash caused by 0.9.8-601. This brings allocation to the same as before the commit. See #6103 2014-05-28 01:52:38 +10:00
Henrik Rydgard
3023f7d06b Android: Switch dpad default to use HAT X/Y +/- instead of "dpad", as documented.
Add a simple "autoconfigure" facility for input devices, that lets the user choose
if several are connected.

Can be expanded in the future to provide custom default mapppings for various devices as long as we manage to identify them.

Ideally, key mappings should be unique per device but they aren't yet.
2014-05-19 23:31:11 +02:00
Karen Tsai
a42c970a25 Fixed PPSSPP crash on iOS 5. Fixes issue #5613. 2014-05-14 21:36:08 -04:00
The Dax
3259b61cf2 Win32: Implement "-d" command-line switch. It didn't do anything, previously.
Also added a helper func to set all log levels at once. Should be handy if we clean up the logging channels screen.
2014-03-31 22:44:05 -04:00
Unknown W. Brackets
6677d96a38 Fix memory leak in memory arenas on x64. 2014-03-30 17:30:11 -07:00
Henrik Rydgard
221216b5b2 Bugfix in x64 emitter, thanks magumagu 2014-03-27 22:25:30 +01:00
Unknown W. Brackets
2f5c6a5660 Fix VLDM/VSTM encoding for double/quad regs.
Duh, forgot to check Vd.  Fixes #5723.
2014-03-25 22:08:20 -07:00
Unknown W. Brackets
b589d3b170 vertexjit: Fix a silly mistake in weights > 4.
Darn switch, took me way too long to notice this.
2014-03-23 19:02:40 -07:00
Unknown W. Brackets
717e6db3a7 Fix VDUP so that it actually works. 2014-03-23 17:51:32 -07:00
Unknown W. Brackets
009c3ee3f7 vertexjit: Save S16-S31 registers in ARM. 2014-03-23 16:26:13 -07:00
Unknown W. Brackets
f74b765ff3 Fix VLDM/VSTM encoding for D/Q regs.
Now it is actually using ASIMD/NEON.
2014-03-23 16:26:13 -07:00
Unknown W. Brackets
ff2d5bb17e Add a float->GP reg, fix VDUP for I_16. 2014-03-23 16:25:56 -07:00
Unknown W. Brackets
8056440ba1 Implement NEON register VMOVs. 2014-03-23 16:25:52 -07:00
Unknown W. Brackets
2b586b2a7a Support other constant VMOVs on NEON.
Float is especially useful.
2014-03-23 16:12:51 -07:00
Unknown W. Brackets
3e1cd5c161 Add a NEON VMOV imm encoding to the emitter. 2014-03-23 16:12:46 -07:00
Unknown W. Brackets
06db03ac9e Add some asserts to VLDM/VSTM. 2014-03-22 16:12:35 -07:00
Unknown W. Brackets
60bbf4af3b Fix VLD1/VST1 n=4. 2014-03-22 16:12:08 -07:00
Unknown W. Brackets
f3d38ee269 Fix VMOV for Dregs and VSHL reg order. 2014-03-22 16:12:00 -07:00
Unknown W. Brackets
0da9c1851c vertexjit: Add VQMOV(U)N and fix VMOVN size.
It will be too confusing if it's specified as the destination, unlike
VMOVL.  Plus the assembler syntax uses the source size.
2014-03-22 16:11:36 -07:00
Unknown W. Brackets
632eec38e8 vertexjit: Use SSE4.1 where available on x86.
Just because we can.
2014-03-22 16:11:16 -07:00
Unknown W. Brackets
162f229294 vertexjit: Support the color morphs on x86. 2014-03-22 15:56:29 -07:00
Henrik Rydgård
8dfadf7b8e ArmEmitter: Add VMOV_neon and a Size parameter to VFMA for consistency. 2014-03-22 16:31:16 +01:00
Unknown W. Brackets
e783627947 armjit: Use our I2R funcs on reg/reg math too.
When one is a known immediate.  This should catch more cases, like:

ori v0, $0, 0xFFFF
and v1, v1, v0
2014-03-14 19:15:43 -07:00
Unknown W. Brackets
836787d19a Optimize ANDI2R() to use UBFX if possible.
This way, & 0x7FF or & 0xFFFF etc. are all fast when on ARMv7.
2014-03-14 19:15:42 -07:00
Unknown W. Brackets
3a07924ad9 Add Try arm emitter I2R funcs.
This way we can use them without giving up the regcache's immediate
optimizations.
2014-03-14 19:15:42 -07:00
Unknown W. Brackets
48fa22b7cf B/BL were swapped in the arm emitter.
Oops...
2014-03-14 19:15:41 -07:00
Unknown W. Brackets
76305130ee Add a couple missing (unused) ARM instructions. 2014-03-14 19:15:39 -07:00
Henrik Rydgard
ab9cd99d0f Major ARM disassembler improvements, will make debugging the JIT easier 2014-03-12 18:09:28 +01:00
Henrik Rydgard
adadf11890 An attempt to combine FPU regcache writebacks with VSTMIA. Disabled due to bugs. 2014-03-11 11:03:51 +01:00
Henrik Rydgard
2eb6a4e2f2 Fix a warning, rename some parameters, etc. 2014-03-08 10:40:43 +01:00
Sacha
ad31cd1b7c Clean up ArmEmitter (cross-merge from Dolphin, minus the bad bits) 2014-03-07 15:47:34 +10:00
Sacha
30a6a5d10f ARMJIT: Implement VLDM/VSTM load/store combinations and use in armjit. Also add them to disassembler. 2014-03-07 02:56:34 +10:00
Henrik Rydgård
374e12afc3 Merge pull request #5590 from unknownbrackets/xbox
Merge more parts of #4716
2014-03-03 13:37:21 +07:00
Unknown W. Brackets
ca938bf353 Cut down on locking in DEBUG_LOG.
Reduces GenericLog() from 13.8% to 1.5% in Where Is My Heart?, will
probably help other games to a lesser extent.
2014-03-02 22:03:02 -08:00
Ced2911
418d2ac8ce [xbox] 360 support for common 2014-03-02 12:15:10 -08:00
Ced2911
3be063d28a [Xbox] Use intrinsics swap 2014-03-02 12:02:51 -08:00
Ced2911
93f08b4035 [Jit] add subfic 2014-03-02 11:45:48 -08:00
Ced2911
cd283089aa [Jit] Mov2ir optimisation 2014-03-02 11:45:27 -08:00
Ced2911
38a59cca95 [Jit] Fixes BNE 2014-03-02 11:44:31 -08:00
Ced2911
2ac5d38b90 [Jit] add more instruction 2014-03-02 11:43:58 -08:00
Ced2911
09210a2ce9 [jit] round fpu 2014-03-02 11:42:18 -08:00
Unknown W. Brackets
d3bead638f Add ppcEmitter.cpp/h to the MSVC project.
So that it's searchable/etc.
2014-03-02 11:41:22 -08:00
Ced2911
08595f55a6 [jit] save fpr, less crashes ? 2014-03-02 11:40:52 -08:00
Ced2911
1e1a2fec8b [Common] add unsigned long 2014-03-02 11:18:42 -08:00
Ced2911
47be01e8b5 [Xbox] Missings files 2014-03-02 11:16:56 -08:00
Unknown W. Brackets
eb386603fa Oops, still had an unaligned stack in some thunks. 2014-02-23 16:56:27 -08:00
Sacha
6b8ab2e044 Fix keyboard on Blackberry. 2014-02-19 22:33:28 +10:00
kaienfr
9b0994e8a6 fix iOS7 crash 2014-02-18 15:53:48 +01:00
Henrik Rydgård
8da651b6c1 Merge pull request #5479 from sum2012/log
Enable produce DEBUG_LOG rather than INFO_LOG in Windows who don't need install Visual Studio Express
2014-02-18 00:36:22 +01:00
Henrik Rydgård
b894bd9b27 Merge pull request #5489 from unknownbrackets/jit-minor
Fix stack overflow on x64 with memchecks, darn it
2014-02-17 07:23:45 +01:00
Unknown W. Brackets
60515bbcd9 Properly allow for Windows' "home space" on x64.
Fixes #5484.
2014-02-16 21:06:08 -08:00
Unknown W. Brackets
f2ba0f136d Fix stack overflow on x64 with memchecks, darn it. 2014-02-16 19:18:08 -08:00
sum2012
de78674d62 Set default DEBUG when produce a debug build 2014-02-16 12:09:59 +08:00
sum2012
d96fc0858c Enable produce DEBUG_LOG rather tha INFO_LOG without install Visual studio express in windows
Default is INFO_LOG
More people can post DEBUG_LOG.
2014-02-16 12:04:31 +08:00
Henrik Rydgard
d49cffe3f5 Buildfix 2014-02-15 20:14:40 +01:00
chinhodado
f02ea25ea6 fix the "No disk" dialog when starting up ppsspp 2014-02-15 14:01:47 -05:00
Unknown W. Brackets
d7233159aa Store thunk regs on the stack, not a global.
This may even be more near active memory anyway, but it reduces the "64
bit address out of range" RIP issues a bit too.  It's currently impossible
to enable appverif memory checks and jit in 64-bit...

Avoided the 32-bit path because I'm less sure about alignment.
2014-02-14 22:59:57 -08:00
Unknown W. Brackets
cd4cd77938 Clean up defines in MSVC project files.
This way they're all basically the same.  A lot of cases where
debug/release/etc. where inconsistent...

Also, define USING_WIN_UI.
2014-02-08 16:38:44 -08:00
Unknown W. Brackets
d2108a962e Switch from USING_GLES2 to MOBILE_DEVICE.
Still using USING_GLES2 for, well, GLES2.  But for things that are really
about mobile, we need a new define.  Devices are coming that don't use
GLES2.
2014-02-08 16:37:58 -08:00
Unknown W. Brackets
2c204e8028 Update project to MSVC 2013 tools.
Retaining XP support, using SDK 7.1a (v120_xp.)  Disables SSE2 flag on x64
since it's implied and causes compile warnings.
2014-02-08 13:41:28 -08:00
Ced2911
ff65b30ee4 [Swap] more operator 2014-01-26 14:29:20 -08:00
Unknown W. Brackets
760c6ab0ec Allow savestates to handle u32_le/u32_be.
This may make them work or closer to on Xbox 360.
2014-01-26 14:24:32 -08:00
Unknown W. Brackets
08f812518f Switch game browser tabs using L/R buttons.
Even with keyboard / custom controller mapping.
2014-01-25 12:01:48 -08:00
Unknown W. Brackets
2bf061d05b Trigger a touch event before sending a right click.
This way we can know what they actually right clicked on.
2014-01-25 11:19:41 -08:00
Unknown W. Brackets
091ddd9f3f Android/Linux buildfix.
Arg, why?
2014-01-18 14:05:32 -08:00
Unknown W. Brackets
2347498667 x86jit: Use templates to avoid some void * casts.
Makes it a bit cleaner and potentially safer.
2014-01-18 09:57:13 -08:00
ufdada
e3ae387e39 Textstring for additional keys
see: https://github.com/hrydgard/native/pull/188
2014-01-13 16:42:54 +01:00
zack-vii
26fbb4c32c "Next Slot" control mapping
-added "Next Slot" to control mapping menu
-added VIRTKEY_NEXT_SLOT -> incremented VIRTKEY_TOGGLE_FULLSCREEN
-added SaveState::NextSlot(); as replacement for code in
WndMainWindow
-added entry in EmuScreen using SaveState::NextSlot();
2014-01-07 15:56:04 +01:00
Henrik Rydgård
f570601f84 Preliminatory support for a fullscreen toggle for SDL platforms.
Does not seem to work on Mac.
2014-01-03 15:16:23 +01:00
Unknown W. Brackets
e569bb6862 Missed one, try to fix Blackberry too. 2013-12-30 21:52:09 -08:00
Unknown W. Brackets
f14361c3b8 Add a bunch more missing cstring includes. 2013-12-30 21:37:19 -08:00
Unknown W. Brackets
2655a4cba6 Include some now-missing things for Linux. 2013-12-30 21:15:00 -08:00
shenweip
00e33247e2 Win32 BuildFix. 2013-12-30 23:07:56 +08:00
Henrik Rydgård
e5e17fbc6e More include cleanup. Hoping for very slightly faster compile times.. 2013-12-30 10:49:05 +01:00
Unknown W. Brackets
e6b2d00a2f Avoid reseved identifiers like _SP, etc.
R_SP is not that bad.
2013-12-29 14:25:34 -08:00
Henrik Rydgard
5826a6a60c x86: untested MOVDQA/MOVDQU emitters 2013-12-21 12:39:34 +01:00
Unknown W. Brackets
5b0ece85da Use additional memory map mirrors for 32-bit.
Well, use them always for simplicity, but this works around 32-bit
limitations on mmap() size for Android and Linux.
2013-12-10 23:40:37 -08:00
Sacha
6b8d4cfe7b Blackberry/BSDs: Don't sync memory back to the underlying file. This is terrible on I/O performance. Linux already has this by default. See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21820 2013-12-10 23:24:13 +10:00
Henrik Rydgard
2d8429ac48 Assorted cleanup in the MIPS emulation 2013-12-10 13:15:16 +01:00
Henrik Rydgård
886607d529 Make Save/Load state mappable to controls. Not mapped by default. 2013-12-06 15:46:56 +01:00
Henrik Rydgård
cd2adf80a4 Add keybinding to rewind (backspace by default), if rewind states are enabled. Disable rewind on mobile. 2013-12-05 16:25:17 +01:00
Henrik Rydgard
32f479b0a6 Assorted log spam reductions.
Also let Java know of some important events. Not used for anything yet.
2013-12-04 17:43:00 +01:00
Unknown W. Brackets
5d2ff64252 Support for modified jit-enabled VerySleepy.
This allows profiling the jit.  Should have zero perf impact when not
in use, since it's entirely triggered by VerySleepy.
2013-11-30 19:20:21 -08:00
Henrik Rydgard
8956fb2932 Minor optimization in ADDI2R 2013-11-30 15:52:59 +01:00
Henrik Rydgard
2a5c4ca420 Some math approximation research. Found a good approximate arcsin (to implement vasin in the future). 2013-11-30 12:46:23 +01:00
Henrik Rydgård
345d362391 Merge pull request #4677 from unknownbrackets/perf
Attempt to improve audio issue in #4669
2013-11-29 09:20:41 -08:00
Unknown W. Brackets
dffa35ef2f When ins is used with a zero argument, don't OR.
Seems it's used effectively to mask out bits with rs=zero.  Makes sense...
2013-11-29 09:17:12 -08:00
Henrik Rydgård
0d05a8f4a9 Merge pull request #4392 from hrydgard/multi-press
If an input (axis or key) is mapped to multiple targets, trigger them all.
2013-11-29 05:26:55 -08:00
Henrik Rydgard
aaab7e32d2 ARM emitter: Fix VDUP 2013-11-24 19:30:25 +01:00
Henrik Rydgard
030e6460cc ARM: NEON-optimize software skinning 2013-11-24 18:03:42 +01:00
Henrik Rydgard
dfea160491 ARM: Use PLD (cache preload) in vertex decoder loop. 2013-11-24 15:08:47 +01:00
Henrik Rydgard
f650b23c90 ARM: Add NEON widening and narrowing moves, and float/int convert.
Experiment a little in the vertex decoder.
2013-11-24 13:30:28 +01:00
Henrik Rydgard
8e513ec38a MOVP2R linux buildfix attempt 2013-11-23 16:50:08 +01:00
Henrik Rydgard
16509ba3e9 ARMEmitter: Make the helper functions private. 2013-11-23 13:43:22 +01:00
Henrik Rydgard
cda4e9cbf3 ARM emitter: Complete VLD1/VST1 for lanes and to-all-lanes. 2013-11-23 13:36:26 +01:00
Henrik Rydgard
e0eb152fb9 VLD1/VST1: Change argument ordering again. 2013-11-23 11:05:19 +01:00
Henrik Rydgard
b64f44c3fc ARM emitter: Implement VMLA and VMUL by scalar, VLD1/VST1 multiple 2013-11-23 01:51:35 +01:00
Henrik Rydgard
97cfbd1a5f ArmEmitter: Introduce MOVP2R, let's you load a pointer without casting. 2013-11-22 23:10:25 +01:00
Unknown W. Brackets
c50ab6d6aa armjit: Fix divu when divisor is a constant 1.
Fixes #4539 and #4520.
2013-11-19 13:24:15 -08:00
Henrik Rydgard
5bb3824dcf Implement vocp on ARM and x86. 2013-11-19 21:41:47 +01:00
Henrik Rydgård
a45d50bcd2 MacOSX buildfix 2013-11-18 14:05:56 +01:00
Unknown W. Brackets
dda6a39b6f Oops, forgot to remove the if. 2013-11-17 11:17:42 -08:00
Unknown W. Brackets
fa7467f03d Try to find the flash0 directory in headless. 2013-11-17 10:15:49 -08:00
Unknown W. Brackets
f165a15eff Fix a -unsigned warning.
Looks ugly, but (u32)-(s32)val is what we really want here.

Also make a __FUNCTION__ redeclaration warning go away.
2013-11-15 08:18:34 -08:00
Sacha
e3bdb3e09b Disable LitPool as it is causing crashes with Vertex Decoder JIT. Performance seems to be almost unaffected since the IMM changes. 2013-11-15 14:12:00 +10:00
Sacha
20e8a81268 Switch to compile-time ARMV7 define. 2013-11-15 11:20:39 +10:00
Sacha
e6320f2726 Add a CPU Extensions tab to Developer's System Info. 2013-11-15 01:18:29 +10:00
Sacha
a74718c54f Snapdragon Plus also has IDIV. Clean up for ArmCPUDetect. 2013-11-15 01:18:29 +10:00
Henrik Rydgard
6221dbaf5d Optimize software skinning for x86.
Can't seem to get a win on Windows vs hardware skinning though, even though
draw calls drop by 2/3rd...
2013-11-13 18:10:58 +01:00
Henrik Rydgård
ddf5b695ac Update ArmEmitter with Sonic1's new NEON emitters. Thanks! 2013-11-13 11:34:47 +01:00
Henrik Rydgård
a0c6b18134 CPUDetect x86: Detect FMA support 2013-11-13 10:47:05 +01:00
Sacha
04b338f39e Buildfix for sse2 builds. 2013-11-13 12:08:46 +10:00
Sacha
08803c101e Remove MathUtil.{cpp,h} 2013-11-13 11:26:12 +10:00
The Dax
0b609b72fb Fix Windows build. 2013-11-12 18:26:32 -05:00
Sacha
8597893e14 Fix Blackberry QWERTY default values. 2013-11-13 04:22:21 +10:00
Sacha
ba28ece947 Remove unused StdConditionalVar 2013-11-13 03:52:12 +10:00
Sacha
91ddddc2ef Remove unused Thread.{cpp,h} 2013-11-13 02:50:46 +10:00
Sacha
1d9f6e5c0c Code clean up for atomics. Remove glib usage in Symbian as the kernel calls actually fit nicer. 2013-11-13 00:30:26 +10:00
Sacha
2fb7a77135 Code cleanup. Use lambdas in Thread.h (port from Dolphin). 2013-11-13 00:30:26 +10:00
Sacha
a8a8223c06 Symbian: Fix incorrect define. Wasn't showing correct # cores. 2013-11-12 16:00:43 +10:00
Unknown W. Brackets
1a98691c57 armjit: Fix ANDI2R() clearing low bits incorrectly. 2013-11-11 19:07:16 -08:00
Sacha
d50b01a778 Doesn't really 'free', so called 'reset' instead. 2013-11-12 02:13:34 +10:00
Sacha
3bc8adf426 Fix crashes on Symbian related to memory allocation. 2013-11-12 02:06:12 +10:00
Unknown W. Brackets
ee492099b5 Avoid a literal in ORI2R where possible. 2013-11-10 14:38:08 -08:00
Sacha
2c795907b2 Symbian: Handle multiple executable memory allocations.
Windows: Remove MemUsage (from Dolphin) as it was unused.
Fix some tabbing.
2013-11-11 02:55:45 +10:00
Unknown W. Brackets
92d5643423 Implement SetCurrentThreadAffinity on Android.
But, it doesn't really seem to improve performance.
2013-11-09 23:08:45 -08:00
Unknown W. Brackets
83fe874dcc armjit: Use multiple BICs in ANDI2R if possible.
Rather than a temporary.
2013-11-09 08:42:31 -08:00
Unknown W. Brackets
6038d96b46 armjit: Flush regs using STMIA where possible. 2013-11-09 08:25:07 -08:00
Henrik Rydgard
1bf83efe9e ARM optimization in ADDI2R: Dual adds instead of MOVI2R, ADD when possible 2013-11-08 12:43:47 +01:00
Henrik Rydgård
a03e5c6de0 Merge pull request #4460 from hrydgard/vertex-decoder-jit
Vertex decoder JIT
2013-11-05 07:30:58 -08:00
Unknown W. Brackets
f6662054bd Fix arm emitter bug in LDRH and friends. 2013-11-05 00:32:08 -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
7a8671f8a2 Add a TSTI2R helper for readability mainly. 2013-11-03 21:58:26 -08:00
Unknown W. Brackets
5de7181b36 Add other forms of LDM/STM to the emitter. 2013-11-03 21:31:05 -08:00
Sacha
52eb46c291 Buildfix for Symbian. Remove unused swap code.
Symbian didn't like the -= even though Linux did.
2013-11-03 20:40:40 +10:00
Sacha
3abeb62230 Use new OS10.2 APIs for detecting some CPU info on Blackberry. 2013-11-02 00:35:39 +10:00
Henrik Rydgård
5b58497b0d Flip the default Y-axis stick mapping for Ouya 2013-11-01 12:03:38 +01:00
Henrik Rydgård
bf7f582c3c If an input (axis or key) is mapped to multiple targets, trigger them
all, not just the first one.
2013-10-31 16:50:27 +01:00
Henrik Rydgård
43240515de Fix weird axis mapping issue on Ouya 2013-10-31 11:06:54 +01:00
Henrik Rydgård
cdee118c60 Make the default control mapping on Ouya a bit more workable:
Start/Select are now mapped to the analog triggers instead of
non-existing buttons.
2013-10-31 10:51:03 +01:00
Sacha
e411968dc9 Remove duplicate thread library (StdThread) 2013-10-29 11:50:29 +10:00
Henrik Rydgård
0e54e24b24 Revert "Use swap code from native instead. Remove all other versions of it."
Broke movie playback.

This reverts commit 9fcb08a326.

Conflicts:
	native
2013-10-28 17:24:03 +01:00
Henrik Rydgard
9df2025c4f Azerty L/R fix 2013-10-28 11:25:18 +01:00
Henrik Rydgård
e5d802e82f Merge pull request #4339 from unknownbrackets/linux-minor
Fix Linux x86 pic build (Qt) for some versions of gcc
2013-10-27 11:54:15 -07:00
Sacha
9fcb08a326 Use swap code from native instead. Remove all other versions of it. 2013-10-28 03:07:32 +10:00
Unknown W. Brackets
443c719744 Support i386 PIC Linux builds (for Qt.) 2013-10-27 16:40:44 +00:00
Unknown W. Brackets
95c8ee5089 Missing stddef library (Linux buildfix.) 2013-10-27 15:52:40 +00:00
Sacha
484cb8211c Removed unused OpenSSL code and don't compile it. 2013-10-28 01:18:29 +10:00
Unknown W. Brackets
ffa0f2fb44 Fix some arm emitter warnings on win64.
We link it in for debugging purposes.
2013-10-26 17:57:40 -07:00
Sacha
0282b505b0 Fix CPUDetect for i386 devices. Thanks @Sonic1. Confirmed by ganoo. 2013-10-26 01:18:59 +10:00
Sacha
cc5934a588 Blackberry threading optimisations. 2013-10-25 21:52:50 +10:00
Sacha
4c52346063 Use Blackberry/UNIX time functions instead of fallbacks. 2013-10-25 21:52:50 +10:00
Henrik Rydgard
6c5a2ea91a Windows: Try to autodetect and adjust for QWERTZ and AZERTY keyboard layouts.
Might not have all the layout codes necessary yet.
2013-10-24 12:45:44 +02:00
Unknown W. Brackets
a1c280f46b Simplify __cpuidex().
Wasn't building 32-bit for me on Ubuntu.
2013-10-20 23:45:56 -07:00
adrian17
d71fc887a9 Simplified MsgHandler 2013-10-20 17:42:07 +02:00
adrian17
2752e65727 Removed some unused content from Common.h 2013-10-20 16:32:09 +02:00
Henrik Rydgård
4426f84067 Merge pull request #4238 from skardach/master
Fix i386 crash at Qt startup
2013-10-19 15:19:18 -07:00
Unknown W. Brackets
3e18027b8d Fix some type comparison warnings. 2013-10-19 14:57:45 -07:00
Unknown W. Brackets
f68f1e2482 Avoid an unused variable. 2013-10-19 14:57:45 -07:00
Stan Kardach
4c3a7f414e Fix __cpuid bug on i386 CPU family 2013-10-19 10:04:30 +02:00
Sacha
8de3d882a1 Buildfix for Qt, Qt5, Windows on Qt. 2013-10-19 05:22:32 +10:00
The Dax
c955e07712 Clean up FileUtil.h. Remove GetBundleDirectory(I searched master and nothing uses it either). 2013-10-18 10:35:28 -04:00
The Dax
26e17e0e7f Disable default logging(--log still works fine), delete CommonPaths.h, and remove unused funcs in FileUtil. 2013-10-18 10:35:28 -04:00
The Dax
a9a6e7b384 Move default log file to g_Config.memCardDirectory/PSP/SYSTEM/Logs/ppsspp.log. 2013-10-18 10:35:28 -04:00
Unknown W. Brackets
267bf97834 Avoid a divide by zero error on non-Core i cpus.
Also support Linux and, why not, Android too.
2013-10-17 23:12:04 -07:00
Henrik Rydgård
850b5d2961 Merge pull request #4228 from thedax/i7CPUDetection
System Info screen: Add correct core count detection for i7(and maybe i5/i3?) CPUs.
2013-10-17 16:27:01 -07:00
The Dax
2e58f04fee Ifdef away the detection on non-Windows for now. 2013-10-17 19:16:18 -04:00
The Dax
0400a61d51 Add correct core count detection for i7(and maybe i5/i3?) CPUs, and update the SysInfo screen to show more information about threads on x86/x64. 2013-10-17 19:03:33 -04:00
Unknown W. Brackets
01f97b1662 Get cpu info from /sys where possible.
Fixes #4215.  May impact texture scaling performance.
2013-10-16 22:56:20 -07:00
Unknown W. Brackets
77913c2d56 Don't flash open the console when disabled. 2013-10-15 22:27:03 -07:00
Sacha
be47964ff2 Use 'Cores' instead of 'Threads' for ARM. 2013-10-15 15:28:19 +10:00
Sacha
2d7b58d64a Add CPU info for ARM-based devices. 2013-10-15 15:05:52 +10:00
Sacha
18b7503dd5 Fix rounding errors in armjit. 2013-10-14 19:24:13 +10:00
The Dax
54de8739f1 Fix critical bug with GetSysDirectories. 2013-10-13 19:30:07 -04:00
Sacha
d49b4fad9a Miscellaneous changes for Blackberry. 2013-10-12 17:19:02 +10:00
Henrik Rydgård
ef2d188a68 Merge pull request #4035 from shenweip/patch-12
Implemented sceJpegDecodeMJpegYCbCr and sceJpegMJpegCsc.
2013-10-08 02:52:42 -07:00
Henrik Rydgard
fc8aa7bd8f Crashfix dumping display lists that start at the start of VRAM (seems to hit this in GTA).
Add a couple of comments.
2013-10-07 22:58:46 +02:00
Unknown W. Brackets
607f19b6a4 Savestate tm differently for crossplat.
Especially Linux 32/64, but really all are nice.
2013-10-06 22:09:51 -07:00
Unknown W. Brackets
0ec09f9700 Move parts of ChunkFile into a cpp, cleanup. 2013-10-06 22:09:50 -07:00
shenweip
54492732b5 Rename u24 to u24_be. 2013-10-05 02:52:33 +08:00
shenweip
a7d3b8f710 Add a new type u24. 2013-10-04 23:33:03 +08:00
Unknown W. Brackets
06ae016782 Savestates now work okay between git versions. 2013-09-29 20:27:51 -07:00
Unknown W. Brackets
3dee91f68f Separate a quick interface to savestate to memory. 2013-09-29 14:26:14 -07:00
Henrik Rydgård
4582902cf2 Make the ARM stuff build on clang so we can later get the unit test to
work there. also fixes the build.
2013-09-29 20:01:38 +02:00
Henrik Rydgard
b661ae6c41 Add very simple jit viewer screen to dev menu. Add untested emitter for cvt.f32.f16 & c:o. 2013-09-29 13:41:56 +02:00
The Dax
d0cdcdfe28 Fix Android(and probably others) build. 2013-09-28 22:15:02 -04:00