Commit Graph

73 Commits

Author SHA1 Message Date
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
twinaphex
c570d461af Cleanups 2018-04-08 02:01:37 +02:00
twinaphex
d58c425e43 Cleanups 2018-04-08 01:56:06 +02:00
twinaphex
2ca52bd08c Remove memcpy_alloc 2018-04-08 01:41:41 +02:00
twinaphex
4f32eb9cc1 (runahead) Style nits - no more '== NULL' 2018-04-08 01:36:30 +02:00
twinaphex
8e4df27305 (runahead) Cleanups 2018-04-08 01:28:17 +02:00
twinaphex
9e07e1a57f (runahead) Buildfix 2018-04-08 01:20:55 +02:00
twinaphex
360bea85b9 (PS3) Silence more warnings 2018-04-08 01:09:31 +02:00
Dwedit
cb74af60c9 one line typo 2018-04-06 20:14:29 -05:00
Dwedit
ee0afec787 Fix build errors on machines without HAVE_DYNAMIC 2018-04-06 20:08:18 -05:00
Dwedit
f37ed2f7e1 Move callback init calls to before set_controller_port_device calls. 2018-04-05 15:42:20 -05:00
Dwedit
e42edbf032 Move Callback Init calls to after load content (fixes Mesen crashing) 2018-04-05 15:34:27 -05:00
Dwedit
a275242aef C89 compliance and line spacing rules 2018-04-01 17:54:03 -05:00
Dwedit
78c8a9b197 Make RETRO_ENVIRONMENT_GET_VARIABLE_UPDATE work on the secondary core 2018-04-01 17:34:54 -05:00
Dwedit
6b77a66298 get rid of the unnecessary typedef 2018-03-31 00:55:37 -05:00
Dwedit
15472eb184 Stop savestate transmission in netplay 2018-03-31 00:45:20 -05:00
Dwedit
ec6d6e58d6 Fast Savestate and Hard Audio Disable flags 2018-03-30 20:35:52 -05:00