Flyinghead
e52f90926d
Close the audio driver after unloading the game to avoid blocking threads that are pushing audio
2018-08-14 00:16:08 +02:00
Dwedit
41ce61974d
A hack to invalidate the frame_cache_data
pointer during the following events:
...
Load Game, Reset, Init, Unload, Unload Game, Video Driver Destroy, Video Driver Free, Video Driver Init
This prevents an invalid pointer from being read if the first frame starts out paused.
2018-07-06 09:53:31 -05:00
Dwedit
80b8410b0f
Forgot to initialize controller port map, this caused VBA-M to crash when creating the secondary core. Now fixed.
2018-03-31 12:15:14 -05:00
twinaphex
c041470bb0
Add HAVE_RUNAHEAD ifdef
2018-03-29 15:38:22 +02:00
twinaphex
1b0420807b
(Griffin/MSVC) buildfixes
2018-03-29 15:15:47 +02:00
Dwedit
f5e0346fc2
Runahead system
2018-03-28 14:22:07 -05:00
twinaphex
3fbed8df27
(Menu) Menu driver no longer uses a duplicate system info
...
struct
2017-05-28 17:21:57 +02:00
twinaphex
e5059a237a
Cleanups
2017-05-21 10:34:50 +02:00
twinaphex
c1493eb579
Cleanup
2017-05-21 10:31:25 +02:00
twinaphex
a0924a414f
Get rid of some unnecessary function callback wrapper functions
2017-05-21 09:30:32 +02:00
twinaphex
f653cf4e7c
Make these variables part of this struct
2017-05-21 09:07:35 +02:00
twinaphex
8c89ec158c
Update copyrights
2017-03-22 03:09:18 +01:00
twinaphex
018cb7ebe6
Add another parameter to content_get_status
2017-01-25 15:51:57 +01:00
twinaphex
361bd471de
Create content_get_status
2017-01-25 15:44:21 +01:00
twinaphex
4b01726f48
(video driver) Minor cleanups
2017-01-25 15:22:12 +01:00
Alcaro
6ff36461b4
Fix #4493 in a less incompatible way
2017-01-25 00:34:58 +01:00
twinaphex
e8f550b528
Use string_is_empty inside core_impl.c
2017-01-24 16:08:25 +01:00
twinaphex
5be98cc87c
Header include buildfix
2017-01-23 16:17:57 +01:00
twinaphex
8e53dffdef
core_impl.c - some cleanups
2017-01-23 14:50:00 +01:00
twinaphex
9a263b98ff
(core_impl.c) Remove some header includes
2017-01-09 02:04:47 +01:00
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