Commit graph

106 commits

Author SHA1 Message Date
Jean-Philip Desjardins
5b9b9ed5e8 Fix IMR reset value. 2018-10-29 13:16:10 -04:00
Jean-Philip Desjardins
645c9d982e Add support for CSM2 in 8-bit CLUT. 2018-09-02 13:08:29 -04:00
Jean-Philip Desjardins
42e053c2ef No need to notify INTC if it's not bound. 2018-08-30 07:45:31 -04:00
Jean-Philip Desjardins
7a3a52b83b Change the way GS interrupts are handled.
GS will now notify the INTC there's an interrupt when some event occurs instead of having the INTC poll the GS.
2018-08-08 12:28:06 -04:00
Jean-Philip Desjardins
a1fbc9222e Send a call when we're ready to teardown GS handler.
Instead of polling for the threadDone variable.
2018-06-06 19:00:56 -04:00
Jean-Philip Desjardins
e1c4026cdc Handle TEX0.CLD == 3 case. 2018-05-31 12:41:10 -04:00
Jean-Philip Desjardins
0f2fcc31bb Use Warn function. 2018-05-25 12:24:51 -04:00
Clang-Format
acf75535ec Clang format 2018-04-30 21:01:23 +01:00
Jean-Philip Desjardins
f9d8d31af5 Take offset into account when loading PSM8 CLUT. 2018-04-07 09:59:15 -04:00
Jean-Philip Desjardins
7dc7e8a725 Be more flexible with compatible framebuffers. 2018-04-03 09:18:41 -04:00
Jean-Philip Desjardins
75a8388bac Use IsCompatibleFramebufferPSM in D3D9. 2018-04-03 09:18:41 -04:00
Jean-Philip Desjardins
c9d618ec94 Use enum instead of hardcoded value. 2018-03-20 10:57:58 -04:00
Jean-Philip Desjardins
344c876818 Use enum instead of direct value. 2018-01-09 12:34:20 -05:00
Jean-Philip Desjardins
11fe116f90 Print COLCLAMP's contents. 2017-09-04 18:39:39 -04:00
Jean-Philip Desjardins
385e7c3d12 Print HWREG's contents. 2017-09-04 18:39:39 -04:00
Mahmood(Thunder07)
97c229ec98 Cleanup
Silence:"warning: '0' flag ignored with precision and ‘%X’ gnu_printf format"
2017-05-29 06:01:32 +01:00
Jean-Philip Desjardins
f4a3ce7924 Fix indentation. 2017-05-07 22:02:33 -04:00
Jean-Philip Desjardins
3d9add3caf Handle missing cases in MakeLinearClut. 2017-05-07 22:02:33 -04:00
Jean-Philip Desjardins
2fa4cd87df Remove redundant std::move. 2017-05-07 22:02:33 -04:00
Mahmood(Thunder07)
cee812eb02 Add screencapture method for OpenGL 2017-04-04 21:42:28 +01:00
Jean-Philip Desjardins
e1ae6d4843 Made few improvements to CMailBox to prevent copies. 2017-03-26 18:35:50 -04:00
Jean-Philip Desjardins
cb7b65d338 Use move semantics to remove copy when sending GS packet. 2017-02-24 00:38:42 -05:00
Jean-Philip Desjardins
5daf12d81a Mask CSA value to prevent out of bounds access.
Was occuring in Kingdom Hearts.
2017-01-06 19:18:28 -05:00
Jean-Philip Desjardins
83c5381854 Add support for PSMCT16S CLUTs. 2016-11-26 20:29:51 -05:00
Jean-Philip Desjardins
41dc6b1a70 Remove commented code. 2016-11-19 21:29:15 -05:00
Jean-Philip Desjardins
81ce19647a Allocate some more memory to prevent transfer handler from crashing. 2016-10-21 23:09:48 -04:00
Jean-Philip Desjardins
ef0b997e24 Add check to catch cases where SIGNAL would be set twice. 2016-10-11 23:12:48 -04:00
Jean-Philip Desjardins
edba00c8de Prevent heap corruption when CSA is bigger than what we expect. 2016-09-24 16:22:53 -04:00
Jean-Philip Desjardins
b13a7b66af Add PSMZ24 in switch. 2016-09-24 16:22:53 -04:00
Jean-Philip Desjardins
43581b5352 Add basic support for reading CLUT in shader. 2016-09-17 23:29:00 -04:00
Jean-Philip Desjardins
54ffc643f4 Disassemble FOG register. 2016-09-06 18:12:40 -04:00
Jean-Philip Desjardins
3a8a93048f Disassemble MIPTBP registers. 2016-08-22 05:00:44 -04:00
Jean-Philip Desjardins
ec518f965c Cleanup. 2016-08-22 05:00:44 -04:00
Jean-Philip Desjardins
cce784fb87 Cleanup. 2016-08-11 21:49:34 -04:00
Jean-Philip Desjardins
a49c3ce233 Always report that GS FIFO is empty. 2016-06-17 23:10:46 -04:00
Jean-Philip Desjardins
212c50c3fb Made read transfer handlers more generic. 2016-05-28 21:09:15 -04:00
Jean-Philip Desjardins
f18c0a9d40 Use proper PSM to compute transfer size. 2016-05-28 21:09:15 -04:00
Jean-Philip Desjardins
29194b6586 Clean up write transfer handlers. 2016-05-28 21:09:14 -04:00
Jean-Philip Desjardins
140e6c139e Record and display image transfers in frame dumps. 2016-05-13 21:39:09 -04:00
Jean-Philip Desjardins
c8fe28d310 Cleanup. 2016-04-22 00:50:08 -04:00
Jean-Philip Desjardins
0bc706a56c Update SIGLBLID when writing to SIGNAL register. 2016-02-20 15:50:21 -05:00
Jean-Philip Desjardins
0d162e76df Update SIGLBLID when writing to LABEL register. 2016-02-20 15:50:21 -05:00
Jean-Philip Desjardins
6e46c1ba06 Added structure for LABEL register. 2016-02-20 15:50:20 -05:00
Jean-Philip Desjardins
5f9511573d Added structure for SIGNAL register. 2016-02-20 15:50:20 -05:00
Jean-Philip Desjardins
9ab07c5501 Added SIGLBLID register. 2016-02-20 15:50:19 -05:00
Jean-Philip Desjardins
5d2c63eadb Generalized the way preferences are reloaded. 2016-01-25 22:59:44 -05:00
Jean-Philip Desjardins
d39575eacf Added static RegisterPreferences function. 2016-01-19 22:37:23 -05:00
Jean-Philip Desjardins
691154cc12 Changed transfer handling functions.
Renamed ProcessImageTransfer to ProcessHostToLocalTransfer.
Added ProcessLocalToHostTransfer function.
2015-12-29 17:44:29 -05:00
Jean-Philip Desjardins
260a622a18 Added missing GS image transfer handler for PSMCT16S. 2015-12-05 19:24:44 -05:00
Jean-Philip Desjardins
bb6840c6a8 Added basic support for transfers from GS to EE memory. 2015-11-17 22:09:46 -05:00