Commit Graph

911 Commits

Author SHA1 Message Date
iCatButler
6475c19172 Fix PGXP bugs
- Pass clamped precise Z value to prevent divide by 0 on GPU (causes errors on Nvidia GPUs)
- Offset texture coordinates by 1/2 texel to avoid error on 1D look ups using Nvidia GPUs (issues #85)
- Prevent Vulkan renderer offsetting texcoord lookups by 1 during 1D lookups (caused error with above fix)
2018-03-02 21:46:44 +00:00
Lionel Flandrin
7a7ae882ff GTE: fix regression in RTPT 2018-02-23 23:53:09 +01:00
Lionel Flandrin
0b67670b71 GTE: fix regression in RTPS 2018-02-23 23:50:01 +01:00
Lionel Flandrin
390b07cc6b GTE: fix regression in SQR 2018-02-23 23:34:13 +01:00
twinaphex
80a21f2ba8 Put some debug conditionals around some printfs 2018-02-22 22:23:10 +01:00
twinaphex
15386cb9b0 Only trigger ILH mode and Debug Mode with DEBUG builds 2018-02-22 20:58:02 +01:00
twinaphex
9d2cc61b2d Only use decltype if HAS_CXX11 is defined 2018-02-22 20:20:04 +01:00
Twinaphex
4d482d8e66 Some ios buildfixes 2018-02-22 00:08:45 +01:00
Lionel Flandrin
76341b5672 Attempt to fix OSX build 2018-02-21 23:53:30 +01:00
Lionel Flandrin
b537b04866 Remove C++11 dependency 2018-02-21 23:45:25 +01:00
twinaphex
6800cd5c96 Buildfix 2018-02-21 23:24:38 +01:00
Lionel Flandrin
b505f54aec Update CPU code to match upstream 2018-02-21 23:17:22 +01:00
Lionel Flandrin
895767268b Re-enable PGXP option without accuracy regression 2018-02-21 22:02:25 +01:00
twinaphex
83a9841715 Use true/false 2018-02-21 17:34:14 +01:00
twinaphex
0d38a5de1e All GTE basic tests pass now - simias - try backporting the PGXP
patches to the non-GTE_SPEEDHACKS paths - you can decide for yourself
whether or not to kill the GTE_SPEEDHACKS code after this
2018-02-21 17:16:29 +01:00
Lionel Flandrin
bddafd31ea Disable threaded CD code when HAVE_THREADS is unset 2018-02-17 17:58:02 +01:00
Lionel Flandrin
4826c06e4d
Added GPU rasterizer overclock option 2018-02-09 11:09:28 +01:00
Lionel Flandrin
8e7ae9c61f Implement true CPU frequency scaling/overclocking 2018-02-08 22:06:35 +01:00
Lionel Flandrin
ac3fec5c36 Rename "CPU Overclock" option into "GTE Overclock"
It's still not very accurate (it's not really an overclock and it also
removes instruction cache/memory access latencies) but it's probably
easier to understand that way and it won't clash with true CPU
overclock.
2018-02-08 19:22:53 +01:00
twinaphex
8a0e087851 Update 2018-01-07 15:49:28 +01:00
twinaphex
3b4bbdde80 Use _WIN32 define 2018-01-07 15:38:42 +01:00
Tommy Nguyen
af262e12d1
Use correct conversion specifier 2018-01-07 06:09:56 -05:00
twinaphex
48fd8c568d Update 2017-12-20 03:51:00 +01:00
twinaphex
30f9e1bcc8 Cleanups 2017-12-20 03:36:17 +01:00
twinaphex
1332311781 Simplify state.cpp 2017-12-20 03:30:26 +01:00
twinaphex
f0781a41d1 Cleanups 2017-12-20 03:22:54 +01:00
twinaphex
f18c48e7b2 Get rid of file.c - use plain filestream 2017-12-19 03:19:58 +01:00
twinaphex
78836b5d1c Start using filestream directly where possible 2017-12-19 01:42:59 +01:00
twinaphex
456862089a Get rid of OpenedMode 2017-12-18 22:49:42 +01:00
twinaphex
6aae474026 Get rid of original_path 2017-12-18 22:47:08 +01:00
twinaphex
650b454e7b Buildfix 2017-12-18 16:07:52 +01:00
Alberto Fustinoni
8a226e3d51 Removed dependency on file_path 2017-12-18 22:35:54 +09:00
twinaphex
b144f717e2 Add file header include 2017-12-17 16:15:28 +01:00
Alberto Fustinoni
c6ad4b9c92 Bugfix 2017-12-17 17:40:44 +09:00
twinaphex
c11a85405c Cleanups 2017-12-17 02:29:51 +01:00
twinaphex
36d33b2334 Update 2017-12-16 14:45:56 +01:00
twinaphex
f9fd587119 Update API 2017-12-16 14:21:47 +01:00
twinaphex
7a66d0c6bd Update core - use VFS interface 2017-12-15 23:20:53 +01:00
twinaphex
018e009006 Simplify Filestream 2017-12-15 21:43:29 +01:00
twinaphex
42d9158102 Simplify Stream 2017-12-15 21:41:23 +01:00
twinaphex
022c5efdfd This can go now 2017-12-15 21:33:18 +01:00
David Walters
2ebd4e5023 Gun crosshair shapes 2017-11-23 13:08:26 +00:00
David Walters
a64d4ddfe2 Mouse sensitivity setting 2017-11-22 23:53:59 +00:00
Garrett Brown
5274d723ac Fix compilation on Android
Error was:

mednafen/cdrom/CDAccess_PBP.cpp:675:79: error:
      cannot pass object of non-trivial type 'std::string' (aka 'basic_string<char>') through variadic function; call will abort at
      runtime [-Wnon-pod-varargs]
      log_cb(RETRO_LOG_WARN, "[PBP] Invalid path/filename for SBI file %s\n", sbi_path);
2017-11-09 10:00:18 -08:00
Zapeth
cc344b22ba Make logging for SBI file loading more helpful 2017-10-18 20:38:47 +02:00
Brian Koropoff
6e14459d0a Detect and report slow CD reads
When not using async, first try read with a timeout.  If it fails,
display a message suggesting a different CD access method.
2017-10-15 14:42:07 -07:00
Brian Koropoff
0e6c67a736 Control CD image precache/async behavior through unified setting 2017-10-15 14:42:07 -07:00
Brian Koropoff
c06673bd7f Support subchannel-only reads from CCD 2017-10-15 14:42:07 -07:00
Brian Koropoff
5d227ea4b8 Avoid reading entire sector to get subchannel data
Since the subchannel data is either computed from scratch or
read from a separate sbi file, it's entirely unnecessary.

This avoids a synchronous file read in PreSeekHack in the CD
controller code which otherwise completely defeats async read
behavior.  It also makes the sector read hint provided to the
background thread more useful.
2017-10-15 00:31:41 -07:00
Brian Koropoff
2ee4fdbd2f Read CD sectors asynchronously to avoid stuttering
Rather than blocking the main thread waiting for data, try again at a
later emulation update.
2017-10-14 23:21:12 -07:00