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

1582 Commits

Author SHA1 Message Date
Sergey Lipskiy
675d777e92 Fix windowed modes list initialization in GUI. 2016-03-06 21:23:48 +06:00
Sergey Lipskiy
c504b9b216 Correct depth buffer removal:
if depth buffer removed, clear pointers on it for all frame buffers.
2016-03-06 21:12:23 +06:00
Sergey Lipskiy
fbbbe147c6 Correct hack for texrect textures.
Fixed texture coordinates for backgrounds in Dark Rift, issue #648
2016-03-05 20:23:00 +06:00
Sergey Lipskiy
67cab52909 Fix tile width calculation in LOADTYPE_TILE mode.
Fixed background textures size in Dark Rift.
2016-03-05 20:09:11 +06:00
Sergey Lipskiy
143a68bc07 Increase only y coordinate of rect in COPY or FILL mode. 2016-03-05 20:06:41 +06:00
Sergey Lipskiy
024c48218a Fix frame buffer texture detection when load tile is not 7.
Fixed wrong frame buffer detection in Tetrispere intro, issue #681
Terisphere uses tile 2 as load-tile and as base tile.
2016-03-05 17:55:30 +06:00
Sergey Lipskiy
29b0b8c1ae Fix mipmaped texture load when gSP.texture.tile is not 0.
Example: Tetrisphere.
2016-03-05 17:51:17 +06:00
Sergey Lipskiy
77b5b737d5 Update texture parameters only if combiner uses textures. 2016-03-05 17:47:53 +06:00
Sergey Lipskiy
7479845a46 Do not use flat shading when lighting is enabled.
Fixed N logo in terisphere.
2016-03-05 13:17:01 +06:00
BenjaminSiskoo
d50d9cc999 Update french language 2016-03-04 11:09:30 +06:00
Sergey Lipskiy
d9d6d4530a FrameBuffer::init - clear buffer texture after allocation.
Fixed garbage on screen in some games on Linix, e.g. Tsumi To Batsu.
2016-03-04 10:58:52 +06:00
Sergey Lipskiy
095df6e3e5 Code refactor: OGLRender::clearColorBuffer use black (zero) if color is not specified. 2016-03-04 10:53:44 +06:00
Sergey Lipskiy
235530cec8 Fix out of range read/write in _copyPixelsFromRdram when address in input array is outside of current frame buffer. 2016-03-01 16:49:54 +06:00
Sergey Lipskiy
8f952921a0 Use 32bit texture formats for G_TT_IA16 mode. 2016-03-01 16:49:43 +06:00
Sergey Lipskiy
e58ce1e758 Code cleanup: make struct TextureLoadParameters more readable. 2016-03-01 16:48:35 +06:00
Sergey Lipskiy
53203c048a Fix IA88_RGBA4444 convertor on non-windows platforms.
Fixed issue #280 and issue #759
2016-03-01 16:48:18 +06:00
IlDucci
33824877cc Updating Spanish translation
Updating Spanish translation, adding the newest strings and editing some
old ones.
2016-03-01 16:48:01 +06:00
Sergey Lipskiy
5e5c3faed4 Fix flat shading.
Fixed 2D tokens in Tetrispere.
2016-02-28 23:47:26 +06:00
Sergey Lipskiy
bcdc6bc6a5 Correct mipmap shader.
Fixed Tetrisphere blending or texture issue on Mr. Education'sphere #682
2016-02-28 21:53:55 +06:00
Sergey Lipskiy
3215a8ad5d Correct main bufer height calculation.
Fixed flicker in Bomberman Hero (E) , issue #305
2016-02-28 17:45:53 +06:00
Sergey Lipskiy
1c0a1c23af correct CMakeLists.txt 2016-02-28 11:03:05 +06:00
Sergey Lipskiy
9814c72544 Add 'custom windowed resolution' option to GUI. 2016-02-27 19:12:54 +06:00
Sergey Lipskiy
676e00f19b Add "Render at constant factor of native resolution" option to GUI. 2016-02-27 13:41:29 +06:00
Sergey Lipskiy
54d486371a Add "UseNativeResolutionFactor" option. 2016-02-27 12:43:20 +06:00
Sergey Lipskiy
162d24dc40 Remove if (!_canDraw()) from OGLRender::clearColorBuffer 2016-02-27 12:17:36 +06:00
Sergey Lipskiy
f06b2d823a Code rafactor to fix compilation errors with mupen64plus build. 2016-02-27 11:58:56 +06:00
Sergey Lipskiy
c4b0e9999e Fix copy from RDRAM in widescreen mode. 2016-02-27 10:52:12 +06:00
Sergey Lipskiy
2a01d47df4 Fix copy to RDRAM in widescreen mode. 2016-02-27 10:52:11 +06:00
Sergey Lipskiy
8b3d53f4e5 Pass destination frame buffer to OGLRender::drawTexturedRect.
Fixed RDRAMtoFrameBuffer::CopyFromRDRAM, when FBWrite writes to a buffer,
which is not current displayed buffer.
Example: JFG crosshair.
2016-02-27 10:52:10 +06:00
Sergey Lipskiy
e8d76d21f0 Minor code cleanup: add RDRAMtoFrameBuffer::Reset() 2016-02-27 10:52:10 +06:00
Sergey Lipskiy
806f884a51 Add FBInfo controls to GUI. 2016-02-27 10:52:09 +06:00
Sergey Lipskiy
91f7608af8 Add FBInfo options to mupen64plus config. 2016-02-27 10:52:09 +06:00
Sergey Lipskiy
ac8a9a9d5d Add FBInfo config options. 2016-02-27 10:52:08 +06:00
Sergey Lipskiy
dca42610a8 Add FBInfo::isSupported() to know that emulator provides FBInfo support.
Correct frame buffer write detection hack (idea by purplemarshmallow).
2016-02-27 10:52:07 +06:00
Sergey Lipskiy
ce7526eaf5 Rewrite RDRAMtoFrameBuffer::CopyFromRDRAM:
copy from RDRAM only those pixels, which were provided with FBWrite.
2016-02-27 10:52:07 +06:00
Sergey Lipskiy
dcf32d0c5d Fix issues with FrameBufferToRDRAM::copyToRDRAM 2016-02-27 10:52:06 +06:00
Sergey Lipskiy
cd0cd82c74 Code refactor: convert FrameBuffer* functions to methods of FBInfo class. 2016-02-27 10:52:06 +06:00
Sergey Lipskiy
e62ce067e8 Fix FrameBufferToRDRAM::copyToRDRAM : pass correct end_address to _copy 2016-02-27 10:52:05 +06:00
Sergey Lipskiy
52dac34b98 Fix _cutHeight. 2016-02-27 10:52:05 +06:00
Sergey Lipskiy
8202638a7a Correct FrameBufferList::fillBufferInfo - do not add depth buffer. 2016-02-27 10:52:04 +06:00
Sergey Lipskiy
1ec14d0f8b Rename ShaderCombiner::updateFBInfo to ShaderCombiner::updateFrameBufferInfo 2016-02-27 10:52:03 +06:00
Sergey Lipskiy
32dd944cf3 Ignore FBRead notification if there were FBWrite notifications to that buffer.
Fixed Banjo-Kazooie freeze with Mupen64.
2016-02-27 10:52:03 +06:00
Sergey Lipskiy
857ae8a360 FBWrite draft implementation. 2016-02-27 10:52:02 +06:00
Sergey Lipskiy
646a88139c Fixing FBInfo build on gcc (5.2.1)
There was a conflict between signed and unsigned types to std::min.
Explicitly setting the literal as unsigned keeps all math as unsigned,
which I think is the best case here (assuming that 1 + y0 - y1 will never
be negative).
Also adding std:: prefix to make it clearer where these functions come from.
2016-02-27 10:52:02 +06:00
Sergey Lipskiy
148349a00a Fix FrameBufferToRDRAM::_prepareCopy
Wrong buffer could be used when several buffers copied per frame
2016-02-27 10:52:01 +06:00
Sergey Lipskiy
0b12d3b26e Correct height calculation on buffer copy. 2016-02-27 10:52:00 +06:00
Sergey Lipskiy
dde54b238f Fix mistakes in buffer copy. 2016-02-27 10:52:00 +06:00
Sergey Lipskiy
53e638bf47 Increase _numPixels if chunkStart is not even. 2016-02-27 10:51:59 +06:00
Sergey Lipskiy
1e376d641b Fix usage of FrameBufferToRDRAM::m_frameCount 2016-02-27 10:51:59 +06:00
Sergey Lipskiy
05d6972cc3 Fix mupen64plus build. 2016-02-27 10:51:58 +06:00