Commit Graph

99 Commits

Author SHA1 Message Date
kev :)
435c69196a This is used by a couple of games.
stubbed out to make them shutup.
2012-11-14 18:16:13 +00:00
Henrik Rydgard
059bb3c40c Buildfix, bugfix. Fixes issue 46. 2012-11-13 20:10:48 +01:00
Henrik Rydgård
e86f19452e Merge pull request #44 from tmaul/master
Default to english psp emulation
2012-11-12 11:00:16 -08:00
Henrik Rydgård
d7230a1482 Merge pull request #43 from unknownbrackets/master
Make threads/semaphores pass, fixing sceKernelStartThread
2012-11-12 10:59:25 -08: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
kev :)
43b90527d4 Default to english
Default to english. Needs to be menu/config driven really...
2012-11-12 17:18:20 +00:00
Unknown W. Brackets
d1fd16ecba sceKernelStartThread(): skip argPtr for 0 args.
This makes threads/semaphores pass, so adding to passing list.
Depends on an update to pspautotests.
2012-11-12 08:16:16 -08:00
Unknown W. Brackets
f37dd7fefe Fix $v0 on wrong thread in semaphore funcs.
Need to RETURN() prior to switching threads or it will write to the
wrong thread, oops.
2012-11-12 07:24:40 -08:00
Unknown W. Brackets
a0cacc7eb9 Merge remote-tracking branch 'upstream/master' 2012-11-12 01:35:38 -08:00
Henrik Rydgård
93b13a2ac8 Merge pull request #41 from unknownbrackets/thread-fix1
Fix crash in sceKernelExitDeleteThread()
2012-11-12 00:21:33 -08:00
Unknown W. Brackets
808c7e9807 Fix crash in sceKernelExitDeleteThread().
0 means current thread, seen in Wild Arms XF.
Doesn't make the game run but at least it doesn't segfault.
2012-11-11 20:09:03 -08:00
Unknown W. Brackets
33559d23db sceKernelDeleteSema() not returning 0?
Seems to be a bug outside this func, adding a comment at least.
2012-11-11 19:03:37 -08:00
Unknown W. Brackets
b58032039b Cleanup sceKernel semaphore funcs.
Remove some duplication of code so it's cleaner.
2012-11-11 18:54:06 -08:00
Unknown W. Brackets
a69fd56573 Implement sceKernelCancelSema() based on jpcsp.
Don't have any tests/users, but this jpcsp's behavior seems sane.
2012-11-11 18:33:13 -08:00
Unknown W. Brackets
e7b6487c4e Wrap sceKernel DeleteSema and CancelSema.
Also fix copy/paste mistake from SignalSema func.
2012-11-11 18:30:13 -08:00
Unknown W. Brackets
70809bf1f5 Make sceKernelDeleteSema() resume waiting threads.
This makes threads/semaphores *almost* pass.
It's now failing from sceKernelStartThread() or something, though.
2012-11-11 18:10:33 -08:00
Unknown W. Brackets
deab1c21b7 Fix sceKernelSignalSema().
Handle numWaitThreads and currentCount more correctly.
Well, I'm not 100% sure it's totally right now but it matches the test.
2012-11-11 17:59:15 -08:00
Unknown W. Brackets
8e2fff97bf Wrap a few semaphore sceKernel* funcs. 2012-11-11 17:57:35 -08:00
Unknown W. Brackets
3acca0f941 Fix crash in sceKernelReferSemaStatus.
This was crashing threads/semaphores, and also PQ2 (and maybe other games.)
Note: threads/semaphores still not passing.
2012-11-11 17:05:44 -08:00
Diogo Franco (Kovensky)
d2a0fcc38e Wrappers for LoadExecForUser 2012-11-12 00:43:48 +00:00
Diogo Franco (Kovensky)
af74d30790 Wrappers for sceKernelEventFlag 2012-11-12 00:43:48 +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
c455365bbe Merge remote-tracking branch 'origin/master' 2012-11-11 15:12:36 -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
4c1883e73f Some stubs, "NOP" out registerexitcallback, implement cancelwakeup 2012-11-12 00:04:57 +01:00
Unknown W. Brackets
cc58a9bd35 Wrap some of the sceUmd* HLE functions.
Intentionally skipped unimpl funcs.  Also skipped sceUmdCheckMedium
because docs online said it takes no param, but code says it does.
2012-11-11 14:47:28 -08:00
Henrik Rydgard
ce5afbc166 Merge branch 'master' of https://github.com/tmaul/ppsspp into tmaul-master
Conflicts:
	Core/HLE/scePower.cpp
	Core/MIPS/MIPSIntVFPU.cpp
	Core/MIPS/MIPSIntVFPU.h
	gentest.py
	test.py
