Unknown W. Brackets
cb0538c4db
Can't just do that, might get the vtbl. Arg.
2012-12-29 03:19:13 -08:00
Henrik Rydgård
7509a2b83a
Merge pull request #282 from unknownbrackets/mediaengine
...
mediaengine: Merge from master, add save states
2012-12-29 00:44:10 -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
Henrik Rydgård
f9133c1a56
Reset JIT before saving/loading state
2012-12-29 00:10:43 +01:00
Henrik Rydgård
90e3042b17
Change save state extension to ".ppst"
2012-12-28 23:43:09 +01:00
Henrik Rydgård
95c4e0b9c4
Quick build fix for gcc
2012-12-28 23:33:00 +01:00
Henrik Rydgård
1689731752
Merge pull request #266 from unknownbrackets/savestates
...
Initial progress on savestates (requesting review only)
2012-12-28 14:19:15 -08:00
Unknown W. Brackets
269a776363
Add a simple devctl to verify the state.
...
Could do more, but this should be useful.
2012-12-28 14:13:34 -08:00
Unknown W. Brackets
94969c4ead
Add some basic Windows UI for save states.
2012-12-28 13:55:32 -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
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
644e6b615c
Fix memory leak in msgpipe when loading state.
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
7a2adfd8a5
Don't store pointers in VagDecoder directly.
...
I'm assuming it's fine to not fix read_ when end_ happens.
Shouldn't be any performance penality, really.
2012-12-28 13:55:29 -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
1768365c13
Fix a memory leak in the ISO filesystem.
2012-12-28 13:55:28 -08:00
Unknown W. Brackets
4b39e39455
Start save stating the filesystem state.
...
Plus minor fixes and at least an attempt to make states the same
on both 32 and 64 bit.
2012-12-28 13:55:27 -08:00
Unknown W. Brackets
e3e6f81dfa
Snapshot the CPU state as well.
2012-12-28 13:55:27 -08:00
Unknown W. Brackets
b81899876f
Don't leak MipsCall objects.
2012-12-28 13:55:26 -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
f5dd7f03e8
Change threadqueue and currentThread to be SceUIDs.
...
hmm, kind of a big change. Tried to add some checks to be safe.
2012-12-28 13:55:25 -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
91d727a65a
Add CoreTiming to save states.
...
I hope DoLinkedList works, seems like it should.
2012-12-28 13:55:24 -08:00
Unknown W. Brackets
fbe4fd396e
Add a mechanism to restore event callback ptrs.
...
Ugh, more duplicates. Maybe can find a good way to refactor.
2012-12-28 13:55:24 -08:00
Unknown W. Brackets
570e8c812b
Also handle save states while paused.
2012-12-28 13:55:23 -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
d9efdf548b
Add basic state for the memory kernel objects.
...
Not the actual memory partitions quite yet.
2012-12-28 13:52:52 -08:00
Unknown W. Brackets
991243fffd
Add basic DoState() to tertiary kernel objects.
2012-12-28 13:52:52 -08:00
Unknown W. Brackets
a2f4c83c90
Initial state saving for kernelObjects.
2012-12-28 13:52:51 -08:00
Henrik Rydgård
75ce287213
Add more stuff to GeDisasm. Advance index pointer on indexed draws.
2012-12-28 20:54:00 +01:00
Henrik Rydgård
e2cc226d0d
Just some cleanup of GPU code
2012-12-28 20:54:00 +01:00
Henrik Rydgård
8f81c45738
Merge pull request #277 from raven02/master
...
User define linear filtering
2012-12-28 08:52:52 -08:00
raven02
e407ec4314
User define linear filtering
2012-12-29 00:39:46 +08:00
Henrik Rydgård
29bc06ae32
Possible buildfix
2012-12-28 16:52:01 +01:00
Henrik Rydgård
5d303f1577
Merge pull request #275 from Xele02/master
...
Save Update
2012-12-28 05:30:19 -08:00
Henrik Rydgård
3c8d52031e
Merge pull request #276 from artart78/patch-1
...
Fix buttons for the virtual gamepad
2012-12-28 05:20:09 -08:00
artart78
d251bcfc96
Fix buttons for the virtual gamepad
2012-12-28 13:49:36 +01:00
Xele02
05a3574315
Add missing break
2012-12-28 12:00:43 +01:00
Xele02
f965fb7623
* Add PSP Homebrew for encode/decode save between PSP and PPSSPP.
2012-12-28 11:42:41 +01:00
Xele02
020e4e7f13
Add code for sdk version info
...
Modify Encrypt file data
2012-12-28 11:42:41 +01:00
Xele02
a23ca01f16
Mode 8 Correction
...
Modif for save encryption in Param.sfo and export save filename and
encode key in a file
2012-12-28 11:39:52 +01:00
Henrik Rydgård
853c588e61
Merge pull request #265 from unknownbrackets/save-fixes
...
Stub out mode 12 so games think it's working
2012-12-27 23:26:15 -08:00