Henrik Rydgard
6360fcb0ae
Add some stats to get some idea of much alpha tested drawing we do.
...
Turns out it's one hell of a lot and we really should fix this by
checking both vertices and textures to deduce when we can just skip
alpha testing safely, probably quite often.
I care about this because alpha testing drawing is very expensive
on some mobile chips.
2013-08-27 21:01:17 +02:00
Henrik Rydgard
cae5aef231
Detect Ouya correctly, for keymap assignment
2013-08-27 11:27:26 +02:00
Unknown W. Brackets
8ccd3773d9
Open files using wide functions on win32.
...
Fixes #3432 .
2013-08-27 00:28:46 -07:00
Henrik Rydgard
55aa3d13c7
Win32: Switch to a UNICODE build. This took quite a bit of fixing.
2013-08-26 19:00:16 +02:00
The Dax
13f6c26b6b
Fix a couple spacing things.
2013-08-25 16:55:00 -04:00
Unknown W. Brackets
1ed8edb0d3
Avoid some dangerous hex constant widths.
2013-08-22 23:23:48 -07:00
The Dax
59f878a3c4
Add space as a confirm key, and use a loop for hard-coded confirm keys, too.
2013-08-22 13:06:12 -04:00
The Dax
4beef2b877
Fix dumb copy and paste error.
2013-08-22 12:53:33 -04:00
The Dax
0c249f0084
Remove RMB as a default cancel key. We'll let the user bind it to cancel manually.
2013-08-22 12:38:04 -04:00
The Dax
57ab8aa611
Only hard-code keys if they're not bound.
2013-08-22 08:44:08 -04:00
The Dax
20166c7f4f
Let the UI update the confirm cancel keys when the user presses back. They may have changed the O/X preference option.
2013-08-22 07:10:06 -04:00
The Dax
968150cc77
Rewrite the hard-coded removal of accept/cancel keys. It's much cleaner and simpler now.
2013-08-22 06:46:35 -04:00
Henrik Rydgard
6b48dda12f
Fix a couple of keymap load/save/default bugs
2013-08-20 16:07:23 +02:00
The Dax
1fd2f1ab3d
Do the default keymap for DirectInput, too. An oversight, I guess?
2013-08-20 03:34:30 -04:00
Henrik Rydgard
1559b4404a
Fix some joystick mapping errors, a minor bug
2013-08-19 22:40:05 +02:00
Unknown W. Brackets
342bad8402
Fix audio crash on shutdown, log thread names more.
2013-08-18 23:25:14 -07:00
Sacha
ba030da663
Enable controllers and change keymapping for Blackberry.
2013-08-19 00:03:02 +10:00
Henrik Rydgard
e6ad305545
360 controller: Update default mapping. Put speed toggle on THUMBR instead of a trigger as the triggers are bouncy.
2013-08-18 11:47:11 +02:00
Henrik Rydgard
1fabe1f78e
Fix loading of non-mapped keys
2013-08-18 01:04:49 +02:00
Henrik Rydgard
47f2efb0e5
Fixes to default key mappings, add default button, fix saving of mapped controls on Android, fixes #3213
2013-08-18 00:41:19 +02:00
Henrik Rydgard
47ac6c02fc
Disable accelerometer as axis, fix some omissions in KeyMap (doesn't actually autoload all those maps yet)
2013-08-17 13:41:29 +02:00
Henrik Rydgard
82b59a7e9d
Fix up/down/left/right ordering for analog sticks
2013-08-17 11:47:56 +02:00
Henrik Rydgard
edb0614a59
Fix analog axis names. Make L2/R2 on x360 controllers analog.
...
Also slightly nicer behaviour - don't create empty mapping, instead ask for mappings immediately.
2013-08-17 11:18:45 +02:00
Henrik Rydgard
c14fcfdae1
Merge branch 'master' into better-controlmap
2013-08-17 10:37:04 +02:00
Henrik Rydgard
3636f90902
Step 3: Replace current key mapping dialog with a list-based one which is much more workable.
2013-08-17 10:34:38 +02:00
Unknown W. Brackets
5787a2b9f7
KISS and Android buildfix.
2013-08-16 23:48:08 -07:00
Henrik Rydgard
3a8432373d
Step 2: Multiple inputs can be mapped per psp key now, and save load works.
2013-08-16 21:25:36 +02:00
Henrik Rydgård
a678621caf
Merge pull request #3191 from Ced2911/ppc_basic
...
ppc support + ppc jit
2013-08-16 12:16:49 -07:00
Ced2911
6296f2b75c
fix endian struct
2013-08-16 20:44:23 +02:00
Henrik Rydgard
f1bc751eb9
Step 1: Go back to a single control map.
...
Break save/load for now, it will be redone.
2013-08-16 19:34:44 +02:00
Ced2911
c883003f5d
Code formating
2013-08-16 19:24:16 +02:00
Henrik Rydgard
22ebe76f33
Move KeyMapping UI to its own file before rewriting.
...
Plus some minor tweaks and fixes.
2013-08-16 16:49:53 +02:00
Ced2911
628a737500
update comments
2013-08-16 15:53:20 +02:00
Ced2911
3eb1696e09
indentation
2013-08-16 15:50:03 +02:00
Ced2911
c4c43655aa
indentation
2013-08-16 15:46:50 +02:00
Ced2911
5d06a04bf0
fix sub
2013-08-16 14:52:25 +02:00
Ced2911
42860a579c
sub
2013-08-16 14:51:37 +02:00
Ced2911
d2aa4747aa
add prolog/epilog, add stbx, lbzx, fix addi/addis
2013-08-16 14:51:05 +02:00
Ced2911
4c185bd01b
more opcode
2013-08-16 14:50:16 +02:00
Ced2911
d410960ee1
remove cmplwi is same as cmpli
2013-08-16 14:50:00 +02:00
Ced2911
fa49be4a82
seem to be better ?
2013-08-16 14:48:19 +02:00
Ced2911
f9429177b9
add some new instr
2013-08-16 14:46:57 +02:00
Ced2911
a28bf4c4aa
more
2013-08-16 14:46:56 +02:00
Ced2911
b32da03ce0
add subf.
2013-08-16 14:45:00 +02:00
Ced2911
cc0a8d1321
ppc emitter
2013-08-16 14:39:22 +02:00
Ced2911
c7a294d7c8
add LE_{type}
2013-08-16 14:34:40 +02:00
Unknown W. Brackets
49c7b9628a
Fix some correctness warnings.
2013-08-12 23:40:22 -07:00
Unknown W. Brackets
c8716d9a02
Fix a few minor typos + small reporting change.
2013-08-12 23:02:39 -07:00
Henrik Rydgard
22a05c5e38
Preliminary relative mouse mapping. Disabled because it breaks the control mapping UI currently.
...
Needs tweaking.
2013-08-12 23:27:41 +02:00
Henrik Rydgard
89ddbb51bb
Oops, XMM0 might be taken by temps. Also, s/GC_ALIGN16/MEMORY_ALIGN16
2013-08-10 23:39:24 +02:00
Henrik Rydgard
8714240519
Fix vf2i properly on x86.
2013-08-07 21:30:57 +02:00
Henrik Rydgard
2f0cdc6988
ARMJIT: disable vi2f, it seems buggy. preliminary disabled impl of vcrsp.t.
2013-08-06 11:10:26 +02:00
Sacha
8b4280b297
Rename KEYCODE to NKCODE (native key code) to stop name collision. Implement Blackberry keymapping.
2013-08-05 03:31:40 +10:00
Lioncash
dce9fdd203
Previous commit should have actually used free() and not delete. This fixes that.
2013-08-01 10:57:27 -04:00
Lioncash
b14827da04
Fix two memory leaks in ArmCPUDetect.cpp
...
These char pointers weren't deleted before the function ended.
2013-08-01 10:24:56 -04:00
Henrik Rydgard
7d2e0b46a4
Delete ColorUtil.cpp/h
2013-07-31 22:28:40 +02:00
Henrik Rydgard
7fc5ce56de
Fix viim for x86, implement for ARM.
2013-07-31 18:21:23 +02:00
Henrik Rydgard
8972bf0d12
Fix stickiness of NV Shield d-pad (and other digital pads that are mapped to axises)
2013-07-31 18:08:31 +02:00
Henrik Rydgard
51596b636a
Fix numerous ARM JIT bugs. Activate vmtvc and vscl, and vadd/vmul/vdiv/vsub for real this time.
2013-07-31 10:34:58 +02:00
Henrik Rydgard
65f8430c32
Quick hacked-up ARM VFP disassembler. Buggy.
2013-07-30 21:39:37 +02:00
Ced2911
cc95cde450
fix swap type
2013-07-30 19:50:35 +02:00
Henrik Rydgard
f70e8a2fe0
Android buildfix & retab
2013-07-29 21:24:24 +02:00
Sacha
663f888a54
Sonic: Fix encoding in VADD (cross-project merge).
2013-07-30 04:37:47 +10:00
Sacha
3fb76106fd
Merge Sonic's ArmCpuDetect changes (cross-project merge).
2013-07-30 04:31:35 +10:00
Henrik Rydgård
c68f5f78fb
Merge pull request #2970 from raven02/patch-5
...
Assign HW select button on X360 to "SELECT" button
2013-07-29 09:32:05 -07:00
Sacha
a046448596
Buildfix.
2013-07-29 19:46:22 +10:00
Unknown W. Brackets
b46ab5f5a4
Always defined WIN32_LEAN_AND_MEAN.
...
Might as well, less mess everywhere else.
2013-07-28 21:04:20 -07:00
Unknown W. Brackets
7b7801d59a
Switch to including Windows.h from an intermediate.
...
This makes it easier for Xbox which uses a separate header.
2013-07-28 21:04:19 -07:00
Unknown W. Brackets
0b5bdeb1d3
Fix some compile failures under big endian.
2013-07-28 21:04:17 -07:00
Unknown W. Brackets
9ae32f641a
Move swap_struct_t to its own file.
...
This way bswap32() and friends are already defined. Otherwise there are
errors.
2013-07-28 21:03:44 -07:00
Unknown W. Brackets
524064a02e
Improve the auto-swapping struct a bit.
...
Specifically:
* Don't override &&/|| - that kills short circuiting.
* Consistently return a swapped type from operators.
* Add a few more missing operators.
2013-07-28 21:03:44 -07:00
Ced2911
f5dc650fd3
more on endian types
2013-07-28 21:03:44 -07:00
Ced2911
47e1c8143a
endian struct
2013-07-28 21:03:43 -07:00
raven02
9108bf4771
Rename 360 and Pad to "Xbox 360 Pad" and "DirectInput Pad" respectively
2013-07-29 07:56:11 +08:00
raven02
c1bdd8b0db
Assign HW select button on X360 to "SELECT" button
2013-07-29 07:31:19 +08:00
Unknown W. Brackets
a9e7a9ce3d
Improve performance of File::GetSize().
2013-07-28 13:16:03 -07:00
Unknown W. Brackets
d644dacced
Fix a potential crash in localtime_r win32.
...
Using localtime_s anyway. Both ways it was actually threadsafe.
2013-07-28 12:33:21 -07:00
Unknown W. Brackets
fa7182ec34
Consider F:\ a valid recent iso.
...
File::Exists didn't like it, since it turned it into "F:".
2013-07-28 12:33:21 -07:00
The Dax
528d81151a
Initial support for disabling logging, to provide a possible boost in performance for games that spam the log like crazy.
2013-07-27 19:39:49 -04:00
Unknown W. Brackets
0cd5766f50
Support clang as well as gcc for Android/Linux.
2013-07-26 22:13:57 -07:00
Henrik Rydgård
3c861419b9
Merge pull request #2931 from unknownbrackets/endian
...
Improve endian define handling and fix a couple typos
2013-07-26 12:04:34 -07:00
Henrik Rydgård
cc8bba1b10
Merge pull request #2924 from thedax/master
...
Add initial support for native Visual Studio 2012(and above) compilation.
2013-07-26 12:03:21 -07:00
Unknown W. Brackets
8da6259aff
More carefully check defines for endianness.
2013-07-25 22:25:50 -07:00
Henrik Rydgard
1533b588e3
Argh, this really shouldn't be needed but is.
2013-07-26 01:18:40 +02:00
The Dax
e00364bfa5
Add initial support for native Visual Studio 2012(and above) compilation. Just upgrade the SLN, and go.
2013-07-25 18:34:55 -04:00
Henrik Rydgard
5e791fad51
Try to fix the bigendian defines
2013-07-25 23:39:41 +02:00
Henrik Rydgård
9fc57894ab
Mac build fix (weird, BIG_ENDIAN really shouldn't be defined)
2013-07-25 19:21:43 +02:00
Unknown W. Brackets
f3fc9562ff
Oops, need floating point types too.
2013-07-25 08:04:36 -07:00
Unknown W. Brackets
f1c354607e
Add special u32_le/etc. types to mark endianness.
...
Might even want u32_be...
2013-07-25 08:04:34 -07:00
papel
a150fdd6ae
Continue ignoring savestate incompatibility for now.
2013-07-18 15:33:13 -03:00
papel
99754bcd7a
Merge branch 'master' of https://github.com/hrydgard/ppsspp
2013-07-17 02:33:53 -03:00
papel
9b6f1abed8
Version to savestate and open other game in other screens.
2013-07-17 02:33:26 -03:00
Henrik Rydgard
81411a74ed
Experimental: Make orientation change possible on Android.
2013-07-16 22:51:25 +02:00
papel
314d286e37
Changed pause and speed shortcuts. Fixed disabled run on load.
2013-07-09 21:54:42 -03:00
papel
22de16d178
Improving shortcuts of Windows version.
2013-07-09 17:25:29 -03:00
Henrik Rydgard
b879f32284
Fix further Android joystick issues, including flickering pause menu. Fixes #2708
2013-07-08 17:47:22 +02:00
Henrik Rydgard
67b79a5933
On Android, set the default keymap to be the standard controller map. Should make things work instantly on sixaxis and shield for example.
2013-07-08 17:19:39 +02:00
Henrik Rydgard
f2e739992d
More mousewheel support
2013-07-08 12:35:08 +02:00
Henrik Rydgård
476382d2cc
Merge pull request #2692 from unknownbrackets/keymap-axis
...
Do axis keymap as well (should replace right stick bind)
2013-07-08 01:14:02 -07:00
Henrik Rydgård
87b5f72932
Merge pull request #2698 from unknownbrackets/warnings
...
Warning fixes
2013-07-08 00:32:11 -07:00