Commit Graph

1979 Commits

Author SHA1 Message Date
Flyinghead e067534f26 When sorting translucent triangle, keep the third vertex in place.
In flat shading mode, the third vertex of a triangle defines its color
so we must maintain its index.
Fixes the remaining color polygons seen in Evolution - The World of
Sacred Device.
2018-07-06 20:02:43 +02:00
Flyinghead 0df91770d2 Increase dynarec code cache size to 10 MB
Fixes frequent code cache invalidation due to lack of space, which kills
performance (Extreme Sports)
2018-07-06 17:19:37 +02:00
Flyinghead 315205caa9 Add setting to disable div32 matching (Pro Pinball Trilogy)
div32 matching doesn't handle division by zero and edge cases, which
causes crashes with some games.
Setting enabled by default for Pro Pinball Trilogy.
2018-07-06 09:49:39 +02:00
Flyinghead 517c225c39 Better hack for TA data sent before ListInit.
Instead of ignoring TA data if ListInit hasn't been called, call
ListInit then accept the data. The data will still be probably ignored
but end of list interrupts are sent so game won't hang.
Fixes hang in King of Fighters New Wave (Naomi).
2018-07-05 19:57:30 +02:00
Flyinghead a1997637bb Trilinear filtering limited implementation.
Fixes lighter field areas in NFL 2K2
2018-07-03 20:36:13 +02:00
Flyinghead 3c4913a35a Merge remote-tracking branch 'upstream/master' 2018-07-03 15:46:25 +02:00
Flyinghead cbaaaaf970 Do not crash if data is sent to TA before calling ListInit, just ignore
it.

