Commit Graph

42 Commits

Author SHA1 Message Date
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
Unknown W. Brackets
0dc8e2a420 Set the ctrl frame value to something useful. 2012-12-02 08:28:04 -08:00
Unknown W. Brackets
843d495c5b Don't expect sceCtrlInit ever, minor ctrl funcs.
I don't see any indication that you need to call init first.
2012-12-02 08:28:04 -08:00
Unknown W. Brackets
bf8abaebe5 Don't include analog when not enabled in ctrl.
Fixes menu, movement in Tales of Eternia.
2012-12-02 08:28:04 -08:00
Ced2911
6db4ea2ad1 less Memory::GetPointer 2012-11-27 10:18:36 +01:00
Henrik Rydgard
75412b064b Implement sceUtilityMsgDialog 2012-11-18 17:51:14 +01:00
Henrik Rydgard
7720dc3f60 Various warning, logging, jit fixes 2012-11-17 19:56:28 +01:00
Henrik Rydgard
449f56d6f8 Fix analog stick stuck in Up 2012-11-17 19:23:05 +01:00
Diogo Franco (Kovensky)
7e7e9a0452 Add a class for keyboard input
Removes the windows-specific hack from sceCtrl
to read keyboard input and instead add a hack to
PPSSPPWindows.

The input mapping is still hardcoded and is the same
as it was in sceCtrl.

Add an std::list to WindowsHost that, curretly, contains
a hardcoded list of preferred `InputDevice`s. Devices
are tried in-order until one of them reports success.
Xinput is preferred over Keyboard. Keyboard always
returns success. Pointers are stored in the std::list
for polymorphism.

Change XinputDevice to report failure as soon as a
device can't be queried, instead of only a frame later.
2012-11-12 17:49:40 +00:00
Unknown W. Brackets
31fc4bf02a Wrap a few sceCtrl* funcs.
Also add an assert, seems like if nBufs = 0, could cause a bug.
2012-11-11 15:35:50 -08:00
Unknown W. Brackets
21bc86f669 Cleanup sceCtrlSetSamplingMode.
Use constants, assert expected param range, wrap.
2012-11-11 15:09:27 -08:00
Henrik Rydgard
06d7b5d00c Implement sceCtrlReadLatch, fixes controls in a couple of games. 2012-11-09 19:04:57 +01:00
Henrik Rydgard
259b169bbc Implement a few more little things 2012-11-08 16:28:45 +01:00
Henrik Rydgard
117256e07b Implement various hle stuff.. 2012-11-07 19:10:52 +01:00
Henrik Rydgard
b214a1a1da Revert "Better wrapper system, and fixed warnings"
This reverts commit a00b1855cb.

Conflicts:

	Core/HLE/FunctionWrappers.h
	Core/HLE/sceCtrl.cpp
	Core/HLE/sceKernelModule.cpp
2012-11-05 10:05:09 +01:00
Henrik Rydgard
6bed1afb72 Merge branch 'master' of https://github.com/artart78/ppsspp into artart78-master 2012-11-04 23:59:26 +01:00
Henrik Rydgard
64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Arthur Blot
6f391515a6 Redid some things about callbacks, and made easy bugfixes 2012-11-04 17:32:55 +01:00
Arthur Blot
a00b1855cb Better wrapper system, and fixed warnings 2012-11-04 15:08:23 +01:00
Henrik Rydgard
4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00