Commit Graph

119 Commits

Author SHA1 Message Date
shenweip 1cb59eb76a Fix savedata. 2013-09-29 17:30:17 +08:00
shenweip 3e5b6e6200 Only use a separate btnmake. 2013-09-29 16:21:30 +08:00
shenweip 43654e2a61 Use a separate latch for osk dialog. 2013-09-25 16:32:07 +08:00
Unknown W. Brackets 5c7c57dd3f Oops, typo. 2013-09-19 00:28:57 -07:00
Unknown W. Brackets 8e412234c9 Fix ctrl reinit problem. 2013-09-17 08:40:20 -07:00
Unknown W. Brackets 50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Henrik Rydgard 324cde5a79 Let's actually use the log category mechanism. A first step. 2013-09-07 21:19:21 +02:00
Unknown W. Brackets 15a0f39fa1 Return yet more errors while inside interrupts. 2013-08-28 23:15:13 -07:00
Unknown W. Brackets 61fae4e920 Return proper errors while dispatch disabled.
In at least the majority of waits.
2013-08-27 23:55:37 -07:00
Unknown W. Brackets 2222d07c11 Specify byte order in sceCtrl as well. 2013-07-27 15:30:36 -07:00
Unknown W. Brackets 13f6ca0019 When mapping to an axis, center when both pressed.
Fixes #2860.
2013-07-20 12:11:35 -07:00
Henrik Rydgard ff225fab5a Finish the touch input rewrite, get rid of the fakeinput hacks. 2013-07-20 14:05:07 +02:00
Henrik Rydgard 4b539e842a Also replace the on-screen cross 2013-07-20 12:54:33 +02:00
Unknown W. Brackets cb249c469b Properly send the right analog to the game.
I don't think this was actually working before.
2013-07-06 23:06:33 -07:00
Unknown W. Brackets 1ab86a68c9 Add rapid fire ctrl interface, minor cleanup. 2013-07-06 23:06:32 -07:00
Henrik Rydgard cc58e34cf8 Remove legacy key mapping and associate devices with keys (DInput has been left behind for now, will be fixed up soon). Saving is broken, will be fixed soon. 2013-07-06 20:45:44 +02:00
Unknown W. Brackets 362c5be657 Tweak the ctrl analog rounding to be safer. 2013-06-20 01:11:45 -07:00
Unknown W. Brackets 250260cccd Fix sceCtrl analog range for all input devices.
It should map (-1.0... 0.0... 1.0) to (0... 128... 255.)  However, it was
instead being mapped to (1... 128... 255.)  This was causing games to not
respect analog movement if they checked for 100%.

Fixes #2363.
2013-06-20 01:00:53 -07:00
Unknown W. Brackets f93c92d409 Add some syscall names that match by sha. 2013-05-19 22:12:39 -07:00
Henrik Rydgard f20e00315d Add basic support for the second analog stick present in the PS3 PSP emu for HD remakes.
Make vi2f safer.
2013-04-28 22:15:33 +02:00
danieru 6a84a6e4ea Make analog joystick input get clamped to a circle
In common case this only costs two floating point multiplies.
Uncommon case requires a square root.
2013-04-17 22:53:38 -06:00
Unknown W. Brackets ec009bc299 Cleanup a few GPU error codes. 2013-03-31 23:57:03 -07:00
Unknown W. Brackets 62ab4b7f51 More signed compare warnings. 2013-03-02 15:34:16 -08:00
Unknown W. Brackets 51d5b84108 Fix some misc HLE warnings. 2013-02-18 09:04:43 -08:00
Unknown W. Brackets 2a6457b6ab Cut down on h files including PointerWrap.
This makes changes to it a bit faster to build.
2013-02-04 08:26:59 -08:00
Unknown W. Brackets 1cb7a88137 Don't use a dynamic string for wait debugging.
Happens in release, and shows up on the profiler.
Not huge, but should save ~0.5% of cpu time.
2013-01-26 11:29:19 -08:00
Unknown W. Brackets 17c1d3ce68 Return errors for Dcache funcs, correctly. 2013-01-05 17:07:19 -08:00
Henrik Rydgard 972e4ea4e4 Warning fixes, prevent a possible (but unlikely) crash 2013-01-02 21:05:00 +01:00
Unknown W. Brackets 8c98c7b141 Reverse the analog Y for everyone.
Verified XInput is still happy this way.
2012-12-29 13:01:10 -08:00
Unknown W. Brackets bcecd881b1 Savestate cleanup + be more careful with vectors.
For some reason I debugged it going into std::string so I just made
them all more explicit which fixed everything.
2012-12-28 13:55:31 -08:00
Unknown W. Brackets 19aaca2705 Start save stating audio, plus minor fixes. 2012-12-28 13:55:29 -08:00
Unknown W. Brackets cd1d4367bf Save state of a bunch of small modules. 2012-12-28 13:55:28 -08:00
Unknown W. Brackets d378b1c324 Deallocate properly in shutdown, not in init. 2012-12-24 01:41:15 -08:00
Unknown W. Brackets 9ba0ed46fd Always create CoreTiming timers during kernel init. 2012-12-23 21:27:26 -08:00
Henrik Rydgård b077caf3cf Merge pull request #232 from unknownbrackets/osk-fixes
Some crashfixes for OSK, release crash investigation
2012-12-23 11:40:35 -08:00
Unknown W. Brackets 1c4409e082 Naive fix for repeat rate issues in OSK.
Not sure if the latch should actually be consumed but makes sense.
Needs tests.
2012-12-23 08:59:34 -08:00
Unknown W. Brackets bbd7710234 Implement sceCtrlGetSamplingCycle() freq changes. 2012-12-22 21:23:28 -08:00
Unknown W. Brackets 8839516c1e Implement sceCtrlGetSamplingCycle(). 2012-12-22 20:31:22 -08:00
Unknown W. Brackets 6ad3c2d454 Make sure ctrl resets properly on game close/open. 2012-12-22 19:37:18 -08:00
Unknown W. Brackets 91e1cb7408 Implement sceCtrl*IdleCancelThreshold(). 2012-12-22 18:41:49 -08:00
Unknown W. Brackets 15018ca4a5 Stub out the sceCtrl idle cancel funcs. 2012-12-22 18:30:14 -08:00
Unknown W. Brackets d07e51bff0 Always allow peeking into ctrl buffers. 2012-12-02 21:07:17 -08:00
Unknown W. Brackets 8a801ff761 Send the recent N ctrl buffers, fixing lag. 2012-12-02 19:53:20 -08:00
Unknown W. Brackets f6009e477f Start with one free buffer to match things. 2012-12-02 17:14:00 -08:00
Unknown W. Brackets aea9b16a04 Add ctrl waits when there are no buffers yet. 2012-12-02 17:03:13 -08:00
Unknown W. Brackets ec6c0e9ccd The ctrl latch should work now, don't log as error. 2012-12-02 16:19:14 -08:00
Unknown W. Brackets fd2d666191 Add ctrl sampling (vblank).
This makes it work like the PSP does with number of buffers, etc.
Still doesn't wait yet.
2012-12-02 15:44:23 -08:00
Unknown W. Brackets 7edb340577 Start the ctrl latch off all just released. 2012-12-02 12:44:33 -08:00
Unknown W. Brackets b93c4f636c Oops, prevent a possible crash in ctrl. 2012-12-02 08:28:05 -08:00
Unknown W. Brackets 754a49dfd7 Make sceCtrlReadLatch work more correctly.
It gets changes since last call, makes sense.
2012-12-02 08:28:05 -08:00