Fixes Conflict Zone - Modern War Strategy.
2018-07-03 15:24:48 +02:00
Flyinghead e7d1688ae5 Round TA_ISP_BASE to 1 MB.
Some games do not align TA_ISP_BASE on 1 MB boundary so the rendering
context is not found at render time. Fixes black screen in NFL 2K2, NBA
2K2, Oooga Booga, Floigan Bros. and probably more Visual Concepts games.
Sadly Ooga Booga still crashes.
2018-07-03 14:22:44 +02:00
Flyinghead 69263eddc0 Bump mapping support 2018-07-02 15:23:47 +02:00
Flyinghead 99af84d7fb Background plane should be fogged as well. Fixes purple sky in Dragon's
Blood/Draconus.
2018-07-02 10:22:26 +02:00
Flyinghead 295395c680 Flat shading support 2018-07-01 20:25:06 +02:00
Stefanos Kornilios Mitsis Poiitidis 73f3378f5f
Merge pull request #1194 from reicast/skmp/add-x64-checkblocks
Implement CheckBlocks for x64
2018-07-01 13:27:05 +02:00
Stefanos Kornilios Mitsis Poiitidis f45f888d0b Use platform specific first argument register 2018-07-01 12:15:59 +02:00
Flyinghead 18c59c1166 Fix read_frame/dump_frame for now missing autosort param 2018-06-30 13:51:03 +02:00
Flyinghead 3ddcc272bf Fix autosort/presort mode selection. Per render pass sort mode.
The previous algorithm to determine the sort mode for TR polys was
faulty. And the sort mode can vary between passes for multipass
rendering. This also removes the need for the hack to support Always
depth mode with autosorted TR polys. Should fix the Resident Evil 3 menu
problem.
2018-06-30 12:33:11 +02:00
Flyinghead 7ecd384612 StrideSel is now part of the texture cache and must be set by RTT 2018-06-29 19:03:43 +02:00
Flyinghead d980f505ad Fully revert f571d6c594
Fixes NAOMI bios flickering
2018-06-29 17:16:39 +02:00
Flyinghead a52654e2de Added some game ids to per-game settings 2018-06-29 17:10:35 +02:00
Flyinghead 17a34c079c Backported EG hack. Courtesy of libretro.
See 13dacb0021
2018-06-29 17:04:07 +02:00
Stefanos Kornilios Mitsis Poiitidis ad05c35a7e Implement CheckBlock for x64 2018-06-29 15:19:49 +02:00
Stefanos Kornilios Mitsis Poiitidis c52165adbd Update XBYAK to 71b75f653f3858403eb33d48f6346eef34b837fe 2018-06-29 15:18:57 +02:00
Flyinghead f18aa63a67 Add stride and scan order to texture cache key as they are used to update the texture
Fixes glitchy FMV title screen in Bomberman Online
2018-06-29 11:59:48 +02:00
Flyinghead a94f01ee78 Force autosort TR triangles using depth func Always to be drawn on top of others
When autosorting triangles, ignore the depth of triangles using the depth func Always and force
them to be on top. Seems to help Psyvariar 2.
2018-06-28 13:21:40 +02:00
Flyinghead 6871061ca0 Modifier Volumes: summing up with triangles is faster than using a quad. 2018-06-26 15:38:55 +02:00
Flyinghead 7c93727b5e Improve modifier volume parsing and drawing logic.
Parse modifier volumes similarily to other polys (first, count, params).
Draw all triangles in one shot and use quad to sum up instead of
redrawing entire strip. Use OR operation for open volumes/quads
(Soulcalibur).
2018-06-26 14:45:58 +02:00
Flyinghead 846d02d9d2 Optimize RTT to VRAM. Add US version of THPS2 to per-game settings. 2018-06-25 16:55:22 +02:00
TwistedUmbrella e6afd22f98
Merge pull request #1191 from baka0815/gdi_skipws
GDI: Reset skipws-flag
2018-06-25 10:33:34 -04:00
Flyinghead 3256e02813 Workaround for Virtua Tennis ball color problem.
There's a texture corruption of the tennis ball and other textures,
notably the players' bags in the first intro sequence. The corruption is
due to render to texture squashing existing textures. Not sure what's
going on but this avoids the texture corruption. The original problem
remains.
2018-06-25 15:53:28 +02:00
git@baka0815.de 915734fc32 Test GDIs: Include a testcase for #1006
In this testcase the first track contains spaces and special characters "(", ")" and ",".
This was a problem previously because the "skipws"-flag was never reset after reading a quoted filename.
2018-06-25 09:18:40 +02:00
git@baka0815.de 852d644a5f GDI: Explicitly set skipws-flag
It's not neccesarry to set it every iteration, so just set it before and reset it afterwards.
2018-06-25 09:14:51 +02:00
Christoph "baka0815" Schwerdtfeger 41ee5707a8 GDI: Reset skipws-flag 2018-06-24 14:30:46 +02:00
Stefanos Kornilios Mitsis Poiitidis 3910045384
Merge pull request #1189 from barbudreadmon/patch-3
Allow loading of lst files (Naomi support #1188)
2018-06-22 12:34:51 +02:00
barbudreadmon 2e8a87cbdf
Allow loading of lst files (Naomi support #1188) 2018-06-21 19:24:05 +02:00
Stefanos Kornilios Mitsis Poiitidis 1f088f211d
Merge pull request #1183 from reicast/skmp/revert-to-irc
README: Revert to irc from slack
2018-06-21 03:26:40 +02:00
TwistedUmbrella 75189f0a78
Merge pull request #1180 from baka0815/unused_code
Removed unused code in core/linux-dist/main.cpp
2018-06-14 15:52:23 -04:00
Stefanos Kornilios Mitsis Poiitidis 68ee2828bb
Merge pull request #1182 from baka0815/custom_cfg
evdev: Allow for custom <device>.cfg files in the /mappings/ directory.
2018-06-14 20:48:04 +02:00
Stefanos Kornilios Mitsis Poiitidis 69c5f65dd3
README: Revert to irc from slack
We should set up a slack <-> irc bridge, too.
2018-06-14 20:29:45 +02:00
Stefanos Kornilios Mitsis Poiitidis f34d4e9917
Typofix in README.md 2018-06-14 20:27:27 +02:00
Christoph "baka0815" Schwerdtfeger 3d43505504 Allow for custom <device>.cfg files in the /mappings/ directory.
Check if a configuration file named exactly like the device exists in the /mappings/ directory.
If it does, use this instead of the generic one.

Expose file_exists() from stdclass.
2018-06-13 19:33:51 +02:00
Christoph "baka0815" Schwerdtfeger e6854ef87d Removed unused code in core/linux-dist/main.cpp
This is a leftover from #964
2018-06-13 19:17:20 +02:00
Stefanos Kornilios Mitsis Poiitidis 8912449106
Merge pull request #1179 from reicast/skmp/update-donation-readme
Update donation section in readme
2018-06-13 18:53:12 +02:00
Stefanos Kornilios Mitsis Poiitidis b2a3f21520
Typofixes 2018-06-13 14:16:53 +02:00
Stefanos Kornilios Mitsis Poiitidis 6171ae5dae
Update donation section in readme 2018-06-13 14:16:13 +02:00
TwistedUmbrella ca11fd60f6
Merge pull request #1176 from reicast/issues_extended
Issues: Add a device section / Clarify "buildbot"
2018-06-11 23:42:53 -04:00
TwistedUmbrella 77e17abe0a
Issues: Initially request just the platform
Device can be requested if (it appears that) is is a device-related issue
Issues related to the OS tend to be universal to the OS, or at least the OS version
2018-06-11 22:52:40 -04:00
TwistedUmbrella 5f57a82d46
Issues: Add a device section / Clarify "buildbot" 2018-06-11 22:47:17 -04:00
TwistedUmbrella 8c69dc8f88
Merge pull request #1174 from reicast/issue_template
Add a not-so simple template for issues
2018-06-11 12:38:53 -04:00
TwistedUmbrella 4e8316a05d
Minor fix to issue template "preamble" 2018-06-11 12:26:52 -04:00
TwistedUmbrella b8fdfdc167 A not so simple template for issues
Rather than go through an arduous process of trying to provide just enough info that the template gets the desired results and everyone is happy with the formatting, here is a complex template that is simple to fill out and provides detailed info.
2018-06-11 09:51:55 -04:00
TwistedUmbrella d5ab0a597b Add a very simple template for issues 2018-06-11 07:46:00 -04:00