Commit Graph

20 Commits

Author SHA1 Message Date
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
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
Dwedit
821462409e Deterministic input for RunAhead, guaranteed to match the last polled input. 2018-08-26 00:22:19 -05: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
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
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
4f32eb9cc1 (runahead) Style nits - no more '== NULL' 2018-04-08 01:36:30 +02:00
Dwedit
dd392dcdfb Remove malloc_zero, replace with calloc
Replace free_ptr with FREE macro
2018-03-29 13:22:20 -05:00
Twinaphex
2db0c21f52 Fix C11 typedef redefinition issues 2018-03-29 18:10:28 +02:00
twinaphex
76b025d70e malloc.h not available on OSX 2018-03-29 15:49:39 +02:00
twinaphex
2bdfd2e1d0 (Runahead) Cleanups / style nits / etc. 2018-03-29 15:13:33 +02:00
Dwedit
f5e0346fc2 Runahead system 2018-03-28 14:22:07 -05:00