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

2551 Commits

Author SHA1 Message Date
SigmaVirus
8935510a26 Updated link to the WIP Builds 3 thread instead...
of the old WIP Builds 2 thread.
2017-10-16 10:04:54 +07:00
Sergey Lipskiy
977fddf3ea Correct condition for Zelda monochrome buffer.
Fixed Pokemon Puzzle League: missing graphics in game (regression) #1588
2017-10-11 15:06:32 +07:00
gizmo98
7d22828193 gSPNEON.cpp: merge gSPLightVertex_NEON and gSPLightVertex4_NEON 2017-10-10 14:04:37 +07:00
gizmo98
39d4b223c8 arm neon: add gSPInverseTransformVector function
Fix declaration of gSPInverseTransformVector as well. Replace vtx[4]
with vec[3].
2017-10-10 14:04:36 +07:00
Francisco Zurita
762def7dae Fix issues reported by Valgrind 2017-10-09 23:51:16 -04:00
Francisco Zurita
e5cc69556d Add more files to .gitignore 2017-10-09 22:47:12 -04:00
Conn O'Griofa
d8ac5a761c Raspberry Pi: fix vendor library names & add override
* Use new libbrcmEGL/libbrcmGLESv2 names
* Allow RPI autodetection override via -DMESA=On (for VC4 driver)
2017-10-07 08:26:31 +01:00
Sergey Lipskiy
c75985b9d8 Code refactor: rewrite HLE vertices loading.
Enable __VEC4_OPT for Windows release builds.
2017-10-06 17:03:11 +07:00
Sergey Lipskiy
d197db5b90 Rewrite Zelda MM Point Light 2017-10-06 17:03:11 +07:00
Logan McNaughton
daa567ec71 Add support for SP_STATUS_REG and RDRAM_SIZE in mupen64plus API 2017-10-06 14:14:05 +07:00
gizmo98
db18139ca5 Refine fullscreen toggle logic
-Toggle m_bFullscreen if _changeWindow is executed.
-Don’t allow _resizeWindow if m_bFullscreen is true.
-_resizeWindow returns false if fullscreen is enabled.
2017-10-06 14:07:06 +07:00
Sergey Lipskiy
b6c6ac0ae5 Correct SoftwareRender renderTriangles
Fixed Perfect Dark SW Depth Buffer Problem. #1580
2017-10-05 20:55:43 +07:00
Sergey Lipskiy
48a4c2c623 Fix "use unitialized variable" run-time error. 2017-10-04 16:29:09 +07:00
S2S
89406223f5 Change texture coordinates.
Subtracting 1 might not be accurate,
but it is done anyway in the rest of the code regarding sprites.
Just for the record, implementing correct texture coordinate handling
for sprites might need reverting this.
2017-10-04 16:15:46 +07:00
S2S
feb0e53034 Fix sprite sizes
Fixes https://github.com/gonetz/GLideN64/issues/936
2017-10-04 16:15:46 +07:00
Logan McNaughton
54a1c4a65c Use rand_s for MINGW 2017-10-04 16:11:10 +07:00
Francisco Zurita
0c4a86b8c6 Remove majora hack when interlaced mode changes.
The hack is currently breaking the bomber's notebook.
2017-10-04 12:48:26 +07:00
Sergey Lipskiy
deaf61299f Decrease level of mip-map texture if texture with given size and level can't be created by OpenGL.
Fixed shadows of empire: black triangles (regression!) #1612
2017-10-02 16:58:55 +07:00
Sergey Lipskiy
e4f29a1eb8 Correct post build step: create target dir if it does not exists. 2017-10-01 19:19:13 +07:00
Sergey Lipskiy
7810a729aa Correct path in port build step. 2017-10-01 19:05:21 +07:00
Sergey Lipskiy
e6ff470fe6 Add freetype headers to project. 2017-10-01 18:37:11 +07:00
Sergey Lipskiy
ce319b26e7 Update pnglib and zlib headers. 2017-10-01 18:30:20 +07:00
Sergey Lipskiy
b20090c06c Add getRevision.bat
Add pre-build step in Visual Studio projects to generate Revision.h
2017-10-01 17:52:27 +07:00
clobber
a3807827c0 Simplified and complete workaround for #1601
This properly worksaround the bug with Intel drivers on the Mac, which initially broke in parts of commits d4dbe7c094 and 231463e368
2017-10-01 14:05:25 +07:00
Sergey Lipskiy
221484bad2 Switch VisialStudio 2013 projects to new versions of libs and QT. 2017-10-01 14:05:20 +07:00
Sergey Lipskiy
57da967e7c Switch to png screen shot format for zilmar-spec builds. 2017-10-01 11:37:49 +07:00
Sergey Lipskiy
1479354d90 Add VisualStudio2015 project files.
Note: two environment variables must be set:
* N64PluginsDir points to Plugin folder for zilmar-spec emulators
* Mupen64PluginsDir points to folder with plugins for mupen64plus

Post build step will copy results of building to these folders.
2017-09-30 19:06:19 +07:00
Sergey Lipskiy
2e71226b71 Update VisualStudio project files.
Note: two environment variables must be set:
* N64PluginsDir points to Plugin folder for zilmar-spec emulators
* Mupen64PluginsDir points to folder with plugins for mupen64plus

