twinaphex
73c45527ae
Add GCC-optimized version of CountLeadingZeroU16 courtesy of Alcaro
2016-02-09 00:37:37 +01:00
Twinaphex
5aa918d4a3
Merge pull request #29 from simias/dither_scaling
...
Implement several dither modes: 1x, upscaled or disabled
2016-02-08 15:34:03 +01:00
Lionel Flandrin
0866591a78
Implement several dither modes: 1x, upscaled or disabled
2016-02-08 15:15:26 +01:00
twinaphex
b724b206a3
Add frame dupe option based on internal frame rate -
...
average speedup (x2 resolution, Core i5 laptop) -
RE1 (no frame dupe) - 138fps
RE2 (frame dupe) - 143fps
With frame dupe enabled, some of the fade to black transitions
in Tobal 2 (interlaced game) no longer show, so leave it as
an optional core option
2016-02-07 23:43:26 +01:00
Twinaphex
ea4b95e346
Merge pull request #28 from simias/internal_fps
...
Restore trio_vasprintf for Windows compatibility
2016-02-07 18:50:53 +01:00
Lionel Flandrin
d8cc3f89ed
Restore trio_vasprintf for Windows compatibility
2016-02-07 18:49:28 +01:00
Twinaphex
f45100209f
Merge pull request #27 from simias/internal_fps
...
Implement an optional "internal" framerate counter
2016-02-07 15:05:06 +01:00
Lionel Flandrin
8efafa828c
Implement an optional "internal" framerate counter
2016-02-07 14:57:39 +01:00
twinaphex
b8d5a6fbed
Cleanup
2016-02-06 01:29:40 +01:00
Lionel Flandrin
8be1dc31a0
Fix texture mapping issues caused by u/v rounding on 2D polygons.
2016-02-05 23:29:35 +01:00
twinaphex
dd7efadd65
Set HAVE_GRIFFIN to 0
2016-02-03 22:53:02 +01:00
twinaphex
6fa11f5dfb
Simplify this
2016-02-03 21:57:45 +01:00
twinaphex
852ed9a1a4
Take out upscale_shift param
2016-02-03 19:54:20 +01:00
twinaphex
4cf69c02d4
Add param to DrawSpan
2016-02-03 18:31:47 +01:00
twinaphex
f5bffece2a
Cleanups
2016-02-02 21:00:12 +01:00
twinaphex
31f4b30923
Small cleanups - change references to pointers
2016-02-02 20:56:00 +01:00
twinaphex
493addc74b
Simplify PlotPixel
2016-02-02 19:04:15 +01:00
twinaphex
681bf6b32a
Nit
2016-02-02 18:25:41 +01:00
twinaphex
8edb75c3ef
Some backports to debug.cpp associated with Poke
2016-02-02 18:13:46 +01:00
twinaphex
4bd78fd62d
Add poke functions
2016-02-02 18:08:43 +01:00
twinaphex
e24d2a31cb
Change comment
2016-02-02 17:59:11 +01:00
twinaphex
afcef22179
Indenting nits
2016-02-02 17:59:11 +01:00
radius
8177494d42
print a more useful error
2016-02-02 10:30:31 -05:00
twinaphex
85182237ad
Remove this log
2016-02-02 09:27:20 +01:00
twinaphex
48b01f9813
Create vertex_swap macro
2016-02-01 17:39:47 +01:00
twinaphex
6eaaf24203
Rename i_dx/i_dy to delta_x/delta_y
2016-02-01 17:30:55 +01:00
twinaphex
e357d183af
Dehardcode blend mode magic numbers
2016-02-01 17:11:08 +01:00
twinaphex
0979167d31
(gpu.cpp) Dehardcode some magic numbers
2016-02-01 16:22:14 +01:00
twinaphex
a0931b9b6b
Improves U/V issues in upscaled mode - not perfect yet
2016-02-01 15:46:26 +01:00
Twinaphex
dc45d91c33
Merge pull request #25 from simias/upscaling
...
Dynamic VRAM allocation and savestate backward compat
2016-01-31 17:53:46 +01:00
Lionel Flandrin
0601b1dbe1
Restore backward compatibility with savestates pre-upscaling hack
2016-01-31 17:28:00 +01:00
Lionel Flandrin
9df17426a2
Put VRAM into a "flexible" array to allocate it dynamically, restore 8x internal upscaling
2016-01-31 17:09:59 +01:00
twinaphex
93939d6c92
u/v coordinates should be of type uint8_t
2016-01-31 14:48:59 +01:00
twinaphex
9cd20bbcd2
Enable Griffin build by default
2016-01-31 12:36:24 +01:00
twinaphex
b28b42ab96
Cleanups
2016-01-31 11:36:13 +01:00
twinaphex
555d16c3c2
Fixes on the fly upscale switching
2016-01-31 09:41:02 +01:00
twinaphex
126825950a
Gives us anywhere from a 5 to 10fps speedup
2016-01-31 09:00:46 +01:00
twinaphex
7e166df9e9
Fix Griffin
2016-01-31 06:00:36 +01:00
radius
b16a1c55e3
indentation fixes and remove the widescreen auto option entirely
2016-01-30 22:10:00 -05:00
radius
c77a1267e2
remove widescreen auto, make it always work when the hack is enabled
2016-01-30 22:09:59 -05:00
twinaphex
daebedf335
Rename vram_save to GPURAM
2016-01-31 03:58:50 +01:00
Twinaphex
a51110c2d3
Merge pull request #24 from simias/upscaling
...
Reimplement since it's not supported in all libcs
2016-01-31 03:44:46 +01:00
Lionel Flandrin
a004be0163
Reimplement since it's not supported in all libcs
2016-01-31 03:33:59 +01:00
Twinaphex
2e7d13932a
Merge pull request #23 from simias/upscaling
...
Turn upscaling into an option, fix savestates
2016-01-31 03:19:22 +01:00
Lionel Flandrin
7eb3f28e12
Allow dynamic upscaling reconfiguration through a core option
2016-01-31 02:31:50 +01:00
Lionel Flandrin
12315b8062
Make the upscale hack dynamic, unbreak savestates
2016-01-31 00:53:04 +01:00
Lionel Flandrin
bbd7512f8f
Don't attempt to upscale sprites
2016-01-30 23:53:48 +01:00
twinaphex
6be2cdbb0b
Comment this out for now - gets rid of issues with higher than
...
1x upscaling
2016-01-30 18:51:08 +01:00
twinaphex
f4975a6edd
Revert "Set first parameter of video_cb to NULL if GPU->InVblank is false"
...
This reverts commit 96e081027e127e167e7e2631953f3e04a0e935bd.
2016-01-30 18:31:05 +01:00
Twinaphex
9173cee03b
Merge pull request #22 from simias/master
...
Fix overflow that caused flickering when upscaling many games
2016-01-30 15:11:57 +01:00