2012-11-11 22:50:48 +01:00
Henrik Rydgard
0fb8c08af3 Test fixes and cleanups 2012-11-11 22:38:19 +01:00
kev :)
a2c024e454 Fix up secPower a bit
Removed PARAM stuff, made tests pass with some caveats in that I don't
understand what the return values are supposed to be based on the docs
and fix a small issue with sceImpose that I created with the last merge
2012-11-11 21:32:54 +00:00
Henrik Rydgard
9bc7385502 Power test working 2012-11-11 19:32:27 +01:00
kev :)
b9ff4295e7 Make RTC tests pass 2012-11-11 00:33:16 +00:00
kev :)
d67e473e81 Small clean up on sceGeDrawSync
Doesnt fix anything, obviously :)
2012-11-10 23:08:46 +00:00
kev :)
1591e72919 Merge remote-tracking branch 'upstream/master'
Conflicts:
	Core/FileSystems/ISOFileSystem.cpp
2012-11-10 23:04:51 +00:00
kev :)
ad80a78904 Add some impose commands 2012-11-10 23:04:10 +00:00
Henrik Rydgard
343b9435b9 A few minor fixes + buildfix 2012-11-10 23:44:14 +01:00
Henrik Rydgård
bbf84229bc Merge pull request #30 from artart78/master
Message Pipes (+ test.py fixes for Linux)
2012-11-10 14:24:48 -08:00
Arthur Blot
e45ce3af96 Implemented message pipes (may have issues) 2012-11-10 23:17:15 +01:00
gigaherz
d66f315902 Add a null check to the filename in sceKernelLoadModule. 2012-11-10 12:16:23 +01:00
Henrik Rydgard
387552f564 Misc fixes (accept .prx, work on power callbacks, bugs) 2012-11-10 10:15:11 +01:00
Henrik Rydgard
06d7b5d00c Implement sceCtrlReadLatch, fixes controls in a couple of games. 2012-11-09 19:04:57 +01:00
Henrik Rydgard
a49e1ba5b5 sceDisplayWaitForVblank shouldn't call sceDisplayWaitForVblankStart... 2012-11-09 18:03:52 +01:00
Henrik Rydgard
b43dfebb10 Fixes to lighting, display list base pointer, misc 2012-11-09 17:51:45 +01:00
Henrik Rydgard
0ff792fce5 Refix ge interrupts, make headless printf log messages 2012-11-09 13:40:09 +01:00
Henrik Rydgard
d671afdef4 sceImpose 2012-11-09 12:31:58 +01:00
Henrik Rydgard
94f5de1ac0 Test suite actually runs properly now 2012-11-09 11:03:01 +01:00
Henrik Rydgard
1b90a8b327 Another memstick ioctl, minor fixes 2012-11-09 10:01:54 +01:00
Henrik Rydgard
91cb6197e8 Merge branch 'master' of github.com:hrydgard/ppsspp 2012-11-09 00:04:19 +01:00
Henrik Rydgard
b24511ac41 Hackery to free up RAM (sceKernelMaxFreeMemSize lies a bit more, kill root stack) 2012-11-09 00:03:46 +01:00
Henrik Rydgård
85dda99e56 Merge pull request #25 from artart78/master
Texture loading (+ small issue fix for Mbxes)
2012-11-08 14:29:49 -08:00
Arthur Blot
c6ec09cf86 Resume waiting threads when Mbx is destroyed 2012-11-08 21:49:56 +01:00