Commit graph

343 commits

Author SHA1 Message Date
Richard Goedeken
15f1f88842 proper fix for google code issue #579: Legend of Zelda: OOT crash when moving towards Malon in Castle Town 2015-05-01 20:44:37 -07:00
Richard Goedeken
129ab881be fix a bunch of illegal memory accesses 2015-04-30 17:58:20 -07:00
Richard Goedeken
fc1cb8d863 Merge pull request #57 from krnlyng/flto
flto reverts, second attempt
2015-04-27 17:37:38 -07:00
Franz-Josef Haider
c4b38e5814 Revert "Allow to parallelize the linking step"
This reverts commit 79f34ce560.
2015-04-27 19:43:07 +02:00
Franz-Josef Haider
7013f4d346 Revert "clang cannot handle flto=jobserver, so I moved this optimization flag to the linux-specific OS settings"
This reverts commit 5d3bc01510.
2015-04-27 19:42:00 +02:00
Richard Goedeken
452d3ceeb7 update text files and version number for upcoming 2.5 release 2015-04-26 12:32:36 -07:00
Richard Goedeken
53ea29d821 fix build warnings 2015-04-26 11:33:13 -07:00
Richard Goedeken
d5fa32b09e disable unused function warning 2015-04-26 11:10:19 -07:00
Richard Goedeken
c025a891a1 Revert "Don't accept n64 textures larger than target 3dfx textures", as it causes visual regressions in Kirby64, Gauntlet Legends, and other games.
This reverts commit f28bde1dc5.
2015-04-21 17:02:49 -07:00
Richard Goedeken
5d3bc01510 clang cannot handle flto=jobserver, so I moved this optimization flag to the linux-specific OS settings 2015-04-19 19:00:51 -07:00
Richard Goedeken
438dd4fb69 fix memory bugs found by coverity in this badly written fxt1 code 2015-03-27 08:50:27 -07:00
Richard Goedeken
1ed2d5c28e Merge pull request #53 from conchurnavid/includes
Fix executable bits of files
2015-03-21 21:25:33 -07:00
Conchúr Navid
024da573df Fix executable bits of files 2015-03-21 10:53:38 +01:00
Richard Goedeken
217bb72da7 Merge pull request #52 from rlabrecque/master
Remove CorrectGamma()
2015-03-16 19:51:05 -07:00
Riley Labrecque
86b6d829b0 Remove CorrectGamma()
It's unimplemented on non Win32, and SetDeviceGammaRamp is a terrible
function on Win32 as it breaks monitor calibration.
2015-03-16 08:24:09 -06:00
Richard Goedeken
68dfe5e047 Merge pull request #51 from conchurnavid/update
Don't accept n64 textures larger than target 3dfx textures
2015-03-07 17:20:20 -08:00
Conchúr Navid
f28bde1dc5 Don't accept n64 textures larger than target 3dfx textures 2015-03-06 17:43:56 +01:00
Richard Goedeken
c94c8f8193 Merge pull request #50 from conchurnavid/reproducible
Don't include date in plugininfo to make build reproducible
2015-02-22 08:22:56 -08:00
Richard Goedeken
41fefc32c9 added project/solution file for Visual Studio 2013. removed older MSVS project files. fix code compatilibity problems with MSVC 2015-02-22 07:13:34 -08:00
Conchúr Navid
5fe1d10c29 Don't include date in plugininfo to make build reproducible 2015-02-18 10:37:26 +01:00
Richard Goedeken
3500930934 Merge pull request #49 from bentley/backwards-memcpy
Avoid overlapping memcpy().
2015-02-16 07:03:14 -08:00
Anthony J. Bentley
48e20bc799 These buffers can overlap, so memmove() must be used instead of memcpy(). 2015-02-14 21:53:02 -07:00
Richard Goedeken
d8d7fd2d96 Merge pull request #48 from conchurnavid/optimization_speedup
Linker Optimization speedup
2015-02-14 07:45:42 -08:00
Conchúr Navid
e941f7fd8f Use same optimization level as all other mupen64plus components 2015-02-09 13:57:03 +01:00
Conchúr Navid
79f34ce560 Allow to parallelize the linking step 2015-02-09 13:55:42 +01:00
Dorian Fevrier
055d5ccb90 Merge pull request #45 from krnlyng/more_gles
change more GL to GLES2 includes when USE_GLES=1 is used. These are the changes needed for the GLES codepath to build.
2015-01-28 11:30:44 -05:00
Richard Goedeken
1b96dbf35f Merge pull request #44 from littleguy77/master
Revert to original Glitch64 LOG macro definition.
2015-01-10 09:02:02 -08:00
littleguy77
384f398dcc Fix name collision when LOGGING defined.
Name out_buf collides in Glide64/rdp.cpp and Glitch64/*glitchmain.cpp.
2015-01-08 22:36:44 -05:00
littleguy77
04eda752fe Revert to original Glitch64 LOG macro definition.
Reverts change made in commit b0376322c9.

The original Glitch64 LOG macro was used only for development/debugging
purposes and was never intended to be used in any sort of end-user
context.  It is invoked in every gr* method, which produces dozens of
log entries per frame.

The commit referenced above changed the LOG macro to use m64p verbose
logging, which is presentable to the user.  There are two problems with
that:

1. With verbose logging enabled, the Glitch64 messages completely swamp
   the verbose messages from all other modules as well as Glide64 and
   GlideHQ.  Not only does this make it difficult to parse information
   from the logs, but it also brings framerate to an unusable 1-3 FPS on
   a modern PC.

2. Even with verbose logging disabled, the overhead alone of assembling
   log messages (even if never displayed) is enough to significantly
   reduce frame rate.  This is especially noticeable on mobile hardware.
   For example, on a Tegra3-based 2012 Nexus 7, framerate during the
   DK64 intro rap scene is very noticeably slower with LOG enabled:
     - with LOG enabled: 7-20 FPS
     - with LOG disabled: 15-30 FPS
   In many places, FPS doubles after disabling the LOG macro.
2015-01-08 22:26:50 -05:00
Richard Goedeken
5416d79d65 Merge pull request #43 from Gillou68310/master
Added project file for MSVC2010
2015-01-07 22:54:37 -08:00
Richard Goedeken
2decf40c59 Merge pull request #42 from littleguy77/master
Add missing file from GLES port and minor cleanup
2015-01-07 22:40:27 -08:00
Gillou68310
0c1a194605 Added project file for MSVC2010
No support for hires textures and texture filters for the moment
2015-01-07 15:16:35 +01:00
Metricity
10486878e3 Add missing source file from GLES port.
File should have been included in pull request #12.
2015-01-07 08:13:07 -05:00
littleguy77
2ee649b163 Rename Glitch64/main.h --> glitchmain.h for clarity.
Avoid mental association with Glide64/Main.cpp.
2015-01-07 08:12:36 -05:00
Richard Goedeken
d465ad2023 Merge pull request #41 from littleguy77/master
Fixes to FPS calculations.
2015-01-04 21:09:40 -08:00
littleguy77
e62c00dfda Fix video refresh frequency for MPAL. 2015-01-04 14:14:09 -05:00
littleguy77
45e24e9557 Update frameskipper to reflect region calculation changes.
This reflects the change in meaning of the magic numbers 0 and 1 made in
ceabea70f4

0 used to mean NTSC but now means PAL
1 used to mean PAL but now means NTSC
2015-01-04 14:07:58 -05:00
Richard Goedeken
38b16e5f8a Merge pull request #39 from littleguy77/master
Fixes and enhancements from mupen64plus-ae
2015-01-04 08:08:53 -08:00
Richard Goedeken
9f1426f3c3 fix build error from last commit 2015-01-04 08:05:49 -08:00
Richard Goedeken
59603b1e57 Merge pull request #40 from twinaphex/master
correct N64 ROM header analysis for the regional PAL indication
2015-01-04 08:01:04 -08:00
twinaphex
ceabea70f4 correct N64 ROM header analysis for the regional PAL indication 2015-01-04 14:57:01 +01:00
littleguy77
90601dbb94 Fix log level for LOGINFO macro. 2015-01-02 15:57:06 -05:00
Gillou68310
74934a64ee Fix screenshot implementation for GLES codepath. 2015-01-02 15:56:57 -05:00
Gillou68310
65ee02fde5 Enlarge output array for capturing color buffer.
The array used to hold color buffer contents should be two times the
size of the array used to hold depth buffer contents since it contains
four 8-bit channels (32 bits per pixel) compared to one 16-bit channel
(16 bits per pixel).

This also ensures that glReadPixels will not write beyond the end of the
array for screen resolutions above full HD (1920x1080).
2015-01-02 15:56:40 -05:00
Richard Goedeken
3e58eb7020 fix texture pack read failure on some 64-bit platforms, found by EndoplasmaticReticulum on github, due to png_uint_32 type being unfortunately defined as 'unsigned long int' 2015-01-01 17:19:39 -08:00
Richard Goedeken
a18ee5b4b8 Merge pull request #29 from littleguy77/master
Implement optional frameskip feature.
2015-01-01 17:14:17 -08:00
littleguy77
717b58705b Implement optional frameskip feature. 2015-01-01 14:03:56 -05:00
Franz-Josef Anton Friedrich Haider
6f4b35428c change more GL to GLES2 includes when USE_GLES=1 is used 2015-01-01 15:56:11 +00:00
Dorian Fevrier
47277854d2 Merge branch 'master' of https://github.com/mupen64plus/mupen64plus-video-glide64mk2 2014-12-31 15:24:35 -05:00
Dorian Fevrier
c5998a531b Merge pull request #37 from twinaphex/master
Rewrite MulMatricesC in a more auto-vectorizable way.
2014-12-31 15:21:09 -05:00