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

1093 Commits

Author SHA1 Message Date
Sergey Lipskiy
b205529aec Revert "Don't copy depth buffer to RDRAM if it was not cleared completly."
This commit causes 2 regressions: #436, #437
Better solution needed.

This reverts commit 8b551549e0ca5ece29c5322cb062e8a9bc11e48e.
2015-05-13 10:21:51 +06:00
Sergey Lipskiy
3fa7756fd9 Implement internalization suppport. 2015-05-13 10:21:51 +06:00
Sergey Lipskiy
4d87fb6833 Impelent new fb validity check method:
copy RDRAM content to a buffer and compare by content.
2015-05-13 10:21:50 +06:00
Sergey Lipskiy
4b1114a113 Fix texture ShiftScale calculation.
Pokemon Stadium missing ground texture #412 reveals the problem:
the game loads the same texture into tile0 and tile1.
The only difference is ShiftScale values.
Since the checksum is the same, the same CachedTexture is used for both tiles.
Shift scale correction ovrwrites ShiftScale for tile0 when tile1 is loaded.
Thus, texture coordinates for both tiles will be same.
Combiner uses (tile0-tile1)*env_a+shade. Since t0==t1, texture component is missing.

Solution: calculate ShiftScale for each tile right before use.

Fixed #412
2015-05-13 10:21:49 +06:00
Sergey Lipskiy
94a4f7c411 Code cleanup: remove redundant code in gDPLoadBlock 2015-05-13 10:21:48 +06:00
Sergey Lipskiy
b56ca89553 Code cleanup: remove unused TEXTUREMODE_TEXRECT 2015-05-13 10:21:48 +06:00
Sergey Lipskiy
8950fef27b Fix screenshot save:
Use wchar_t string to keep provided screenshot path.

Fixed Screenshots become invalid images #409
2015-05-13 10:21:47 +06:00
Sergey Lipskiy
e3d8905984 Fix _isMarioTennisScoreboard() hack for (E) version. 2015-05-13 10:21:46 +06:00
Sergey Lipskiy
08513ded89 Correct Mario Tennis scoreboard hack. 2015-05-13 10:21:45 +06:00
Sergey Lipskiy
cc600d499b Fix FogBlendEnabled condition.
Fixed Perfect Dark visor and lighting issues #427
2015-05-13 10:21:45 +06:00
Sergey Lipskiy
96aab6c9ad Correct Mario Tennis scoreboard hack for (J) rom.
Fixed issue #424
2015-05-13 10:21:44 +06:00
Sergey Lipskiy
a8f047fea7 Add NDEBUG definition for release builds. 2015-05-13 10:21:43 +06:00
Sergey Lipskiy
2525b86f49 Implement "widescreen hack". 2015-05-13 10:21:43 +06:00
Sergey Lipskiy
c9d486222b Add Adjust Aspect option to the GUI. 2015-05-13 10:21:42 +06:00
Sergey Lipskiy
89a6186166 Add solution file for GLideNUI. 2015-05-13 10:21:41 +06:00
Sergey Lipskiy
7017a82277 Correct conversion screen shot folder name from char *. 2015-05-13 10:21:41 +06:00
Sergey Lipskiy
a70a92f752 Switch to Unicode strings. 2015-05-13 10:21:40 +06:00
Sergey Lipskiy
277807fbf4 Don't reset hacks on settings load for mupen64plus. 2015-05-13 10:21:39 +06:00
Sergey Lipskiy
7eb8e46e12 Correct texturedRectCopyToItself - apply it only for 8bit frame buffers. 2015-05-13 10:21:39 +06:00
Sergey Lipskiy
cccd738086 Update LICENSE file
Add licenses folder for license files.
2015-05-13 10:21:38 +06:00
Sergey Lipskiy
13d2ff4710 Move code from ZilmarAPIImpl_common.cpp to ZilmarAPIImpl_windows.cpp
Remove ZilmarAPIImpl_common.cpp
2015-05-13 10:21:37 +06:00
Sergey Lipskiy
138d270dfd Correct CMakeLists.txt 2015-05-13 10:21:37 +06:00
Sergey Lipskiy
cd1a679160 Rename GLFunctions.cpp to GLFunctions_windows.cpp 2015-05-13 10:21:36 +06:00
Sergey Lipskiy
968059b319 Remove obsolete makefiles from GLideNHQ. 2015-05-13 10:21:35 +06:00
Sergey Lipskiy
c234aa1384 Correct Android project file. 2015-05-13 10:21:35 +06:00
Sergey Lipskiy
b24de2353c Move Android.mk to projects/android.
File needs corrections.
2015-05-13 10:21:34 +06:00
Sergey Lipskiy
2d4c518820 Add instructions how to build project with cmake.
Add Boost libs necessary for Linux build.
2015-05-13 10:21:33 +06:00
Sergey Lipskiy
94bffc2e83 Move visual studio projects for GLideN64 and GLideNHQ to projects/msvc12 folder.
Project file for GLideNUI is special, generated from GLideNUI.pro file,
so it is left on its old place.

