3362 Commits

Author SHA1 Message Date
Jean-Philip Desjardins
5b20998f18 Fix some SIF packet field values. 2016-12-20 18:55:15 -05:00
Jean-Philip Desjardins
3bd46252ec Fix SIFCMDHEADER layout. 2016-12-20 18:55:15 -05:00
Jean-Philip Desjardins
a1812a59d8 Cleanup. 2016-12-20 18:55:14 -05:00
Jean-Philip Desjardins
87bc0dfc1d Cleanup. 2016-12-20 18:55:14 -05:00
Jean-Philip Desjardins
690cb17241 Cleanup. 2016-12-20 18:55:14 -05:00
Jean-Philip Desjardins
813d0956df Cleanup. 2016-12-20 18:55:14 -05:00
Jean-Philip Desjardins
79f5fe7ee8 Reset module data after allocating. 2016-12-20 18:55:14 -05:00
Jean-Philip Desjardins
1fbf98fec4 Move "executing command" flag in module data. 2016-12-20 18:55:14 -05:00
Jean-Philip Desjardins
996f705f92 Move some of SIFCMD module's state in RAM. 2016-12-20 18:55:14 -05:00
Jean-Philip Desjardins
90f7cc3ada Remove useless patch. 2016-12-20 18:55:14 -05:00
Jean-Philip Desjardins
ea7d6801d4 Fix IOMAN's close return value. 2016-12-20 18:54:44 -05:00
Jean-Philip Desjardins
af2eed31b9 Add some auto detected functions. 2016-12-11 16:43:38 -05:00
Jean-Philip Desjardins
b55b63b499 Add description for SetSyscall. 2016-12-11 16:32:54 -05:00
Jean-Philip Desjardins
3c9eb1b30a Update Android version code. 2016-11-27 17:09:11 -05:00
Jean-Philip Desjardins
77f1c67201 Remove misplaced Reschedule.
Broke Cdvdman callbacks.
2016-11-26 20:29:51 -05:00
Jean-Philip Desjardins
d5ad9d0dcd Fix thread context structure layout to match the real thing. 2016-11-26 20:29:51 -05:00
Jean-Philip Desjardins
18c89807eb Reset thread state whenever it goes in dormant mode. 2016-11-26 20:29:51 -05:00
Jean-Philip Desjardins
bd031cd339 Cleanup. 2016-11-26 20:29:51 -05:00
Jean-Philip Desjardins
83c5381854 Add support for PSMCT16S CLUTs. 2016-11-26 20:29:51 -05:00
Jean-Philip Desjardins
43ce1be72f Adjust initial thread SP/FP value. 2016-11-26 20:29:51 -05:00
Jean-Philip Desjardins
10c29ecaa9 Add check to make sure we don't go below the thread's stack base. 2016-11-26 20:29:51 -05:00
Jean-Philip Desjardins
9e595a1867 Build using Android SDK 24. 2016-11-21 22:47:32 -05:00
Jean-Philip Desjardins
22b7da30cf Add support for modulate and decal texture functions. 2016-11-19 21:29:15 -05:00
Jean-Philip Desjardins
01a12a5fce Fix colors when saving pixel buffer. 2016-11-19 21:29:15 -05:00
Jean-Philip Desjardins
c480e72ed4 Add CLUT indexed texture view. 2016-11-19 21:29:15 -05:00
Jean-Philip Desjardins
41dc6b1a70 Remove commented code. 2016-11-19 21:29:15 -05:00
Jean-Philip Desjardins
0b98da294a Add ability to display multiple pixel buffers. 2016-11-19 21:29:15 -05:00
Jean-Philip Desjardins
60aa0e5935 Cleanup. 2016-11-19 21:29:15 -05:00
Jean-Philip Desjardins
a60631de2f Cleanup. 2016-11-19 21:29:15 -05:00
Jean-Philip Desjardins
53eabaadc5 Adjust alpha used for blending. 2016-11-19 21:29:15 -05:00
Jean-Philip Desjardins
3b0b7814bd Brighten 4-bpp indexed textures. 2016-11-19 21:29:15 -05:00
Jean-Philip Desjardins
08bbee61c5 Improve texture view stuff.
Texture in raw format is now returned by GS handler.
2016-11-19 21:29:15 -05:00
Jean-Philip Desjardins
7db9ec5b66 Add missing blending mode. 2016-11-19 21:29:15 -05:00
Jean-Philip Desjardins
e895642ba2 Simplify some blending modes. 2016-11-19 21:29:15 -05:00
Jean-Philip Desjardins
328dcb3df9 Remove MulBy2Clamp usage. 2016-11-19 21:29:15 -05:00
Jean-Philip Desjardins
b811cf4d3f Add basic support for reading back pixels from GS on D3D9. 2016-11-19 21:29:15 -05:00
Jean-Philip Desjardins
e7b4d79b68 Add missing blending mode. 2016-11-19 21:29:15 -05:00
Jean-Philip Desjardins
686bf1bd7b Clear texture cache when reseting. 2016-11-19 21:29:15 -05:00
Jean-Philip Desjardins
968bbaf6e4 Make sure sprites are not Gouraud shaded. 2016-11-19 21:29:15 -05:00
Jean-Philip Desjardins
7c08bb30ae Add 'LUI K0, 0x0' instruction at address 0.
Some Xenogears PSF files seem to use value from that address.
2016-11-19 17:34:39 -05:00
Jean-Philip Desjardins
8936e39f5a Update gitignore. 2016-11-19 17:34:39 -05:00
Jean-Philip Desjardins
849f068054 Load and store CPU context from a direct address instead of K0. 2016-11-19 17:34:39 -05:00
Jean-Philip Desjardins
f9b02c3cb9 Cleanup. 2016-11-19 17:34:39 -05:00
Jean-Philip Desjardins
1d53f3cf0b SIF commands are executed serially. 2016-11-19 17:28:28 -05:00
Jean-Philip Desjardins
87e7fe8d95 Force reschedule when triggering callback. 2016-11-19 17:28:09 -05:00
Jean-Philip Desjardins
e3373c68b9 ChangeThreadPriority must update ready thread list when thread is running. 2016-11-19 17:28:09 -05:00
Jean-Philip Desjardins
56654264b9 Refactored ChangeThreadPriority. 2016-11-19 17:28:09 -05:00
Jean-Philip Desjardins
5daa79ce6d Reset speed hack when it doesn't apply anymore. 2016-11-19 17:28:09 -05:00
Jean-Philip Desjardins
f167cdc60e Document speed hack. 2016-11-19 17:28:09 -05:00
Jean-Philip Desjardins
fd2a251540 Only force to check pending interrupts when they can be serviced. 2016-11-19 17:28:09 -05:00