Commit Graph

672 Commits

Author SHA1 Message Date
raven02
91c188c4d0 Border cosmetic fix in save/load menu 2012-12-28 11:22:12 +08:00
Unknown W. Brackets
df04bbe4dd Fix a crash when switching between jit/interp. 2012-12-26 03:30:08 -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
27e8e4c6fb Stop ADPCM decoder from running off into space. improves motogp audio. 2012-12-26 09:07:52 +01:00
Henrik Rydgård
fb238c685e SasAudio: voice.samplePos -> voice.sampleFrac. Gets rid of annoying overflow errors. 2012-12-26 08:53:19 +01:00
Henrik Rydgård
b2f29992a3 Wrap some functions, clean some stuff 2012-12-26 08:52:40 +01:00
Henrik Rydgård
ed68dea0d5 JIT: Ignore branches in delay slots. Not sure if this is 100% correct. 2012-12-26 08:37:53 +01:00
Henrik Rydgård
1328413dfc Filesystems: add host0: hack, proper shutdown of DirectoryFileSystem 2012-12-26 08:24:19 +01:00
Henrik Rydgård
d95dbca9be Cleanup GPU init/shutdown a bit 2012-12-25 22:42:19 +01:00
Unknown W. Brackets
d9cd067f5a Merge pull request #251 from unknownbrackets/save-fixes
sceUtility / savedata fixes
2012-12-25 12:20:30 -08:00
Unknown W. Brackets
b0295664e8 Correctly fix incorrect save directory being used.
Darn, should've caught this before when I refactored wrong.
2012-12-25 01:41:02 -08:00
Unknown W. Brackets
1a71bf3aaf Fix potential buffer overflow.
Detail can be 1024 already, I guess.
2012-12-25 01:36:21 -08:00
Henrik Rydgård
38a7059bdd Initialize some stuff in SasAudio, fixes some audio issues on my mac 2012-12-25 10:08:57 +01:00
Unknown W. Brackets
0fa0d3f6db Oops, need to use saveNameList when specified.
Mistake from 6f165cfbe46ead77e3b4e99fe18ee1609188cf9c...
2012-12-25 01:07:05 -08: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
db6ef8ce64 Simplify reading/writing in one shot. 2012-12-25 01:07:04 -08:00
Unknown W. Brackets
f983c8af5c Protect against an unlikely buffer overflow. 2012-12-25 01:07:04 -08:00
Unknown W. Brackets
ca22e38752 Fix another potential png load failure.
Also, rename func for consistency.
2012-12-25 01:07:03 -08:00
Unknown W. Brackets
efefa80ab9 Fix a couple warnings on 32 bit in savedata. 2012-12-25 01:07:03 -08:00
Unknown W. Brackets
cb544261b5 Fix crash loading bad png file in savedata. 2012-12-25 01:07:02 -08:00
Unknown W. Brackets
8af48d6e54 Refactor some similar code together.
No functionality changes, just moving around.
2012-12-25 01:07:02 -08:00
Henrik Rydgård
d8da92befa Fix timing issue wiith JIT on non-Windows platforms 2012-12-25 09:02:02 +01:00
Henrik Rydgård
d56bc40db4 NativeApp: Load config before processing flags (duh) 2012-12-25 09:02:02 +01:00
Henrik Rydgård
875f3569ee Don't let DecryptPRX1 scramble the keys in-place (!), make a copy
instead. Could now make all the keys const, as they should be.
2012-12-25 09:02:02 +01:00
Henrik Rydgård
5180e0fb65 Merge pull request #252 from unknownbrackets/hle-break
HLE stepping / breakpoints
2012-12-24 23:39:01 -08:00
Unknown W. Brackets
b8fcdc37e6 When not ignoring bad mem access, break to debug. 2012-12-24 22:12:52 -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
raven02
a4dd204ce8 Fix I_CIRCLE right/bottom cutoff 2012-12-25 13:33:37 +08:00
Unknown W. Brackets
b8ae91237e Oops, missed some state in HLE to reset. 2012-12-24 21:04:28 -08:00
raven02
49e9a5738c Put back byte array to stack and increase buffer size 2012-12-25 09:06:27 +08:00
Henrik Rydgård
3b730eb96a Merge pull request #246 from unknownbrackets/emu-reset
Fix emu reset
2012-12-24 02:04:44 -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
3c08a87404 Properly cleanup the jit on reset. 2012-12-23 23:33:10 -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
Xele02
61d116b5f1 Copy right size of save request. 2012-12-24 01:22:28 +01:00
Xele02
951be86e62 Merge remote-tracking branch 'upstream/master'
Conflicts:
	pspautotests
2012-12-24 01:11:52 +01: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