Commit Graph

222 Commits

Author SHA1 Message Date
Jean-Philip Desjardins
014f1c4ee2
Merge pull request #740 from Zer0xFF/res_factor
Resolution Multipliers
2019-04-09 13:40:15 -04:00
Jean-Philip Desjardins
e232abd197 Remove useless definition. 2019-04-08 20:28:09 -04:00
Jean-Philip Desjardins
7b9fc20694 Mark some variables as maybe unused. 2019-04-04 13:22:08 -04:00
Jean-Philip Desjardins
acde5d1417 Fix warning. 2019-04-04 13:15:07 -04:00
Mahmood - Zer0xFF
6d9a5bb42e allow choosing resolution factor 2019-03-29 10:50:43 +00:00
Jean-Philip Desjardins
38494aa511 Cleanup. 2019-02-20 19:28:52 -05:00
Jean-Philip Desjardins
fe00f94202 Make precision of fract operation higher to prevent issues.
Seems to fix DMC3 rendering on iOS (PowerVR based devices).
2019-02-20 19:28:52 -05:00
Jean-Philip Desjardins
3ba5f0e3e9 Attempt at fixing alpha testing issue. 2019-02-20 19:28:51 -05:00
Jean-Philip Desjardins
42458f6e68 Add missing case. 2019-02-12 18:19:09 -05:00
Jean-Philip Desjardins
e5ae547e66 Move saved state helper classes to a subfolder. 2019-02-06 19:04:51 -05:00
Jean-Philip Desjardins
0b4b0a0aad Add missing blending formulae.
Needed for SH3. Not accurate, but better than nothing.
2019-02-04 22:12:26 -05:00
Jean-Philip Desjardins
285854eb01 Set GS revision to something. 2019-01-24 12:52:34 -05:00
Jean-Philip Desjardins
adad3d37c9 Code style fixes. 2019-01-07 13:13:25 -05:00
Jean-Philip Desjardins
0ef4e81547 TEST: Use a slightly different color combine function that is a closer match to reality. 2019-01-07 13:13:24 -05:00
Jean-Philip Desjardins
a559f98a8b Improve heuristic used to decide which read circuit to use. 2019-01-07 13:13:24 -05:00
Jean-Philip Desjardins
ce09f825a2 Allow signaled events to trigger interrupts after unmasking. 2018-10-29 13:16:11 -04:00
Jean-Philip Desjardins
d849cfcb09 Log writes to IMR. 2018-10-29 13:16:11 -04:00
Jean-Philip Desjardins
f70a5b12ac Make sure GS interrupts only occur when events occur. 2018-10-29 13:16:10 -04:00
Jean-Philip Desjardins
5b9b9ed5e8 Fix IMR reset value. 2018-10-29 13:16:10 -04:00
Jean-Philip Desjardins
15d7909c9c Code style fix. 2018-09-28 17:22:08 -04:00
Jean-Philip Desjardins
4659aff384 Restrict/clarify when framebuffer's alpha can be used as indexed texture. 2018-09-28 17:17:09 -04:00
Jean-Philip Desjardins
61f4ca3d73 Allow reading from alpha as indexed texture. 2018-09-28 17:17:09 -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
e08e4c8f6d Fix framebuffer smearing occuring in some games.
(ie.: Dragon Ball Z: Infinite World)
2018-08-27 12:32:43 -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
5ff57edcb4 Some more guards. 2018-04-30 12:00:43 -04: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
Mahmood(Thunder07)
3e8cac12e7 Add GSH_OpenGL CMakeLists.txt 2018-03-02 12:01:58 +00:00
Jean-Philip Desjardins
344c876818 Use enum instead of direct value. 2018-01-09 12:34:20 -05:00
Jean-Philip Desjardins
6cf44a39a7 Add missing blending modes. 2017-09-04 18:40:46 -04:00
Jean-Philip Desjardins
e1643e287b Add support for blending mode. 2017-09-04 18:39:39 -04: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
Jean-Philip Desjardins
049e6ec825 Cleanup. 2017-08-09 23:05:15 -04:00
Jean-Philip Desjardins
0c5d9eac8a Use glBlendEquationSeparate instead of glBlendEquation.
Alpha must not be affected by blending equation.
2017-08-09 23:05:15 -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
0712acdb3d Fix size of U and V fields. 2017-05-22 00:17:15 -04:00
Jean-Philip Desjardins
203dea5a33 Use proper color in flat mode triangle rendering. 2017-05-07 22:02:33 -04:00
Jean-Philip Desjardins
f4a3ce7924 Fix indentation. 2017-05-07 22:02:33 -04:00
Jean-Philip Desjardins
786bf0e98d Use MakeLinearCLUT in OpenGL. 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
8f23774261 Cleanup. 2017-05-07 22:02:33 -04:00