1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00
Commit Graph

1915 Commits

Author SHA1 Message Date
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
Sergey Lipskiy
966b2d0f93 Fix compare of vertex Z and test Z in gSPBranchLessZ.
Fixed GT64 - Championship Edition: missing polygon #151
2016-09-28 23:24:17 +07:00
Sergey Lipskiy
25aa8889a8 Do not use 8bit CI frame buffer as texture for gSpBg commands.
Fixed Yoshi's Story black screen in some levels if frame buffer is enabled #1143

Problem:
The game draws background with BG command.
Background texture is 8bit CI.
For some reason the game set 8bit CI at the address of the
background texture, but renders nothing to it.
Plugin uses empty frame buffer texture instead of background texture.

Solution: Do not use 8bit CI frame buffer as BG textures.

Note: probably the game rendres something to the BG texture at some point
of the game. This can't be emulated in hardware anyway.
2016-09-28 22:29:45 +07:00
Sergey Lipskiy
2bdec6f412 Fixed triple play 2000 wrong gfx in menu regression #1139 2016-09-28 17:31:35 +07:00
Sergey Lipskiy
d5412d30e1 Add support for software depth render to OGLRender::drawDMATriangles 2016-09-27 21:51:12 +07:00
Sergey Lipskiy
39da91bb93 Move gDPFillRDRAM to FrameBufferList::fillRDRAM
Correct FrameBuffer::isValid()
Code cleanup.

Fixed Mickey Speedway USA is broken again. #1132
2016-09-27 21:43:28 +07:00
Sergey Lipskiy
f426d61881 Correct depth buffer attachment.
Fixed Link's portrait is missing in the pause screen #1134
2016-09-26 17:15:47 +07:00
Sergey Lipskiy
16406bb1b0 Fixed Majora's mask in-game pictures look incorrect with software depth buffer #1131 2016-09-23 12:05:48 +07:00
Sergey Lipskiy
8ea44cac8e Code cleanup: remove unused data fields from OGLRender::triangles 2016-09-23 11:39:21 +07:00
Sergey Lipskiy
d6dbfad902 Correct fix for #977 2016-09-23 10:57:44 +07:00
Sergey Lipskiy
3567dc6bf0 Add hack for WinBack to remove gray rectangle in HLE mode.
The hack removes weird texrect, which appears only in HLE mode.

Fixed The famous winback square bug #63
Fixed operation winback: sky doesn't move (regression) #578
2016-09-22 22:11:01 +07:00
Sergey Lipskiy
38ff9e97d5 Reset texture mode to normal in gSPSetSpriteTile.
Fixed Nushi Zuri 64 incorrect gfx #977
2016-09-22 20:50:51 +07:00
Sergey Lipskiy
3db8c102fb Move string arrays from convert.h to convert.cpp
Make UnswapCopyWrap and DWordInterleaveWrap not inline.
2016-09-22 16:17:37 +07:00
Sergey Lipskiy
aadd94ccc4 Implement thick line drawing.
OpenGL has limitation on line thickness. N64 can use really thick lines.

Fixed Flygin dragon: wrong gfx bands and then crash under mupenplus (but not emu related bug?) #171
2016-09-21 15:27:35 +07:00
Sergey Lipskiy
91f03c70bc Use dmaVertices when draw with drawScreenSpaceTriangle. 2016-09-21 15:24:15 +07:00
Sergey Lipskiy
77d0c9aada Code refactor: rename drawLLETriangle to drawScreenSpaceTriangle. 2016-09-20 16:21:54 +07:00
Sergey Lipskiy
6f3f21667e Call texrect drawer before drawing a line.
Fixed flickering/misssing gfx in jeremy mcgrath 2000 with render texrec in native res #1114
2016-09-19 15:33:59 +07:00
Sergey Lipskiy
b5163ca048 Drop cfb flag when buffer changed. 2016-09-19 15:32:24 +07:00