Unknown W. Brackets
411c711dac
Initial sceKernelRotateThreadReadyQueue().
...
Might not be right but it's closer.
Makes games that call this func much faster.
2013-02-09 16:04:34 -08:00
Unknown W. Brackets
3ad565b4df
Keep filehandles open properly when loading state.
2013-02-08 08:16:54 -08:00
Henrik Rydgård
7d6c113a97
Merge pull request #582 from raven02/master
...
Add few new stubs seen from Dragon Ball Z Tenkaichi Tag Team
2013-02-03 13:15:32 -08:00
Henrik Rydgard
3f0816cd05
Usec2Sysclock fixes
2013-02-03 22:14:19 +01:00
raven02
24c720892c
Add few stubs seen from Dragon Ball Z Tenkaichi Tag Team
2013-02-04 03:19:55 +08:00
Marcin Mikołajczyk
4497252398
Wrap sceKernelTime functions
2013-02-03 16:33:01 +01:00
Unknown W. Brackets
ac8b35b2ef
Optimize sysclock / sysclock 2 usec.
...
Legend of Heroes 1/2/3 call these a ton, making them quite slow.
Not sure if it's a bug, but they can be more optimal which'll make
it easier to debug anyway.
2013-02-02 20:42:16 -08:00
Unknown W. Brackets
0eaced4685
Track Atrac as a map and associate data.
2013-02-01 08:33:32 -08:00
raven02
9870de2600
Implement sceKernelDevkitVersion
2013-01-31 14:59:45 +08:00
Henrik Rydgard
0005fe1c5f
Optional logging (ifdef) of cache calls for debugging
2013-01-22 22:03:40 +01:00
Henrik Rydgard
8d845cc588
quick implementation of sceKernelReferMutexStatus
2013-01-20 23:11:48 +01:00
raven02
b16a208453
Add __PsmfPlayerDoState(PointerWrap &p) to sceKernel
2013-01-20 16:24:49 +08:00
Unknown W. Brackets
76e693f674
Cleanup the other vpl functions.
2013-01-18 01:38:15 -08:00
Unknown W. Brackets
4c510b5649
Clean up sceKernelFreeVpl(), not waking yet.
2013-01-18 01:38:13 -08:00
Unknown W. Brackets
c8bb837996
Implement basic waiting for VPL allocation.
...
Always times out so far, though.
2013-01-18 01:38:13 -08:00
Unknown W. Brackets
373f1f8655
Cleanup sceKernelCreateVpl() and add warns/errors.
2013-01-18 01:38:11 -08:00
YaPeL
9cde301f4d
Wrap functions on HLETables
2013-01-12 15:17:35 -03:00
Henrik Rydgard
f3749d8abe
Add kernelstats
...
Useful for finding out if some syscall takes unexpectedly much CPU.
2013-01-11 00:13:38 +01:00
Unknown W. Brackets
1f21ea4236
Implement sceKernelReleaseWaitThread().
2013-01-07 19:44:39 -08:00
Unknown W. Brackets
5ac7f6a211
Clean up sceKernelWaitThreadEnd() wrappers.
2013-01-07 10:02:11 -08:00
Henrik Rydgard
88e921b074
Use invalidatecachehint in dcachewritebackinvalidateall too. Count invalidations.
2013-01-06 12:27:01 +01:00
Unknown W. Brackets
17c1d3ce68
Return errors for Dcache funcs, correctly.
2013-01-05 17:07:19 -08:00
Unknown W. Brackets
3861ce0376
Use sceKernelDcacheWritebackAll() as a hint only.
2013-01-05 17:07:19 -08:00
Henrik Rydgard
9fe592e83a
Implement sceKernelDelaySysClockThreadCB
2013-01-05 23:24:05 +01:00
Henrik Rydgard
b283b915cb
Implement sceKernelReferThreadRunStatus
2013-01-05 23:07:13 +01:00
Henrik Rydgard
5ba5ceff19
Merge branch 'master' into mediaengine
2013-01-05 16:22:08 +01:00
Henrik Rydgard
8f26e128bf
Ignore bogus invalidate cache calls, fixes slowdown in some games
2013-01-04 00:32:18 +01:00
Henrik Rydgard
883f61e3dd
Savestates: Add quicksave/quickload. Add Android UI for savestates. All single slot for now.
2013-01-02 21:05:02 +01:00
Henrik Rydgard
d657fc9fa2
Disable clearing all the GPU's cache on sceKernelCacheWritebackAll, the performance penalty was too big.
2013-01-02 13:50:52 +01:00
Henrik Rydgård
6717359270
Merge pull request #310 from unknownbrackets/libc
...
Libc memcpy/etc. fixes
2013-01-02 01:56:05 -08:00
Unknown W. Brackets
1c156784b6
Be more deterministic about the time.
...
This way, if a state is loaded, the game doesn't know.
Also, if the host is slow/sped up, it won't get out of sync.
2013-01-02 01:09:44 -08:00
Unknown W. Brackets
5bd059a128
Do more cache invalidation, fix return values.
2013-01-02 00:54:23 -08:00
Henrik Rydgård
1ea34bb6e8
Stub out all of VTimer.
2012-12-30 21:30:33 +01:00
Unknown W. Brackets
03d9157d26
Draw offscreen in headless (Windows only.)
2012-12-29 23:21:55 -08:00
Unknown W. Brackets
ac2768640a
Add save stating changes to mediaengine.
...
Also makes it compile again.
2012-12-28 23:29:24 -08:00
Unknown W. Brackets
6f9f9e1c98
Merge branch 'master' into mediaengine.
...
Note: doesn't compile, just fixes conflicts.
Conflicts:
Core/HLE/sceKernel.cpp
Core/HLE/sceKernelThread.cpp
Core/HLE/sceKernelThread.h
2012-12-28 22:32:56 -08:00
Unknown W. Brackets
fd2f609367
Save the savedata and other dialog state.
...
Although, hopefully it wouldn't be running anyway.
2012-12-28 13:55:31 -08:00
Unknown W. Brackets
e665618891
Fix kernel object loading (ouch) from save states.
...
Also a fix to SAS voices not saving right.
2012-12-28 13:55:30 -08:00
Unknown W. Brackets
5999fac10d
Start saving the state of the GPU.
...
Not 100% sure this is all that's needed, but let's try it.
2012-12-28 13:55:30 -08:00
Unknown W. Brackets
19aaca2705
Start save stating audio, plus minor fixes.
2012-12-28 13:55:29 -08:00
Unknown W. Brackets
042e515037
Warniof the sceIo defAction is used when stating.
...
This is broken anyway so skipping for now.
2012-12-28 13:55:28 -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
a8c9c31e16
Add a registry for actions so they can be stated.
...
Also add late loaders to ensure things are hooked up properly.
2012-12-28 13:55:26 -08:00
Unknown W. Brackets
db787d266d
Require interrupt handlers to be registered.
...
This allows it to be save stated sanely.
2012-12-28 13:55:25 -08:00
Unknown W. Brackets
3ed2045f6b
Add state saving to tertiary kernel modules.
2012-12-28 13:55:25 -08:00
Unknown W. Brackets
2197d96989
Run save state operations at next Advance().
...
Should take some question marks out of things.
2012-12-28 13:55:23 -08:00
Unknown W. Brackets
abeaaa9105
Add Verify() method to quickly test states work.
2012-12-28 13:55:22 -08:00
Unknown W. Brackets
d6d3688c8c
Fix a warning if loading wrong version / etc.
2012-12-28 13:55:22 -08:00
Unknown W. Brackets
595759ef78
Implement a factory for kernel objects.
...
Couldn't think of a better way to do this, maybe there's some fancy
one I don't know about.
Also finished up a couple left over kernel objects.
Maybe a quarter the way there?
2012-12-28 13:55:22 -08:00
Unknown W. Brackets
a2f4c83c90
Initial state saving for kernelObjects.
2012-12-28 13:52:51 -08:00