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
Sergey Lipskiy
67379aa0fc
Remove "Animal Forest" ucodes from specialMicrocodes list. These ucodes successfully detected by ucode string.
2017-09-21 23:18:29 +07:00
Sergey Lipskiy
231463e368
Optimize blender shaders. Thanks to Logan McNaughton aka loganmc10 and standard-two-simplex for the new code.
2017-09-21 23:18:11 +07:00
Sergey Lipskiy
a2a96f3d92
Set CHANGED_LIGHT|CHANGED_LOOKAT bits when index in modelview stack changes.
...
Fixed #1417 [HLE] Lighting issue
2017-09-21 21:33:08 +07:00
Sergey Lipskiy
21af2d8ea7
Rename F3DEX2MM ucode to F3DZEX2. Zelda games use modifications of this ucode.
...
Fixed Zelda: OoT missing fences #1575
2017-09-21 21:33:08 +07:00
Sergey Lipskiy
da2becd57e
Fix ShaderBlender1::write method. Up ShaderStorage version.
...
Fixed #1553 Resetting once breaks rendering via transparency of many textures.
Thanks Logan McNaughton for finding the root of the problem.
2017-09-21 21:33:08 +07:00
Sergey Lipskiy
d4dbe7c094
Correct blending when FORCE_BL flag is off. Up shader storage version.
...
Fixed F-Zero X wrong borders #639
2017-09-21 21:33:08 +07:00
Sergey Lipskiy
41aa06523e
Move ucodes source files to uCodes folder.
2017-09-21 21:33:08 +07:00
Sergey Lipskiy
47d718f287
Add F3DFLX2 ucode for F-Zero. Implement F3DFLX2 lighting method.
2017-09-21 21:33:08 +07:00
Sergey Lipskiy
ef6f470df7
Revert "Fix implementation of 0xD5 (Special_1) command for F3DEX2 ucode."
...
This reverts commit 8985e38bc0
.
2017-09-16 18:44:40 +07:00
Sergey Lipskiy
8985e38bc0
Fix implementation of 0xD5 (Special_1) command for F3DEX2 ucode.
...
olivieryuyu found that 0xD5 command, when presents in ucode, updates combined matrix.
I could not remeber, which game uses implementation of F3DEX2_Special_1 with gSPDlistCount call.
Probably such game does not exists and this code was added by mistake. I removed it.
2017-09-13 18:01:15 +07:00
Sergey Lipskiy
187f9ef390
Fix Zelda ucodes detection.
...
Zelda OOT ucode string:
"RSP Gfx ucode F3DZEX.NoN fifo 2.06H Yoshitaka Yasumoto 1998 Nintendo."
Zelda MM ucode string:
"RSP Gfx ucode F3DZEX.NoN fifo 2.08I Yoshitaka Yasumoto/Kawasedo 1999."
2017-09-13 18:01:07 +07:00
Logan McNaughton
528744de19
Init mupen64plus config at PluginStartup
2017-09-13 15:22:29 +07:00
Logan
f567186e01
Only use XXH32 in CRC_OPT
2017-09-13 15:20:39 +07:00
Sergey Lipskiy
21e7cae6aa
Implement F3DEX2_Special_1 command for F3DEX 2.0XH ucodes.
...
Fixed #1562 Pokemon Snap/Kirby 64/Super Smash Bros. unimplemented command
2017-09-12 21:06:38 +07:00
Sergey Lipskiy
9874fa641c
Code cleanup: remove unused function from gSP.h
2017-09-12 21:06:38 +07:00
Sergey Lipskiy
6ecdd82ee7
Code cleanup: better names for variables in F3DSWRS.cpp
2017-09-12 15:22:58 +07:00
Sergey Lipskiy
b4400c1d24
Correct next command calculation for F3DSWRS_Tri1 and F3DSWRS_Tri2
...
Fixed Star Wars Rouge Squadron gfx bug #1546
2017-09-12 15:22:54 +07:00
Francisco Zurita
16d1aa6761
Fix possible memory corruption when reading pixels for G_IM_SIZ_8b
...
buffers.
Also, improve variable naming.
2017-09-11 10:26:49 +07:00