Post build step will copy results of building to these folders.
2017-09-30 19:00:11 +07:00
Sergey Lipskiy
e8b03cd599 Make workaround for #1601 Intel-specific.
Fixed Blending changes broke PowerVR devices #1608
2017-09-30 18:01:26 +07:00
Sergey Lipskiy
70c540b073 Rewrite fix for #1539 : keep in tile descriptor start address of frame buffer, not pointer on it.
Should be more safe.
2017-09-29 22:25:56 +07:00
Sergey Lipskiy
203c53307d Reset gDPTile::frameBuffer if it points to removed buffer.
Fixed Paper Mario: Red Station Crashing #1539
2017-09-29 17:20:07 +07:00
clobber
3c8689d848 ShaderBlender: cast to ivec4 where needed. Fixes #1601
This works around a bug with Intel GPU's on macOS where colors can appear wrong.
2017-09-29 14:58:40 +07:00
Sergey Lipskiy
5455604f64 Fix QT error: invalid initialization of non-const reference of type ‘QString&’ from an rvalue of type ‘QString’ 2017-09-28 13:36:46 +07:00
Sergey Lipskiy
2724d83323 Add L3D ucode for Blast Corps into list of specialMicrocodes,
since it can't be correctly detected by ucode string.

Fixed Blast Corps Stage select lines are wrong #1595
2017-09-27 18:53:59 +07:00
Sergey Lipskiy
d404dbfceb Correct UBlendMode2Cycle::update()
Fixed World Driver Championship shadows are.....grey! #1596
2017-09-27 18:21:20 +07:00
Sergey Lipskiy
ee3f4a6962 Partially revert commit 81cc0854 Fix blending when CLR_ON_CVG flag is on.
It will not work without pixel covarage calculation.

Fixed Mario Tennis (USA) - missing character selection icons (regression) #1599
Fixed Android/potential PC regression too: Conker broken FB render/lighting chunks. #1597
2017-09-27 16:19:28 +07:00
Sergey Lipskiy
1ab3836443 Enable force correctTexrectCoords for Tetrisphere in custom ini.
Fixed #1598 Tetrisphere lines between textures
2017-09-27 10:35:26 +07:00
Logan
c925b8dd54 Optimize 3point shader 2017-09-26 15:20:46 -06:00
Sergey Lipskiy
a2eefed0a3 Add hack for rect color alpha.
Details in commit d506d6134

Fixed Foresaken 64: wrong intro (regression) #1585
2017-09-26 22:58:05 +07:00
Sergey Lipskiy
57da925a14 Check for overlapping frame buffers in FrameBufferList::removeIntersections()
Fixed Mario Tennis - missing bottom half of scoreboard #1564

Problem:
Top Gear Hyper Bike has overlapping frame buffers.
That is start address of a buffer points on last line in previous buffer.
When new buffer intersects with prevois one, plugin removes old buffer.
That causes black screen in case of Top Gear Hyper Bike.

FrameBuffer::updateEndAddress() was modified in commit 17eb8696ea to fix it.
It sets buffer end address using buffer height - 1.
This fix causes issue with Mario Tennis scoreboard #1564
HW buffer is not detected because end address is wrong.

Solution:
Add another test for intersecting buffers.
It checks that the buffers are not just arbitrary intersected ones,
but it is sequence of two slighly overlapping buffers.
In that case buffer is not removed, but its end address is corrected,
because buffers address space must not intersect.
2017-09-26 16:31:24 +07:00
Sergey Lipskiy
032da85357 Reset m_cleared and m_RdramCopy for depth buffer after software render.
Fixed #1594 Mario Tennis VS screen: line flickers
2017-09-26 15:23:07 +07:00
Francisco Zurita
3790dbe1ed Fix build error in Android build 2017-09-25 00:48:49 -04:00
Sergey Lipskiy
7ae98a2bf9 Optimize TriGen functions in F3DSWRS ucode. 2017-09-25 11:37:57 +07:00
Sergey Lipskiy
597f7a25cf Revert "Remove "Animal Forest" ucodes from specialMicrocodes list. These ucodes successfully detected by ucode string."
This reverts commit 67379aa0fc.
2017-09-24 22:09:06 +07:00
Sergey Lipskiy
497b8dd709 Use legacy blending for DepthFogCombiner.
Fix regression in Beetle Adventure Racing! snow is grey! #1587
2017-09-24 18:55:01 +07:00
Sergey Lipskiy
1266ced083 Code cleaup: remove unused MonochromeCombiner. 2017-09-24 18:51:02 +07:00
Sergey Lipskiy
7ba58fe5b6 Implement CombinerKey() ctor 2017-09-24 18:36:07 +07:00
Sergey Lipskiy
c67e017772 Correct Tri commands for F3DSWRS ucode.
Fixed Star Wars: Rogue Squadron HLE glitches. #1584
2017-09-22 22:39:30 +07:00
Sergey Lipskiy
81cc0854dc Fix blending when CLR_ON_CVG flag is on.
Remove hack for Pilot Wings.
2017-09-21 23:18:35 +07:00
Sergey Lipskiy
a70bc7411b Fix glError in screenshot functions. 2017-09-21 23:18:32 +07:00