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
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
Xele02
05a3574315
Add missing break
2012-12-28 12:00:43 +01:00
Xele02
020e4e7f13
Add code for sdk version info
...
Modify Encrypt file data
2012-12-28 11:42:41 +01:00
Henrik Rydgård
3fb9b62d17
Merge pull request #273 from artart78/master
...
Fixed the rest of the ELF issues
2012-12-27 23:24:46 -08:00
Henrik Rydgård
fb8604e772
Merge pull request #274 from raven02/master
...
Border cosmetic fix in save/load menu + add 2 stubs in sceAtrac
2012-12-27 23:24:23 -08:00
raven02
cb2d8d5c75
Add 2 stubs in sceAtrac
2012-12-28 11:40:44 +08:00
Arthur Blot
8ed8f57a7f
Hopefully fix all the ELF loading issues
2012-12-28 01:07:19 +01:00
Henrik Rydgård
3f5eae3db5
Add some options to ingame menu. Minor fixes.
2012-12-27 23:38:55 +01:00
Unknown W. Brackets
fcc5bfee99
Add more atrac3 stubs to get games farther.
2012-12-26 13:36:10 -08:00
Henrik Rydgård
35f60501c1
Update a function name
2012-12-26 19:30:46 +01:00
Unknown W. Brackets
ddfa56e0f2
Fix GetMemoryBlockPtr() to take both arguments.
2012-12-26 04:02:33 -08:00
Unknown W. Brackets
724640d308
Revert rescheduling in sceIoOpen().
...
Broke Orbit and Breakquest, maybe my tests are wrong. Scheduling is hard.
This reverts commit f75f2748b1
.
2012-12-26 02:26:17 -08:00
Unknown W. Brackets
0587104c16
No need to register now, actually.
...
Was using NotifyCallbackType before but that wasn't necessary
anyway, so this is cleaner/better.
2012-12-26 02:17:47 -08:00
Unknown W. Brackets
be779d7f77
Actually run callbacks for async IO.
...
Probably needs to actually be delayed though.
2012-12-26 01:33:43 -08:00
Unknown W. Brackets
8d946a7a3a
Ensure we don't close the wrong fd in async io.
2012-12-26 01:33:43 -08:00
Unknown W. Brackets
a4154dbc17
Clean up a few IO wrappers with deferred HLE.
2012-12-26 01:33:42 -08:00
Unknown W. Brackets
f75f2748b1
Tests show io open also rescheds, async or not.
2012-12-26 01:33:42 -08:00
Unknown W. Brackets
b2ef54e194
Make waiting on async IO reschedule.
2012-12-26 01:33:42 -08:00
Unknown W. Brackets
4b9b23dfb4
Correct arguments in sceIoGetAsyncStat().
2012-12-26 01:33:41 -08:00
Henrik Rydgård
b2f29992a3
Wrap some functions, clean some stuff
2012-12-26 08:52:40 +01:00
Henrik Rydgård
d95dbca9be
Cleanup GPU init/shutdown a bit
2012-12-25 22:42:19 +01:00
Unknown W. Brackets
f8f581794f
Make sure sceUtility funcs all return error codes.
...
Right now, everything is 0, but before it wasn't returning anything.
Returning 0 actually made some games start working right.
2012-12-25 01:07:04 -08:00
Unknown W. Brackets
6a6db5f53a
Remember to break on HLE after an ignored syscall.
2012-12-24 22:03:40 -08:00
Unknown W. Brackets
dc21d5c462
Add a mechanism for HLE to trigger a debug break.
2012-12-24 21:47:54 -08:00
Unknown W. Brackets
b8ae91237e
Oops, missed some state in HLE to reset.
2012-12-24 21:04:28 -08:00
Unknown W. Brackets
23db819e90
No longer need this forward decl.
2012-12-24 01:42:33 -08:00
Unknown W. Brackets
d378b1c324
Deallocate properly in shutdown, not in init.
2012-12-24 01:41:15 -08:00
Unknown W. Brackets
41db5c46a5
Fix random modules not reseting on shutdown.
2012-12-23 22:52:40 -08:00
Unknown W. Brackets
036f0f3ad9
Properly clear interrupt state on shutdown.
2012-12-23 22:08:53 -08:00
Unknown W. Brackets
49d4c45670
Make sure threading state is cleared on shutdown.
2012-12-23 21:49:44 -08:00
Unknown W. Brackets
9ba0ed46fd
Always create CoreTiming timers during kernel init.
2012-12-23 21:27:26 -08:00
Unknown W. Brackets
65cfc8de86
Cleanup and fix mutex init, no need for a flag now.
2012-12-23 18:27:07 -08:00
TMaul
e8f240c1d4
Fix some more possible errors
...
Shadowed var n in MIPSIntVFPU
Possible buffer overflow in vertexdecoder.h
fix valid address checking in sceRtc function
2012-12-23 20:51:05 +00:00
TMaul
b45c9a2747
Fix some atrac warnings
...
Shouldn't be returning uninited vars, just in case..
2012-12-23 19:50:50 +00: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
raven02
5f7553c467
Buildfix
2012-12-24 01:26:37 +08:00
Henrik Rydgård
502976d031
Merge pull request #240 from raven02/master
...
Change MAX_CHANNEL to PSP_AUDIO_CHANNEL_MAX
2012-12-23 09:06:01 -08:00
raven02
2bdaaba2ab
Change MAX_CHANNEL to PSP_AUDIO_CHANNEL_MAX
2012-12-24 01:00:43 +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
raven02
415be25653
Add WrapU_II for functions in SceVaudio
2012-12-24 00:43:42 +08:00
raven02
764a75df1a
Add 3 new functions for sceVaudio
2012-12-24 00:42:28 +08:00