Commit graph

11796 commits

Author SHA1 Message Date
KentuckyCompass
f5998d524a Add HOST_IS_CASE_SENSITIVE define 2012-12-27 03:25:21 -08:00
Unknown W. Brackets
709df11c9e Stub out mode 12 so games think it's working. 2012-12-26 17:33:56 -08: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
Henrik Rydgård
ddd3e4384f audio: need to clear the rest of the buffer at end of sample. 2012-12-26 19:12:23 +01:00
Henrik Rydgård
b82852d8b3 Merge pull request #256 from unknownbrackets/sysmem-fix
Fix GetMemoryBlockPtr() to take both arguments
2012-12-26 06:50:48 -08:00
Unknown W. Brackets
ddfa56e0f2 Fix GetMemoryBlockPtr() to take both arguments. 2012-12-26 04:02:33 -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
Unknown W. Brackets
3464fd6b00 Fix crash with unitialized var in mpeg code. 2012-12-24 11:56:51 -08:00
Unknown W. Brackets
d1bae325f9 Correct mpeg lookup in sceMpegRingbufferPut(). 2012-12-24 11:46:41 -08:00
Unknown W. Brackets
7d42ca98de Fix a crash in sceMpegQueryStreamSize(). 2012-12-24 11:46:36 -08:00
Unknown W. Brackets
664db5911f Log the created mpeg handle for easier debugging. 2012-12-24 11:46:32 -08:00
Unknown W. Brackets
5e05768f55 Cleanup init/shutdown for scePsmf.
Also fix some indentation.
2012-12-24 10:49:53 -08:00
Unknown W. Brackets
4eaac857f7 Use a map of mpeg handles, cleanup init/shutdown. 2012-12-24 10:47:15 -08:00