glext.h moved to src/inc folder.
2015-05-13 10:21:33 +06:00
Sergey Lipskiy
52d68d1389 Move all sources to src folder. 2015-05-13 10:21:32 +06:00
Sergey Lipskiy
ab16b47945 Fix compilation errors with gcc. 2015-05-13 10:21:29 +06:00
Sergey Lipskiy
60fe41d8ea Code cleanup in F3D.cpp 2015-05-13 10:21:28 +06:00
Sergey Lipskiy
dcd85caff1 Code cleanup in F3DDKR.cpp 2015-05-13 10:21:27 +06:00
Sergey Lipskiy
0aba5cd5b1 Remove commented code from F3DEX2CBFD.cpp 2015-05-13 10:21:27 +06:00
Sergey Lipskiy
ab8318f251 Remove obsolete comment in GLSLCombiner.cpp 2015-05-13 10:21:26 +06:00
Sergey Lipskiy
f0eb742c64 Minor code cleanup in gSP 2015-05-13 10:21:25 +06:00
Sergey Lipskiy
baad6cdede Minor code cleanup in OpenGL.cpp 2015-05-13 10:21:25 +06:00
Sergey Lipskiy
0adec8d4b9 Correct OGLRender::_initExtensions(). 2015-05-13 10:21:24 +06:00
Sergey Lipskiy
130315f1ae Code cleanup: remove unused _setBlendMode() from RiceVideo. 2015-05-13 10:21:23 +06:00
Sergey Lipskiy
33da1e1800 Code cleanup: Remove unused function prototype from OpenGL.h 2015-05-13 10:21:22 +06:00
Sergey Lipskiy
780dbb9c4b Minor correction in PostProcessor.h 2015-05-13 10:21:21 +06:00
Sergey Lipskiy
45fbd275ec Switch to two-parts ini file: general and custom.
Custom section is read-only.
2015-05-13 10:21:20 +06:00
Sergey Lipskiy
e02faac217 Remove __TRIBUFFER_OPT: it causes issues with FB emulation. 2015-05-13 10:21:20 +06:00
Sergey Lipskiy
bf35bf4cab Remove debug print from RSP_ProcessDList() 2015-05-13 10:21:19 +06:00
Sergey Lipskiy
2c2d2fd4ba Minor optimization in zelda_monochrome_fragment_shader. 2015-05-13 10:21:18 +06:00
Sergey Lipskiy
3fe466c654 Remove unused resource files. 2015-05-13 10:21:18 +06:00
Sergey Lipskiy
e733efb0d0 Remove unused code from Config_mupenplus.cpp 2015-05-13 10:21:17 +06:00
Sergey Lipskiy
7218e6cd4b Comment unused parameter HWND hParent in Config_DoConfig() and DllAbout. 2015-05-13 10:21:16 +06:00
Sergey Lipskiy
f1a252a6d0 Remove posix related code. It is unused legacy code. 2015-05-13 10:21:16 +06:00
Sergey Lipskiy
0103c92741 Remove legacy debugger. 2015-05-13 10:21:15 +06:00
Sergey Lipskiy
581849944d Remove unused shader code without precision qualifiers. 2015-05-13 10:21:14 +06:00