Commit Graph

89 Commits

Author SHA1 Message Date
twinaphex
e53d4987b4 Combine copy_load_info.c into retroarch.c 2019-07-16 01:56:09 +02:00
twinaphex
abcfcca1d2 Merge dynamic.c into retroarch.c 2019-07-10 09:54:25 +02:00
twinaphex
cfbeed0c29 Cleanups 2019-07-09 17:07:28 +02:00
twinaphex
0249661acc Rename camel case named variables 2019-07-09 17:02:10 +02:00
twinaphex
24a859fa16 Move secondary_core to retroarch.c 2019-07-09 08:09:40 +02:00
twinaphex
10c5331cc0 Move runahead dirty_input to retroarch.c - allows us
to make retro_ctx and current_core static
2019-06-20 10:08:32 +02:00
twinaphex
6bc1802914 Move run_ahead.c to retroarch.c - most of the runloop
should now be self-contained in one file. Allows us to
turn more functions static, remove more extraneous functions
that just consisted of a single line (mostly getters/setters), etc.
2019-06-20 09:30:44 +02:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
twinaphex
127bf556c7 Merge audio_driver.c into retroarch.c 2019-06-17 12:49:21 +02:00
twinaphex
a2919ca4b4 (Runahead) Cleanups 2019-06-09 06:15:16 +02:00
twinaphex
77e7bc7a1c Move stirng_list_clone to libretro-common 2019-06-09 06:10:28 +02:00
twinaphex
19721639bf Cleanup 2019-05-29 10:22:33 +02:00
twinaphex
43be7c384b (run_ahead.c) Fix signature 2019-05-29 10:20:53 +02:00
twinaphex
bcb474b3a3 (runahead) Cleanups - create core_free_game_info and move it to
core_impl.c - get rid of free_string_list and just reuse
string_list_free
2019-05-22 04:04:58 +02:00
orbea
552cc08549 Fix C89_BUILD. 2019-04-23 17:51:26 -07:00
twinaphex
b5a7020366 Cleanups 2019-04-23 21:15:15 +02:00
twinaphex
34f4d5ed0e Cleanups 2019-03-11 18:33:24 +01:00
orbea
0731c8f26f Fix warning with CXX_BUILD.
Thanks hhromic!
2019-02-08 09:57:26 -08:00
natinusala
c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
twinaphex
6879ba3ef8 Cleanup header 2019-02-02 05:09:29 +01:00
twinaphex
b6e9dbd92c (Android) Buildfix 2019-01-20 20:35:25 +01:00
Twinaphex
7c4fcb4960 Fix Xcode warnings 2019-01-20 02:37:05 +01:00
twinaphex
4f53e14f4f Header include cleanups 2019-01-20 02:26:33 +01:00
orbea
e062b98088 Remove trailing blank lines.
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
twinaphex
d412c9f8d4 Fix some CXX_BUILD errors 2019-01-12 18:30:06 +01:00
twinaphex
c98b2e2292 Buildfixes and more static code analysis warning fixes 2019-01-10 22:24:43 +01:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
radius
6e25978be5 try to fix #7811 2018-12-25 20:23:56 -05:00
Dwedit
1987b74179 Fixed random filename generator, no longer resets to the first value each attempt. 2018-09-23 14:20:25 -05:00
twinaphex
badac565da Take this out 2018-09-23 20:45:24 +02:00
Dwedit
a129cffbd6 Fix the dirty input system badly mishandling IDs out of the range of 0-35.
Now the state array is dynamic, and can handle any size.  The initial size is 256 elements (0-255, fixes FBA).

An arbitrary limit of 65536 IDs is currently in there, intended to detect invalid arguments.
2018-09-23 11:37:33 -05:00
twinaphex
3d611a2673 Update runahead - get rid of FREE macro 2018-09-15 06:41:37 +02:00
Dwedit
821462409e Deterministic input for RunAhead, guaranteed to match the last polled input. 2018-08-26 00:22:19 -05:00
gvbr
0addd1aca4 Runahead: ensure prefixed second-instance temp directory on linux 2018-07-17 20:06:18 -07:00
twinaphex
3799a33efa Silence warnings 2018-06-21 08:31:08 +02:00
twinaphex
fb2d27931d Fix some warnings 2018-06-20 16:21:53 +02:00
Dwedit
adbc71ce46 Change bounds to a const variable
Add one more bounds check
2018-05-28 12:14:04 -05:00
Dwedit
e8b381680a reformat spaces 2018-05-28 12:04:11 -05:00
Dwedit
becb6dee16 Fix out of bounds access in dirty_input code 2018-05-28 12:01:18 -05:00
Dwedit
432b320775 Fix full-screen mode change breaking Secondary Core's environment variables
* RunAhead: Remove Environment Hook from primary core
* Modify core option manager to trigger setting the secondary core's dirty environment flag
* RunAhead: Make secondary core's hook support that change, so it can turn off the dirty environment flag after reading a setting.
2018-05-12 22:11:49 -05:00
Dwedit
6154a843e0 Runahead error messages
* Add error messages for: Core not having savestates, load/save state failure, secondary core create failure
* Added messages for us locale, can be localized elsewhere
* Add a configuration setting to hide the initial warning message for core not having savestates
* Small code changes and cleanup for secondary core
* Fixed typo "destory" in dirty input code
2018-05-09 19:08:16 -05:00
Brad Parker
99e4271f29 fix null dereference when there is no runahead save state list 2018-05-01 19:19:35 -04:00
Dwedit
dd6eb92352 Two fixes for copy_load_info.c
* Additional check before copying data in clone_retro_game_info
* Sizes the dest string list in string_list_clone to capacity rather than size
2018-04-24 10:32:31 -05:00
Dwedit
af87a19675 Fix a silly bug in the code that tries copying the dll to 30 random files (should not return true at the end) 2018-04-17 23:25:26 -05:00
twinaphex
1751f4a0af Make it possible to read bigger files by replacing ssize_t with int64_t
and size_t with uint64_t
2018-04-13 00:18:11 +02:00
Twinaphex
08a54e45f2 Get rid of a lot of implicit conversions 2018-04-09 15:56:45 +02:00
twinaphex
3a4d094277 MSVC buildfix 2018-04-08 23:13:20 +02:00
twinaphex
1ce19f9573 Include header 2018-04-08 20:26:47 +02:00
twinaphex
460182fc63 Update runahead headers 2018-04-08 20:25:43 +02:00