Commit Graph

42 Commits

Author SHA1 Message Date
Gregor Richards
17e08c7a28 When we disconnect netplay, fully deinit it
In particular, we need to disentangle the interceding netplay callbacks.
In previous versions, if you disconnected netplay but were using a core
that made netplay stall for connections (i.e., one that has no
savestates), netplay would continue to stall because it still
interceded, even though it was supposed to be off. This fixes that.
2016-12-17 23:08:59 -05:00
Gregor Richards
1153652ebb Netplay pause fix redux.
We must actually poll input when netplay is paused, or it
just looks stalled. This fixes that. Again.
2016-12-16 10:13:44 -05:00
twinaphex
dfc188a7ed Put cheevos_reset_game around HAVE_CHEEVOS ifdef 2016-11-04 22:24:34 +01:00
Andre Leiradella
14cebec15d Fix achievements being awarded upon game reset. 2016-11-04 19:56:31 +00:00
Brad Parker
d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
twinaphex
973a950d31 Simplify core_frame 2016-10-25 05:01:44 +02:00
twinaphex
3094e47820 Cleanup core_frame 2016-10-25 04:58:00 +02:00
Brad Parker
e49c31fe78 fall gracefully back to the menu if a dynamic core could not be loaded 2016-10-11 20:28: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
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
0d661ef6a2 Fix some backwards implementation in reporting serialization quirks 2016-10-04 23:07:35 -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
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
aliaspider
86d3e982ba add missing #ifdef HAVE_NETWORKING around core_set_netplay_callbacks() 2016-09-29 22:10:21 +01:00
twinaphex
9384875ab0 Don't use HAVE_NETPLAY any more 2016-09-29 21:07:10 +02:00
twinaphex
9d439622c0 (cheevos.c) Cleanups 2016-09-29 20:35:26 +02:00
Gregor Richards
03c9dab93a Adding a netplay menu
In this first cut, Netplay can be enabled "mid-stream", but not much
else is supported. Client reconnection and either-side disconnection are
listed in the menu but don't yet do anything.
2016-09-29 13:04:38 -04:00
Twinaphex
32ce489eed Get rid of unused variable 2016-09-16 20:35:38 +02:00
Gregor Richards
ad336df709 Reimplemented Netplay spectate mode
Spectate mode is now far more similar to net (normal) mode, and, more
importantly, it works. In addition, spectate mode will not fast-forward
to catch up with the server if it lags too far behind.
2016-09-15 23:06:32 -04:00
twinaphex
ebeb081562 Rewrite core_load_game 2016-09-11 19:46:13 +02:00
twinaphex
e10fb993ff (core_impl.c) Cleanups 2016-09-08 16:25:40 +02:00
twinaphex
5aaebcfa62 Header include cleanups 2016-09-08 06:07:43 +02:00
twinaphex
5222407408 Add HAVE_CONFIG_H ifdefs 2016-09-06 23:53:44 +02:00
twinaphex
c3ba0ba4e9 Revert "Refactor core_system_info_* functions"
This reverts commit f637805c9e.
2016-09-06 08:38:26 +02:00
twinaphex
f637805c9e Refactor core_system_info_* functions 2016-09-06 07:08:38 +02:00
twinaphex
82d82110ae Merge system.h with core.h 2016-09-06 06:11:54 +02:00
twinaphex
6ccf67057b Add 'core_is_inited' and 'core_is_symbols_inited' 2016-09-06 03:52:29 +02:00
Twinaphex
a1eff7930c Merge pull request #3496 from leiradel/master
added /info rest service to the embedded http server
2016-09-03 19:19:47 +02:00
Andre Leiradella
073d9aa7d1 added /info rest service to the embedded http server 2016-09-03 17:50:04 +01:00
twinaphex
4f577f1932 Get rid of some header includes 2016-09-01 05:36:52 +02:00
twinaphex
3669d44de9 Create core_uninit_symbols function 2016-07-23 07:06:32 +02:00
twinaphex
32c4f74f7d More translatable strings 2016-06-20 04:23:00 +02:00
twinaphex
aabb1e409c Move netplay code to network/netplay dir 2016-05-19 11:46:54 +02:00
twinaphex
4a7ab8366b Move libretro.h headers to libretro-common/include 2016-05-10 19:03:53 +02:00
twinaphex
6ae20f2016 Create managers/ dir - move cheats.c and state_manager.c to it 2016-05-09 18:20:52 +02:00
twinaphex
3722826e0a Rename netplay/ to network/ 2016-05-09 17:43:38 +02:00
twinaphex
372e7d94cd Rename rewind.c to state_manager 2016-05-09 07:14:10 +02:00
twinaphex
93d16aaba3 (audio driver) refactor functions 2016-05-08 18:00:32 +02:00
Hans-Kristian Arntzen
d723411436 De ioctl video_driver. 2016-05-08 14:00:51 +02:00
twinaphex
e165954395 Rename libretro_version_1 to core_impl 2016-05-08 05:29:10 +02:00