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

2001 Commits

Author SHA1 Message Date
Sergey Lipskiy
7d4c5fc81c Update translation files.
New Spanish translation by IlDucci <pajaroloco_2@hotmail.com>
2016-12-04 12:37:33 +07:00
Sergey Lipskiy
37b6323281 New GUI layout by Ryan Rosser aka Aquatakat.
Feature: new GUI #1213
2016-12-04 12:37:28 +07:00
Sergey Lipskiy
cb2da455b6 gSPProcessVertex4: transform vertex normale with modelview matrix when LookAt is not used. 2016-12-04 11:46:13 +07:00
Sergey Lipskiy
74144d6126 Transform vertex normale with modelview matrix when LookAt is not used.
Fixed Quake 2 metallic effect in the menu is broken. #1279
2016-12-03 17:34:30 +07:00
purplemarshmallow
36fb0d1802 [ini] change settings for Pokemon Snap 2016-11-30 22:00:58 +07:00
purplemarshmallow
d43148bc9e add hack for framebuffer emulation in Pokemon Snap 2016-11-30 22:00:58 +07:00
Sergey Lipskiy
807622f7bf Fix image jitter in interlaced mode.
Fixed regression caused by commit f2b9883
2016-11-30 20:47:32 +07:00
Sergey Lipskiy
d5eb2cdd85 Fix compilation on VS 2013 2016-11-30 20:20:13 +07:00
Logan McNaughton
4706bb5231 Have android LOG function use __android_log_vprint 2016-11-30 16:57:56 +07:00
Francisco Zurita
4ef15e7e2d Give uniform structures default values
Prevents issue where we don't force sn update of the uniform and the
undefined val parameter matches what is being set.
2016-11-30 16:53:26 +07:00
Sergey Lipskiy
91f015846c Fix bug in TextureCache::update
Fixed textures in Supercross 2000.
2016-11-29 22:39:59 +07:00
Sergey Lipskiy
262bbff279 Correct include convert.h 2016-11-29 11:30:55 +07:00
Sergey Lipskiy
edf8827f38 Add GLideN64 source folder to additional include path for GLideNHQ 2016-11-29 11:30:47 +07:00
Logan McNaughton
5a66cfc897 Use Five2Eight and One2Eight from convert.h 2016-11-29 10:53:22 +07:00
IlDucci
a3760c9ba8 Updating Spanish translation
Updated Spanish translation based on the latest changes. Might need some
checking (Seems I've used an older version of the TS format).
2016-11-28 22:50:25 +07:00
Sergey Lipskiy
bd49fff7a6 Change gSP.lookat default state.
Fixed G_TEXTURE_GEN doesn't work correctly (HLE)! #1232
2016-11-28 22:35:46 +07:00
Sergey Lipskiy
6735db1322 ColorBufferToRDRAM: re-create pixel buffers when FBO texture changed. 2016-11-28 21:17:49 +07:00
Francisco Zurita
fc0c77a07b Neon version of InverseTransformVectorNormalize 2016-11-26 13:23:50 -05:00
Sergey Lipskiy
9957622ae4 Code cleanup: remove obsolete hack for Nushi Zuri 64 - Shiokaze ni Notte
Fixed #1257
2016-11-26 19:36:02 +07:00
Sergey Lipskiy
6af6e2c17f Rewrite lighting.
Fixed chopper attack wrong textures #99
Thanks Gillou68310 for detection of the problem's origin.
2016-11-26 19:31:50 +07:00
Sergey Lipskiy
2e343f4d87 Code cleanup: Remove unused Transpose3x3Matrix 2016-11-26 19:29:38 +07:00
Sergey Lipskiy
3aa365d24a Rebuild pixel buffers in ColorBufferToRDRAM_BufferStorageExt when
_initBuffers called more than once.

Example: Roadster trophy chages buffer size several times on the game start.
Each time ColorBufferToRDRAM_BufferStorageExt::_initBuffers called.
The game raises GL error on the second _initBuffers call.
2016-11-26 19:25:06 +07:00
Sergey Lipskiy
3ac20d99c1 Enable hack_noDepthFrameBuffers for Roadster trophy.
Roadster trophy demo mode has problem: car has no wheels.
The game does wierd trick: it allocates depth buffer,
but uses only low half of it for depth values.
Upper half used as common memory.
Wheels texture loaded into that memory area (inside depth buffer area!).
Since depth buffer updated dynamicaly, its validity can not be tested.
Thus, buffer considered as valid and frame buffer texture is used instead of wheel texture.

Fixed #1258
2016-11-26 19:21:54 +07:00
Sergey Lipskiy
b32d8020bb Add black column in output as solution for "Last column problem." #1246 2016-11-24 14:38:02 +07:00
Francisco Zurita
313741d827 Use BufferStorage extension for faster glReadPixels. 2016-11-24 14:20:43 +07:00
Francisco Zurita
bc00985f33 Log isGlError using LOG instead of fprintf. 2016-11-23 00:25:32 -05:00
Francisco Zurita
20e4f972aa Use glTexStorage2D for textures being attached to FBOs
But only for GLES 3.0 and 3.1, with OpenGL it causes issues for older
versions.
2016-11-23 00:23:19 -05:00
Francisco Zurita
b3b8eeb83e Use configured FBO texture formats in more places. 2016-11-23 00:14:15 -05:00
Logan McNaughton
ad77e3db52 Remove some GLES3_1 ifdefs 2016-11-22 12:59:15 +07:00
Sergey Lipskiy
96fc2b7f35 Fix Uninitialized variable use in lq2xS_32_def 2016-11-22 12:26:52 +07:00
Sergey Lipskiy
9491633b5f Fix comlilation on Linux. 2016-11-22 09:40:05 +07:00
Sergey Lipskiy
cc63ed1764 Minor correction in ColorBufferToRDRAM::_prepareCopy 2016-11-21 16:52:26 +07:00
Sergey Lipskiy
a906b769e3 Initialize all members of TexrectDrawer ctor 2016-11-21 16:52:24 +07:00
Sergey Lipskiy
2a9df504df Add rwidth and rheight initialization in VIInfo ctor. 2016-11-21 16:52:21 +07:00
Sergey Lipskiy
41ff9a8d03 Add m_buffersSwapCount initialization in OGLVideo ctor 2016-11-21 16:52:18 +07:00
Sergey Lipskiy
01b2184272 Correct possible null pointer dereferencing in OGLRender::_updateTextures 2016-11-21 16:52:14 +07:00
Sergey Lipskiy
a140d5ee7b Fix potential ABR in GBIInfo::loadMicrocode 2016-11-21 16:16:54 +07:00
Sergey Lipskiy
4f73efd634 Correct combinedColorABD and combinedAlphaABD 2016-11-21 15:47:53 +07:00
Sergey Lipskiy
f2b9883681 Correct only dstY0 for lower field.
Fixed image jitter in topgear hyperbike
2016-11-20 19:24:34 +07:00
Sergey Lipskiy
1f5bde610a Another correction for Xoffset
Fixed topgear hyperbike heavily flickering (regression) #1240

Hyper Bike has *REG.VI_WIDTH == 1152
ColorImage.width == VI.width == 576
addrOffset is multiple of ColorImage.width,
so addrOffset % (*REG.VI_WIDTH) can be equal to ColorImage.width
and image shifted out of screen.
2016-11-20 19:22:31 +07:00
Sergey Lipskiy
1c94b4720e Use GetUserDataPath() to determine path when creating gliden64.log #1243 2016-11-20 12:07:15 +07:00
Logan McNaughton
c5c7845294 Check for GL_ARB_shader_image_load_store
Image Textures might be available on devices with OpenGL < 4.3 if they support GL_ARB_shader_image_load_store
2016-11-20 11:09:40 +07:00
Sergey Lipskiy
3b9f3a4263 Correct asserts in Textures.cpp
Previus conditions not met when texture pack is used.
2016-11-20 11:09:18 +07:00
Sergey Lipskiy
5e639452ec Make PluginAPI::ReadScreen thread safe. 2016-11-20 11:09:11 +07:00
Sergey Lipskiy
83ff7f9ae5 Implement gSPSelectDL and gSPSelectBranchDL
Fixed Nushi Zuri 64 - Shiokaze ni Notte: #1230
2016-11-17 16:47:31 +07:00
Sergey Lipskiy
cf2bce9176 Implement gSPSetStatus. 2016-11-17 16:47:27 +07:00
Sergey Lipskiy
c3caf2747d Correct wrap/clamp/sign-extend shaders.
Fixed Mario Tennis missing fire #1236
2016-11-16 13:16:32 +07:00
Sergey Lipskiy
5d7c02f7d1 Up shader storage version. 2016-11-14 20:53:55 +07:00
Sergey Lipskiy
5e65c115e9 Always ask for GL minor version. 2016-11-14 20:46:24 +07:00
Sergey Lipskiy
be6179cbcc Revert 263ddf4 because it does not work properly on old PC cards. 2016-11-14 20:45:32 +07:00