Commit Graph

1041 Commits

Author SHA1 Message Date
raven02
91c188c4d0 Border cosmetic fix in save/load menu 2012-12-28 11:22:12 +08:00
Henrik Rydgård
b4904121f9 Merge pull request #255 from unknownbrackets/master
Fix a crash when switching between jit and interpreter
2012-12-26 03:51:55 -08:00
Unknown W. Brackets
df04bbe4dd Fix a crash when switching between jit/interp. 2012-12-26 03:30:08 -08:00
Henrik Rydgård
90ed7a0d01 Merge pull request #254 from unknownbrackets/io-fixes
Async/callback sceIo fixes (partial)
2012-12-26 02:37:56 -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
c1041cfff2 Apparently RECTANGLES shouldn't flip that way. 2012-12-26 09:23:15 +01: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
1b35964445 Add support for rotated UVs of flipped RECTANGLES. Avoid using indexed
draws when unnecessary.
2012-12-26 08:54:33 +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
9fe6dcb863 Non-windows button mapping tweaks 2012-12-26 08:51:03 +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
Henrik Rydgård
7c64f9c61e Tiny optimization - only init the vertex decoder on vertex type change 2012-12-25 22:39:37 +01:00
Henrik Rydgård
9dce8b09a4 Move vertex arrays from globals to heap. 2012-12-25 22:39:37 +01:00
Henrik Rydgård
d21647bbb9 Split code from GLES_GPU to TransformDrawEngine, cleanup 2012-12-25 22:39:37 +01:00
Henrik Rydgård
b5b13256b6 CMake build: enable optimization 2012-12-25 22:39:36 +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
Henrik Rydgård
06bad4dd38 Merge pull request #250 from raven02/prx-fix
Put back byte array to stack and increase buffer size (tmp3)
2012-12-24 22:49:51 -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
1d7a42f0b8 Add a button on Windows to enable HLE stepping. 2012-12-24 21:50:02 -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
c9288ca0ac Merge pull request #248 from raven02/flush-fix
Take out flush() and add GE_CMD_TEXBUFWIDTH0 to flush CMD list
2012-12-24 09:21:50 -08:00