Francisco Zurita
478344ab5f
Fix some issues with multisampling which were causing GL errors
2016-11-04 20:05:23 +07:00
Sergey Lipskiy
fedb3a08a1
Correct N64 color sign-extend:
...
do not sign-extend alpha.
Fixed torches in Paper Mario.
2016-11-04 20:03:34 +07:00
Sergey Lipskiy
ae61e926c9
Change copyDepthToRDRAM default to SoftwareRender.
2016-11-04 14:06:46 +07:00
Sergey Lipskiy
2656436217
Simulate N64 color sign-extend.
2016-11-03 21:24:45 +07:00
Francisco Zurita
472c31986c
Fix GL Errors in Pokemon Stadium 2 minigames.
...
Graphics became corrupt when the GL errors happened. With this change,
graphics no longer become corrupt.
2016-11-03 18:25:18 +07:00
Logan McNaughton
617517737d
Specify a specific CRC function for microcodes
2016-11-03 17:37:40 +07:00
Logan McNaughton
2160f41451
Minor GLSL optimization
...
There is no point setting alphaValue and then potentially changing it, might as well wrap the alternative in an "else" statement
2016-11-03 17:19:41 +07:00
Sergey Lipskiy
1d87a92c72
Do not use frame buffer as texture if the buffer is just allocated.
...
Fixed tripleplay2000: black background in game #346
Problem: The game allocates auxiliary buffer with the same width
as the main one. Plugin detects it as main buffer and set its width
and height as of main buffer. Actual buffer height is half of main
buffer height, but it became known only when game switches to the
main buffer. Wrong buffer height leads to wrong calculation of
buffer address space. Game uses textures with addresses behind
the actual buffer’s address space but within calculated one.
Plugin tries to use buffer texture instead and, as the result,
everything is black.
Solution: The situation is bad. Plugin cannot detect that
allocated buffer is an aux one. I decided to forbid buffer usage
as texture if buffer is new. New buffer is blank, so reading from
it is strange. N64 games do lots of strange stuff, so this solution
is potentially dangerous.
2016-10-29 23:46:39 +07:00
Francisco Zurita
df366f0f6b
Fix verious GL errors in GLES 3.1 mode and Mario tennis.
2016-10-29 19:50:44 +07:00
Sergey Lipskiy
428f3ad637
Add glTexStorage2D to GLFunctions
2016-10-28 21:43:31 +07:00
Sergey Lipskiy
6e460499bf
Correct MSVS project files.
2016-10-28 21:43:06 +07:00
Sergey Lipskiy
2b29b6c09a
Fix linear texture coordinate transformation.
...
Fixed Zelda OOT rotating "N" is miscolored (HLE) #661
2016-10-27 13:24:19 +07:00
Sergey Lipskiy
57dbfb5145
Revert changes in FrameBuffer::getTexture made by commit 6942083
...
These changes are incorrect and cause regression in Paper Mario fortune teller.
2016-10-25 12:27:49 +07:00
Francisco Zurita
e52918d07b
Fix crash with software depth buffer when loading save states.
2016-10-25 11:17:31 +07:00
Sergey Lipskiy
67fd477c33
Implement rough approximation of N64 color clamping.
...
Fixed Minor Issue - Mischief Makers: Confettis in 3-10 are all black #1181
Fixed Mischief Makers - Mathfun questions are black and unreadable #1183
2016-10-24 17:56:07 +07:00
Francisco Zurita
e5f89406b7
Zelda subscreen hack always enables copy color to RDRAM
2016-10-19 00:05:30 -04:00
Sergey Lipskiy
48c8c25226
Remove CRC_OPT since it does not provide good enough checksum.
2016-10-18 21:00:12 +07:00
Francisco Zurita
afb7c8ccd1
Revert color format change.
2016-10-17 20:14:34 -04:00
Sergey Lipskiy
327ab57353
Correct isAdjustScreen
2016-10-16 20:30:37 +07:00
Logan McNaughton
0f5738e609
Use GL_DEPTH_COMPONENT16 for renderbuffer
2016-10-15 21:44:52 -06:00
Sergey Lipskiy
f17c7160d5
Correct condition when viewport and scrissor need to be adjusted in widescreen mode.
...
Fixed widescreen in SSB, #1121
2016-10-15 14:12:29 +07:00
Sergey Lipskiy
354327b3f9
Correct checksum calculation for CI textures.
...
Fixed Mischief Makers incorrect textures #1175
2016-10-15 12:52:34 +07:00
Sergey Lipskiy
bce335fc4f
Fix Z for rects.
...
Fixed CyberTiger: flicker in game (regression) #1170
The game sometimes set invalid viewport with gSP.viewport.nearz > 1,
so the rect is clipped.
2016-10-14 18:28:05 +07:00
Francisco Zurita
fd05055950
Fixes slow PBOs in Paper Mario.
2016-10-13 14:35:00 +07:00
Sergey Lipskiy
92b39b6b72
Correct typo in CRC.h
2016-10-13 14:34:33 +07:00
Francisco Zurita
f614c26e95
Fixes GLES 3.1 in Adreno devices
...
See https://github.com/gonetz/GLideN64/issues/895
2016-10-13 14:24:18 +07:00
orbea
e8802cd744
GLES3 fix for nvc0
2016-10-12 10:01:28 -07:00
Sergey Lipskiy
701a64feb1
Enable CRC_OPT in Android.
2016-10-12 16:50:31 +07:00
Sergey Lipskiy
9f8e07e571
Refactor CRC code: move CRC32 algorithm into separate file to avoid multiple copy of the same code
2016-10-11 17:21:46 +07:00
Logan McNaughton
0f9107ad2e
Use strict CRC calculation for CRC_OPT and GBI
2016-10-11 17:19:01 +07:00
Sergey Lipskiy
1744284634
TextDrawer::renderText fix compilation for GLES 2
2016-10-11 16:31:51 +07:00
Sergey Lipskiy
793d1c4911
Don't do performance counting if it's not enabled
2016-10-10 12:34:36 +07:00
Logan McNaughton
b03e547b8c
Add getTextSize to TextDrawerStub
2016-10-09 20:33:22 +07:00
gizmo98
b3fa7a314c
Modify german translation
...
Add crop, osd and performance counter translation.
2016-10-08 21:28:53 +02:00
Sergey Lipskiy
a5a432c4fd
German translation modified by gizmo98 <atz.SE@gmx.de>
2016-10-08 15:15:52 +07:00
Sergey Lipskiy
36e62dd0f3
Update translation files.
2016-10-08 15:02:34 +07:00
Sergey Lipskiy
ff7c0f88ea
Add support for performance counters in GUI
2016-10-08 14:53:34 +07:00
Sergey Lipskiy
85a5ae8ea1
Implement performance counter.
...
Implement drawing performance info on screen.
2016-10-08 14:53:33 +07:00
Sergey Lipskiy
35cca6dc4c
Add support for crop in GUI
2016-10-08 14:53:22 +07:00
Sergey Lipskiy
aab6726117
Implement crop image feature.
2016-10-08 14:53:21 +07:00
Sergey Lipskiy
abcbe96095
Fix gSPBillboardVertex4_default
...
Fixed alloons invisible in DKR with VEC4_OPT #1159
2016-10-08 14:29:50 +07:00
Sergey Lipskiy
7ab249dd64
Correct load of F3DLP.Rej and F3DLX.Rej ucodes.
...
Fixed Mortal Kombat 4 Missing 2D elements #1155
2016-10-05 16:53:02 +07:00
Sergey Lipskiy
ce5abcb21b
Correct FrameBuffer::isValid - do not update m_validityChecked when isValid called from VI_UpdateScreen
...
Fixed Broken Pokemon stadium 2 in-game portraits #1149
2016-10-05 15:39:41 +07:00
Sergey Lipskiy
fc8c65f81b
Code cleanup: remove unused CachedTexture::lastDList
2016-10-05 15:28:36 +07:00
Sergey Lipskiy
ff55e5bea9
Apply scissor to all input coordinates in FrameBufferList::fillRDRAM.
...
Fixed Super Smash Bros Intro not playing with Framebuffer Emulation enabled #1154
2016-10-04 21:22:20 +07:00
Sergey Lipskiy
6f4f24a812
Correct read alpha from color buffer in RDRAM
...
Undo changes from 06da08
Fixed NBA Courtside 2 - Featuring Kobe Bryant wrong intro #1138
2016-10-01 21:30:33 +07:00
Sergey Lipskiy
6694655184
Set maximal height of buffer copied to RDRAM to 480
...
Pokemon Stadium 2 (PAL) - Freeze after nintendo logo with OpenGL #1150
2016-10-01 18:34:42 +07:00
Sergey Lipskiy
0a52dae80c
Set texture level in LLE mode.
...
Fixed map-mapping in LLE mode. #1135
2016-09-29 20:53:05 +07:00
Sergey Lipskiy
8e0ba0f764
Correct gDP.changed flags in GLRender::copyTexturedRect for GLES2
2016-09-29 19:58:59 +07:00
Sergey Lipskiy
6942083612
Disable FrameBuffer::_getSubTexture for GLES2 because GLES2 implementation of OGLRender::copyTexturedRect can't be safely used here.
2016-09-29 19:58:56 +07:00