Gregor Richards
e65a63e5d5
Add support for debugging core nondeterminism
...
This adds a debug flag to netplay_net (DEBUG_NONDETERMINISTIC_CORES)
which helps determine if a core has nondeterminism.
2016-10-05 07:58:01 -04:00
Gregor Richards
60153e7035
Ignore check_frames if CRCs are utterly inconsistent
...
This effectively disables check_frames if frame 1's CRC differs between
host and client. This is necessary because some important cores have
nondeterminism in core_run, thus mandating check_frames, while some
important cores have nondeterminism in core_serialize, thus mandating no
check_frames.
2016-10-05 07:55:30 -04:00
Gregor Richards
49b4143687
Reviving netplay_log_connection, i.e. connection messages on the host
2016-10-05 07:52:14 -04:00
Gregor Richards
8cfb4b573b
Removing confusing "or C type" verbage
2016-10-04 23:07:36 -04:00
Gregor Richards
701cc5a18c
Splitting endian and other platform savestate quirks.
2016-10-04 23:07:36 -04:00
Gregor Richards
a636bac428
Style and clarity nits.
2016-10-04 23:07:36 -04:00
Gregor Richards
51683661e5
Changes to Netplay for the recent changes to quirks.
2016-10-04 23:07:36 -04:00
Gregor Richards
1483aa710f
Changing the initialization quirk to communicate by retro_serialize and
...
the variable size quirk to use a core and front flag.
2016-10-04 23:07:36 -04:00
Gregor Richards
919897c464
Some style/clarity nits.
2016-10-04 23:07:35 -04:00
Gregor Richards
fad6e2e87e
Make quirks a bidirectional interface, so the frontend can refuse quirks
...
it doesn't support, in particular variable sized states.
2016-10-04 23:07:35 -04:00
Gregor Richards
90bd741786
Switching serialization quirks to uint64_t for consistency with other
...
bitfields
2016-10-04 23:07:35 -04:00
Gregor Richards
2c0eb77756
core_[un]serialize waits for initialization quirk.
2016-10-04 23:07:35 -04:00
Gregor Richards
3fa3fe0fcd
Fixes for the other few Netplay initialization points
2016-10-04 23:07:35 -04:00
Gregor Richards
0d661ef6a2
Fix some backwards implementation in reporting serialization quirks
2016-10-04 23:07:35 -04:00
Gregor Richards
07a4ad791d
Implemented Netplay initialization quirk
2016-10-04 23:07:35 -04:00
Gregor Richards
5676d0b848
Adding Netplay quirk for untransmittable savestates
2016-10-04 23:06:50 -04:00
Gregor Richards
44931586b7
Removing Netplay workarounds which will soon be replaced by quirks
2016-10-04 23:06:50 -04:00
Gregor Richards
b974fa5718
Add a libretro environment for serialization quirks
...
The new environment RETRO_ENVIRONMENT_SET_SERIALIZATION_QUIRKS allows
cores to communicate any quirks their implementation of serialization
may exhibit. This is useful for distinguishing between serialization
implementations that are sufficient for netplay, rewind, regular use,
etc, as each of these have different requirements and it should be
possible to support a "good enough" serialization without breaking
frontend features.
2016-10-04 23:05:50 -04:00
Andrés Suárez
cda0324627
Merge pull request #3738 from GregorR/netplay-check-frames
...
Being more careful with serialization
2016-10-04 21:53:45 -05:00
Andrés Suárez
bbf69f5ed7
Merge pull request #3739 from GregorR/netplay-check-frames-default
...
Set check_frames to 30 by default
2016-10-04 21:53:32 -05:00
Gregor Richards
2218b7baec
Setting check_frames to 30 by default.
2016-10-04 22:48:37 -04:00
Gregor Richards
68cee3b409
Being more careful with serialization
2016-10-04 22:24:33 -04:00
Twinaphex
db8eb903aa
Merge pull request #3737 from frangarcj/master
...
(VITA) Disable Back Touch if in menu
2016-10-05 02:00:40 +02:00
Twinaphex
183dc914c4
(Cocoa) Add stub scrollWheel callback
2016-10-05 02:00:11 +02:00
Francisco José García García
d32bd63d3d
(VITA) Disable Back Touch if in menu
2016-10-05 01:34:26 +02:00
Brad Parker
97a5e77181
mute state-related OSD messages when auto-saving
2016-10-04 17:58:16 -04:00
Twinaphex
49d520c5d5
Merge pull request #3736 from aliaspider/master
...
(3DS) more fixes.
2016-10-04 21:50:15 +02:00
aliaspider
d87adcd226
(3DS) fix texture combiner stages in 32bit mode.
2016-10-04 20:38:00 +01:00
aliaspider
ad3ca8d04f
(3DS) explicitly disable libretro_db and zarch in the non-griffin build
2016-10-04 19:42:25 +01:00
aliaspider
e9618dd6a0
(3DS) opendir with an empty string isn't returning NULL as it should.
2016-10-04 19:40:36 +01:00
Twinaphex
284a56dc78
Merge pull request #3735 from GregorR/netplay-in-core
...
Netplay in core
2016-10-04 19:51:11 +02:00
Gregor Richards
8418196557
Make core_unserialize universally inform Netplay
2016-10-04 13:44:35 -04:00
Gregor Richards
71873e8c97
Moving Netplay pre- and post-frame behavior into core_run
...
This (mostly) prevents other paths from accidentally side-stepping
Netplay. Netplay itself now sets an in_netplay variable to avoid
self-recursion in its own core_run calls.
2016-10-04 13:40:07 -04:00
Brad Parker
1f27773fe0
C89_BUILD fix
2016-10-04 12:15:46 -04:00
Twinaphex
97856ea391
Merge pull request #3734 from aliaspider/master
...
(3DS) video driver: add some checks for the validty of incoming data.
2016-10-04 17:00:34 +02:00
aliaspider
23eef2c6ee
(3DS) video driver: (cont.)
2016-10-04 15:55:30 +01:00
aliaspider
c4daa087d4
(3DS) video driver: add some checks for the validty of incoming data.
2016-10-04 15:49:55 +01:00
Twinaphex
7124875d2d
Merge pull request #3733 from orbea/tcc
...
tcc doesn't support -MMD
2016-10-04 16:34:33 +02:00
Brad Parker
e5970e8095
prevent divide by zero
2016-10-04 08:35:08 -04:00
twinaphex
6c454bb468
content_undo_save_state - abitilityability to return false
2016-10-04 11:19:24 +02:00
twinaphex
166e300471
Plug more memor yleaks
2016-10-04 11:16:02 +02:00
twinaphex
f06ea9ba70
Fix 17 new memory leaks catched by Coverity
2016-10-04 11:02:01 +02:00
twinaphex
d3933f04c6
Simplify "Remove" messageS
2016-10-04 10:54:16 +02:00
twinaphex
39fd6560f6
(input_autodetect.c) Cleanups
2016-10-04 10:40:37 +02:00
twinaphex
eeae9a186f
Revert "Use string_is_equal"
...
This reverts commit 49a290c3e66e593169989da962289da71d0cb3a5.
2016-10-04 10:29:32 +02:00
twinaphex
49a290c3e6
Use string_is_equal
2016-10-04 10:24:17 +02:00
twinaphex
7d06e6c48f
Use string_is_equal instead of strncmp
2016-10-04 10:18:17 +02:00
twinaphex
72caa55e7b
Cleanup input_autodetect.c
2016-10-04 10:16:52 +02:00
twinaphex
19863e4174
autosave_lock/autosave_unlock - no longer require HAVE_THREADS ifdefs
2016-10-04 09:56:58 +02:00
twinaphex
b3d4fe398b
autoconfig should be fixed now for XInput - wrong binds
2016-10-04 08:21:32 +02:00