Unknown W. Brackets
4abcb6a8ac
Fix sceUmdWaitDriveStatCB() so it fires right away.
...
This makes Crisis Core actually show loading again.
2012-12-01 23:29:23 -08:00
Unknown W. Brackets
c00f3dcdd8
Implement sceUmdCancelWaitDriveStat().
2012-12-01 23:29:22 -08:00
Unknown W. Brackets
f3e23f2672
Add some asserts for activating UMDs.
2012-12-01 23:29:22 -08:00
Unknown W. Brackets
a2ee736793
Process events when idle or switching threads.
...
Fixes hrydgard/ppsspp#104 , so things execute more accurately.
2012-11-30 23:09:14 -08:00
Unknown W. Brackets
998104e2eb
Consider threads still waiting until they wake.
...
This seems to match the actual behavior of timeouts much better.
2012-11-30 23:04:24 -08:00
Unknown W. Brackets
48c5efd0c2
Match hw timing of mutex/sema timeouts better.
...
Affects some tests passing/not passing due to minor timing issues, ugh.
2012-11-30 22:58:42 -08:00
Unknown W. Brackets
7164638799
Allow semaphores with waiters to signal.
...
If the max is 1, but there's 1 waiting, it's okay to signal 2.
Really, the final result is what matters.
2012-11-30 22:58:41 -08:00
Unknown W. Brackets
3ab41e515d
Mutexes and semaphores don't always reschedule.
...
It's just the normal rescheduling happening. Previous tests weren't
correct.
Also some minor cleanup.
2012-11-30 22:58:41 -08:00
Kevin Armstrong
5d0c88334b
9999 is actually the maximum year as verified on my PSP
2012-11-28 19:24:35 +00:00
Kevin Armstrong
de0a161be6
reduce the number of errors in sceRtc.cpp
2012-11-28 19:02:56 +00:00
Henrik Rydgard
980d13fe50
Assorted GPU fixes: Advance vertex pointer, fixes missing triangles in SPT. More logging. Separate proj matrices for through and normal mode (through matrix don't need to get updated as often). Some cleanup.
2012-11-28 13:45:22 +01:00
Henrik Rydgard
111f52d67f
Unbreak sceAudioOutput2OutputBlocking - must be careful about returns in blocking functions!
2012-11-28 11:09:12 +01:00
Henrik Rydgard
52572d92e6
Merge branch 'master', remote-tracking branch 'origin'
2012-11-28 10:38:22 +01:00
Sacha
6192bdf6df
sceIoRename function
2012-11-28 05:21:32 +10:00
Henrik Rydgård
156cfc4e6a
Merge pull request #100 from Ced2911/endian
...
sceAudio wrap
2012-11-27 04:12:37 -08:00
Ced2911
8bf93cfb54
sceAtrac wrap
2012-11-27 13:05:51 +01:00
Ced2911
f6fd7e13d1
sceAudio wrap
2012-11-27 12:18:58 +01:00
Henrik Rydgard
a74af8f372
Some new NIDs, log fix, very minor bugfix.
2012-11-27 11:40:30 +01:00
Henrik Rydgård
4991c84868
Merge pull request #99 from Ced2911/endian
...
less Memory::GetPointer
2012-11-27 01:31:50 -08:00
Ced2911
6db4ea2ad1
less Memory::GetPointer
2012-11-27 10:18:36 +01:00
Kevin Armstrong
c124c079dc
more sceRTC functions. Ones marked as hack either fail the tests or are a bit wrong
2012-11-26 23:37:21 +00:00
Henrik Rydgard
870ea6628b
Reasonably correct viewport handling. Optional debug stats overlay (not always 100% working).
2012-11-26 17:35:08 +01:00
Kevin Armstrong
e3b521b893
sceRtc function stubs, and some actual working functions
2012-11-26 00:36:36 +00:00
Henrik Rydgard
ced89f5983
Warning fixes
2012-11-25 15:46:51 +01:00
kev :)
68d644306e
Rename and retype a variable
2012-11-25 00:22:39 +00:00
kev :)
7e85df9c0f
Update sceRtcSetTick based on test cases
2012-11-25 00:14:14 +00:00
Unknown W. Brackets
3642c02562
Add some guards to audio funcs on channel.
...
The atrac test was crashing.
2012-11-23 16:25:26 -08:00
kev :)
fcfeeb8319
add sceKernelMemcpy & sceRtcSetTick
...
Untested apart from via games. gets bemani going further.
2012-11-23 18:51:36 +00:00
Henrik Rydgard
a97f66766d
Add "slightly faster interpreter", optimizing the most common instrs. Not as helpful as I thought it would be on Android, really need a proper JIT.
2012-11-23 12:42:35 +01:00
Henrik Rydgard
f3aeadedfa
Remove audio rate throttling, it's better to frame rate throttle. Gets rid of the slowdown that audio caused.
2012-11-23 10:35:28 +01:00
Unknown W. Brackets
ad116632bf
Implement sceRtcGetTick().
...
Unfortunately, this fixes things so that rtc/rtc is correctly failing.
2012-11-22 23:49:23 -08:00
Unknown W. Brackets
c40d8a4fbe
Implement sceRtcGetCurrentClock().
...
Not sure if this needs some kind of DST handling for the tz?
2012-11-22 23:48:12 -08:00
Unknown W. Brackets
965eeaf9da
Add error handling to sceRtcGetDaysInMonth().
2012-11-22 23:48:12 -08:00
Unknown W. Brackets
21398bfcf8
Fix sceRtc module name so the right funcs are run.
...
Makes rtc/rtc pass again.
2012-11-22 23:48:12 -08:00
Unknown W. Brackets
6a4a26d4bf
No need for these headers anymore.
2012-11-22 23:48:11 -08:00
Unknown W. Brackets
d3f2d9d10b
Use u64 here to avoid warnings, better precision.
...
The timeout value is u32 anyway, so an int was already a loss.
2012-11-22 16:40:26 -08:00
Unknown W. Brackets
c2c2b77792
Fix threads locking more than one mutex at a time.
...
Duh, of course they can. Even my test did, I'm stupid.
2012-11-22 16:33:16 -08:00
Henrik Rydgard
d141d205f8
Delete old textures, to prevent memory usage from growing indefinitely.
2012-11-22 23:07:15 +01:00
Henrik Rydgard
08f8f4b323
Cleanup sceRtc, move sceFont to its own file.
2012-11-22 22:30:44 +01:00
kev :)
03c5e83953
Some sceUtility wrapping
...
Minus OSK and netconf
2012-11-22 20:46:22 +00:00
Unknown W. Brackets
1bf04790e9
Darn, buildfix for debug.
2012-11-21 07:28:54 -08:00
Unknown W. Brackets
879efb25cc
Don't allow unlocking someone else's mutex.
2012-11-21 00:28:29 -08:00
Unknown W. Brackets
fa9b9840d0
Implement LwMutex locking and unlocking.
2012-11-21 00:21:25 -08:00
Unknown W. Brackets
db16f9309e
Don't crash if something goes wrong with mutexes.
...
Probably can't happen but being defensive is good.
2012-11-20 22:57:14 -08:00
Unknown W. Brackets
b71d998a20
Broadcast a threadend event to wake mutexes.
2012-11-20 02:20:16 -08:00
Unknown W. Brackets
dd3db71b61
Forget mutex waiting threads when they timeout.
2012-11-20 02:20:16 -08:00
Unknown W. Brackets
8da2fb074c
For mutexes/semaphores, register a global timer.
...
Instead of leaking one per each. Should be faster.
Since we can only wait on one thing per thread at a time, this is fine.
2012-11-20 02:20:16 -08:00
Unknown W. Brackets
a81c138004
Create and Delete LwMutex funcs.
2012-11-20 02:20:15 -08:00
Unknown W. Brackets
619a9906de
Remove threads from semaphores when they timeout.
...
This makes wait tests *almost* pass. There's some timing
related issues left, though.
2012-11-20 02:20:15 -08:00
Unknown W. Brackets
fd41851503
Implement timeouts on semaphores too.
2012-11-20 02:20:14 -08:00
Unknown W. Brackets
4d71e32193
Update the value when mutexes timeout.
2012-11-20 02:20:14 -08:00
Unknown W. Brackets
aad7e48a1a
Oops, turns out mutex timeouts are in micro.
...
Found it documented as milli somewhere, but it was wrong.
2012-11-20 02:20:14 -08:00
Unknown W. Brackets
d88fa153b7
Implement timeouts on mutexes.
...
Still need to set timeoutPtr after they expire.
Pretty sure I did this the right way, seems CoreTiming does already
allow/use multiple events for the same type?
2012-11-20 02:20:13 -08:00
Unknown W. Brackets
b9bb5c4cce
Make sceKernelStartThread() reschedule.
...
Mutexes and semaphores are wrong, duh.
2012-11-20 02:20:13 -08:00
Unknown W. Brackets
7b9a8bf766
Minor correctness on create mutex.
2012-11-20 02:20:12 -08:00
Unknown W. Brackets
7fa388952e
Refactor mutex locking to simplify.
2012-11-20 02:20:12 -08:00
Unknown W. Brackets
0681c8e5c5
Add overflow error to mutex locking.
2012-11-20 02:20:12 -08:00
Unknown W. Brackets
40a6ebfabe
Fix sceKernelCancelSema() to handle any negative.
...
So the test isn't failing.
2012-11-20 02:19:21 -08:00
Unknown W. Brackets
2290397b94
sceKernelTryLockMutex() and fix other locking.
2012-11-20 02:19:21 -08:00
Unknown W. Brackets
4bfa24eca8
Fix sceKernelCreateMutex() to match tests.
...
Still have an issue where reusing threads doesn't work.
2012-11-20 02:19:21 -08:00
Unknown W. Brackets
a539580195
Reschedule after acquiring a lock.
...
This matches the actual test results.
2012-11-20 02:19:20 -08:00
Unknown W. Brackets
2613ed8806
Cleanup mutex func types.
...
Looks like mutexes reschedule when they lock, so switch to void.
2012-11-20 02:19:20 -08:00
Unknown W. Brackets
429ac9de87
Oops, CreateMutex was missing a parameter.
2012-11-20 02:19:19 -08:00
Unknown W. Brackets
4bab714db5
Mutexes go in FIFO order as expected.
...
The test was wrong.
2012-11-20 02:19:19 -08:00
Unknown W. Brackets
4cddd3092a
Implement basic locking for sceKernel mutexes.
...
Test still not passing, due to odd order the mutex is unlocked in?
But, at least, it does lock now.
2012-11-20 02:19:19 -08:00
Henrik Rydgard
f378f959e1
Fix issues with games that don't call sceDisplaySet mode. Add option to run without FBOs, may be useful on slow devices.
2012-11-20 10:59:23 +01:00
Henrik Rydgard
f226afc3ca
Implement a missing time function
2012-11-20 01:04:39 +01:00
Henrik Rydgard
ee32db47b9
Assorted FBO fixes
2012-11-20 00:31:19 +01:00
Henrik Rydgard
4a49b8ee36
Workaround for motogp setting a bogus framebuffer address.
2012-11-19 23:53:38 +01:00
Henrik Rydgard
8b67975a47
GL: Framebuffer management using FBOs. Fixes flicker in Lumines and many others.
2012-11-19 23:29:14 +01:00
Henrik Rydgard
91e1cce17e
Some reorg in preparation for FBO work
2012-11-19 21:23:29 +01:00
Henrik Rydgård
14a59fdc75
Found a better way to do the previous change. Allow JIT on mac/linux.
2012-11-19 14:51:47 +01:00
Henrik Rydgård
fb25b7405c
Synchronize the mainloop to the display end-of-frame on nonWindows
...
platforms.
2012-11-19 14:16:37 +01:00
Henrik Rydgård
ec2cb15c38
Merge branch 'master' of github.com:hrydgard/ppsspp
...
Conflicts:
Core/HLE/sceKernelInterrupt.cpp
native
2012-11-19 11:35:53 +01:00
Henrik Rydgard
1f48dc380a
gitignore, comments, upgrade native.
2012-11-19 09:25:50 +01:00
Henrik Rydgard
2d431d27e7
Crashfix for a buggy game that misuses sceUtility
2012-11-19 00:29:41 +01:00
Henrik Rydgard
8e3148587a
Merge branch 'master' of github.com:hrydgard/ppsspp
2012-11-18 23:40:35 +01:00
Henrik Rydgard
d572d40c36
More warning fixing
2012-11-18 23:35:02 +01:00
Henrik Rydgard
fa05713456
misc cleanup
2012-11-18 23:14:50 +01:00
Henrik Rydgård
739b747e02
Merge branch 'master' of github.com:hrydgard/ppsspp
2012-11-18 23:00:13 +01:00
kev :)
bcb0cbe7ea
make sceUtilitySavedataInitStart return 0
...
Makes a few other games get further
2012-11-18 21:45:14 +00:00
kev :)
d04fb7cb50
A bit more clean up on umd callbacks
...
Just error checking based on some tests
2012-11-18 21:28:26 +00:00
kev :)
03bc871f56
sceDisplayWaitVblankStartMultiCB()
...
This is wrong but better than having nothing in the method. The one game
I have found that uses this seems to be ok with this implementation.
2012-11-18 20:13:27 +00:00
kev :)
9257b28c15
Limit thread name
...
Seems this needs to be limited
2012-11-18 19:34:53 +00:00
kev :)
48bd2ccc08
Attempt at UMD callbacks.
...
Helps a few games but needs more work.
2012-11-18 19:34:10 +00:00
kev :)
71a3b789b8
Add fake methods that use sceGetCurrentTick
2012-11-18 19:33:19 +00:00
Henrik Rydgard
75412b064b
Implement sceUtilityMsgDialog
2012-11-18 17:51:14 +01:00
Henrik Rydgard
5596b98529
Get rid of opengl include from sceDisplay.cpp
2012-11-18 13:14:22 +01:00
Henrik Rydgard
e37a1fb1d3
Add internal 2D drawing library that goes through the Ge emulation for portability.
...
To be used for things like sceUtility* and other overlays like FPS and stats.
2012-11-18 13:04:49 +01:00
Henrik Rydgård
f002fe8db3
Merge branch 'master' of github.com:hrydgard/ppsspp
...
Conflicts:
Core/HLE/HLE.h
Core/HLE/sceKernel.h
Core/HLE/sceKernelInterrupt.cpp
2012-11-17 20:11:54 +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
Henrik Rydgard
d239f4ece1
Fix tests hanging, after the audio rewrite
2012-11-17 18:08:10 +01:00
Henrik Rydgard
64e476c199
Merge branch 'unknownbrackets-sema-cleanup'
2012-11-17 15:06:48 +01:00
Henrik Rydgard
423bba5d8d
Some optimization and minor fixes
2012-11-17 15:06:10 +01:00
Henrik Rydgard
184d5b9443
Merge branch 'sema-cleanup' of https://github.com/unknownbrackets/ppsspp into unknownbrackets-sema-cleanup
...
Conflicts:
pspautotests
2012-11-17 15:05:30 +01:00
Henrik Rydgard
5a48578a12
Rewrite audio line output. Now deterministic (from the game's POV) and smoother.
2012-11-17 14:20:59 +01:00
Unknown W. Brackets
157858819b
Additional semaphore fixes with updated tests.
2012-11-17 01:43:01 -08:00
Henrik Rydgård
509ae819ab
Merge pull request #54 from unknownbrackets/sema-cleanup
...
Semaphore func cleanup
2012-11-16 02:33:09 -08:00
Unknown W. Brackets
2e9e61dfc6
CancelSema: adjust scheduling to match PSP.
2012-11-16 01:50:26 -08:00
Unknown W. Brackets
8517fbe761
PollSema: don't allow values <= 0.
2012-11-16 01:41:54 -08:00
Unknown W. Brackets
71e57043e8
SignalSema: throw an error on overflow.
...
This is what the PSP does.
2012-11-16 01:32:00 -08:00
Unknown W. Brackets
dd14450424
CreateSema: Truncate and validate like the PSP.
2012-11-16 01:26:04 -08:00
Unknown W. Brackets
0ab19c18e5
Wrap sceKernelCreateSema().
2012-11-16 00:06:44 -08:00
Unknown W. Brackets
4191d40187
Add notes about PRIORITY attribute.
...
Not supported yet.
2012-11-15 23:55:23 -08:00
Henrik Rydgard
90654bcd0e
VFPU fixes, misc
2012-11-15 10:15:40 +01:00
kev :)
d0fdd4c172
Make sceUtility test pass (assuming the last line is wrong)
...
It has to be more correct than before even if its still not 100%
2012-11-14 23:05:58 +00:00
kev :)
3764f48bee
Make the directory test pass
...
The test for this might need to be extended to see what happens with
multiple sub folders and large files, and i do question the expected
size of '..'
2012-11-14 21:24:57 +00:00
kev :)
0753643dc4
More stubs
...
And one possible hack..
2012-11-14 18:52:06 +00:00
kev :)
0b1f2f59c4
A few more stubs
...
Stubbed out some missing inet functions used by a couple of games
2012-11-14 18:33:18 +00:00
kev :)
435c69196a
This is used by a couple of games.
...
stubbed out to make them shutup.
2012-11-14 18:16:13 +00:00
Unknown W. Brackets
306274ffdf
Fix iterator in sceKernelSignalSema().
...
I'm sure we dont' want to change s.
2012-11-14 07:42:21 -08:00
Unknown W. Brackets
5c69d6169f
Use WriteStruct() in sceKernelReferSemaStatus().
2012-11-14 00:13:17 -08:00
Henrik Rydgard
0019d88a44
Merge branch 'master' into mediaengine
2012-11-13 20:41:55 +01:00
Henrik Rydgard
059bb3c40c
Buildfix, bugfix. Fixes issue 46.
2012-11-13 20:10:48 +01:00
Henrik Rydgard
8053c244b8
Implement large chunks of sceMpeg and scePsmf with JPSCP as a guide.
...
Not yet hooked up to FFMPEG and doesn't quite work yet.
2012-11-13 18:07:20 +01:00
Henrik Rydgard
aa5940c5d3
Merge branch 'master' into mediaengine
2012-11-12 23:33:37 +01:00
Henrik Rydgard
681ac65d5d
More mpeg
2012-11-12 23:32:46 +01:00
Henrik Rydgard
1127c72124
some initial mediaengine work
2012-11-12 20:53:16 +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
Henrik Rydgard
040b6199b7
missing include
2012-11-08 18:02:33 +01:00
Henrik Rydgard
79a433e05d
Merge branch 'master' of github.com:hrydgard/ppsspp
2012-11-08 16:28:59 +01:00
Henrik Rydgard
259b169bbc
Implement a few more little things
2012-11-08 16:28:45 +01:00
Arthur Blot
35c7b411aa
Fixed value returning for MBXes
2012-11-08 16:24:06 +01:00
Arthur Blot
b96d86ab7f
Implemented MBXes
2012-11-08 14:24:51 +01:00
Henrik Rydgard
caacaf6744
Just a few small things
2012-11-07 20:59:56 +01:00
Henrik Rydgard
117256e07b
Implement various hle stuff..
2012-11-07 19:10:52 +01:00
Henrik Rydgard
a6a6453c60
Add custom "grain" for block allocator. Set the big block allocs to grain 256.
2012-11-07 17:35:22 +01:00
Henrik Rydgard
3ed790e6a3
Interrupts should not be triggered if disabled
2012-11-07 17:01:57 +01:00
Henrik Rydgard
f463a5a679
Fix dir listings for relative paths
2012-11-07 16:54:14 +01:00
Henrik Rydgard
baa11aede8
Zero terminate the filename passed to the root thread
2012-11-07 16:45:21 +01:00
Henrik Rydgard
1391d83afd
Never do RETURN() after blocking (Wait etc), as it will zero out a register in the wrong thread.
2012-11-07 16:05:39 +01:00
Henrik Rydgard
aea0580297
More reworking of Callbacks, plus some other little fixes.
2012-11-07 15:44:48 +01:00
Henrik Rydgard
cf098dfd67
UMD callbacks, a couple of NIDs
2012-11-07 15:44:13 +01:00
Henrik Rydgard
00fc7754c6
CMakeLists fix, rebooting fix
2012-11-06 22:04:00 +01:00
Henrik Rydgard
83fb5e96de
Logging, stubs and fixes
2012-11-06 20:56:19 +01:00
Henrik Rydgard
d769297d06
Add a flags field to HLEFunction. Fix a small path issue.
2012-11-06 19:34:17 +01:00
Henrik Rydgard
3e207a1490
Fake netconf dialog, etc
2012-11-06 19:22:14 +01:00
Henrik Rydgard
aca35fc96c
More fixes and logging improvements
2012-11-06 18:56:56 +01:00
Henrik Rydgard
8a082f91cc
Ge Callbacks seem to be working now.
2012-11-06 18:14:09 +01:00
Henrik Rydgard
714beabe2e
Add some new imports
2012-11-06 17:05:51 +01:00
Henrik Rydgard
85d5cfd8c4
Add more proper "Null" GPU
2012-11-06 17:05:27 +01:00
Henrik Rydgard
9747b0bfd7
Cleaner emulator: logging
2012-11-06 16:37:31 +01:00
Henrik Rydgard
28879934d6
Add some missing HLE functions, fix loading unencrypted EBOOT.BIN
2012-11-06 16:20:13 +01:00
Henrik Rydgard
48bc1afe26
Add vcmp ES condition code, uncached mirror of scratchpad
2012-11-06 16:01:41 +01:00
Henrik Rydgard
c61d10363a
Rewrite callback handling, part 1. All sorts of other fixes too.
2012-11-06 15:46:46 +01:00
Arthur Blot
6a1af73b37
Better module blacklisting, export fix
2012-11-05 18:03:02 +01:00
Arthur Blot
d0542e3531
Fixed a few issues related to encrypted PRXes
2012-11-05 16:56:40 +01:00
Henrik Rydgard
ac910d7e75
Fix Windows and Android builds.
2012-11-05 15:42:21 +01:00
Arthur Blot
5b5618d32d
Added ~PSP decryption system using kirk-engine
2012-11-05 14:59:38 +01:00
Henrik Rydgard
ddfbd18370
Warning fixes
2012-11-05 14:38:55 +01:00
Henrik Rydgard
b96859828f
Merge branch 'master' of github.com:hrydgard/ppsspp
2012-11-05 14:36:39 +01:00
Henrik Rydgard
e775bc385f
Add some logging to sceIoDevCtl
2012-11-05 14:36:27 +01:00
Henrik Rydgård
c39d9a8397
Merge pull request #10 from xsacha/master
...
Blackberry 10 port (WIP)
2012-11-05 05:35:02 -08:00
Henrik Rydgard
4cd99b527a
Some work on FPL pools
2012-11-05 14:16:41 +01:00
Sacha
41f5abab31
PPSSPP ported to Blackberry10
...
Now builds on Playbook and Dev Alpha
Make emulator more compatible with other OS (case sensitivity, defines, includes)
Uses Android's code paths and backend
2012-11-05 23:09:49 +10:00
Henrik Rydgard
0f04d108de
Sanity checks and cleanup
2012-11-05 13:36:12 +01:00
Henrik Rydgard
6f85f02e25
Module loading fixes - proper module blacklisting, correct some error codes
2012-11-05 12:02:09 +01:00
Henrik Rydgard
8f751efe4d
Don't load modules that we have HLE implementations of.
2012-11-05 10:25:28 +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
9be8be6b7f
Implemented sceKernelLoadModule()
...
Note that it wasn't tested because all the games I tested had other problems (already implemented modules, encrypted modules, using different functions etc).
But code looks good so it'd probably need few (no?) fixes.
2012-11-04 19:01:20 +01:00
Arthur Blot
6f391515a6
Redid some things about callbacks, and made easy bugfixes
2012-11-04 17:32:55 +01:00
Henrik Rydgård
1ea930e8c8
code style fixing, remove unused field
2012-11-04 15:44:53 +01:00
Arthur Blot
133e1394f8
Merge remote-tracking branch 'upstream/master'
2012-11-04 15:09:03 +01:00
Arthur Blot
a00b1855cb
Better wrapper system, and fixed warnings
2012-11-04 15:08:23 +01:00
Henrik Rydgård
b6b7ac51b3
Allow specifying a range when allocating UIDs, default to [16, inf]
2012-11-04 13:28:52 +01:00
Henrik Rydgård
794dd9567b
Warning fixes
2012-11-04 13:27:11 +01:00
Henrik Rydgård
4ac0f63c42
Reindent sceKernel
2012-11-04 12:24:10 +01:00
Henrik Rydgård
baebaaddf9
Respect the IgnoreBadMemAccess ini option (exit on bad access if set).
...
Fix ini save/load on SDL build.
2012-11-04 11:54:45 +01:00
MrOrdinaire
1ab9943643
fix missing #include's and missing CMake linking directives
2012-11-03 10:33:24 +08:00
Henrik Rydgard
4f7ad15758
Add snapshot of the whole source code.
2012-11-01 16:19:01 +01:00