Commit Graph

80 Commits

Author SHA1 Message Date
twinaphex
eae59d6424 Cleanups 2015-07-02 05:18:41 +02:00
twinaphex
018c685b09 C89_BUILD fixes 2015-06-29 21:39:00 +02:00
twinaphex
cc300120be (rewind.c) Get rid of unused variables 2015-06-27 17:26:35 +02:00
Alcaro
e71d8f852a Split these functions out. ctult needs them for netplay. 2015-06-27 04:53:37 +02:00
twinaphex
33d966a9d6 (rewind.c) C89 fixes 2015-06-26 19:55:09 +02:00
twinaphex
d532fb4979 (General) Cleanups pt. 3 2015-06-12 17:10:16 +02:00
twinaphex
e67f3f246d Rearrange header include dependencies 2015-06-02 17:17:46 +02:00
twinaphex
398570f017 Move audio callback to audio_driver.c 2015-05-19 21:35:40 +02:00
twinaphex
40c64b3302 Move init_rewind to rewind.c 2015-04-11 13:36:33 +02:00
twinaphex
eb45079cbe Remove useless return in function 2015-03-22 08:02:40 +01:00
twinaphex
1dbbe685cd Start using retro_inline.h for rewind.c 2015-03-15 04:28:53 +01:00
twinaphex
38fdfe2f47 rewind.c - declare variables at top 2015-01-09 21:39:44 +01:00
twinaphex
453321c50b Start updating headers 2015-01-07 17:46:50 +01:00
Lioncash
99c2e1bf43 rewind: Change tabs to spaces 2014-09-23 08:16:54 -04:00
Lioncash
f8499aa71a Sanitize against NULL in some free-like functions. 2014-09-15 09:30:27 -04:00
twinaphex
958c4cb5e0 (rewind.c) style/indent nits 2014-09-15 06:14:42 +02:00
twinaphex
5b476460d8 Style / indent nits 2014-09-09 18:31:44 +02:00
twinaphex
0856091296 Cleanups - 80-char limit 2014-09-02 05:57:53 +02:00
Themaister
520c5534c1 Nit in comment. 2014-02-23 11:13:05 +01:00
Themaister
883708df0f Merge git://github.com/Alcaro/RetroArch into alcaro
Conflicts:
	retroarch.c
	rewind.c
2014-02-23 11:10:25 +01:00
Alcaro
1748442199 And undo, due to coding style and changed interface. 2014-02-22 19:21:55 +01:00
Alcaro
f055060878 Switch to master copy, in case anyone wants to compare. 2014-02-22 19:21:26 +01:00
Alcaro
5caca3539f Typo. 2014-02-22 18:56:36 +01:00
Alcaro
30477c2518 Even if SSE doesn't gain us anything, going 32bit is a clear win. 2014-02-22 18:33:47 +01:00
Alcaro
9d8bf3cffa Nit. 2014-02-22 17:27:50 +01:00
Alcaro
568226ca1f Increase size of ignored buffer space at the end. 16 bytes at the time means 16 bytes of buffer space. 2014-02-22 17:15:28 +01:00
Alcaro
8133e9b41d Match the type declaration in GCC. 2014-02-22 17:13:35 +01:00
Alcaro
8845d890d5 MSVC compat. 2014-02-22 17:11:04 +01:00
Alcaro
527b830765 Break out the second hottest loop too. We're not enabling SSE, though; I'm not seeing any improvements from that. I suspect the low number of iterations in that loop outweighs the advantages of SSEing it. 2014-02-22 17:09:36 +01:00
Alcaro
8c3a330f5c Switch to SSE2 for the hottest loop. 2014-02-22 17:02:49 +01:00
Themaister
89cf3de78c Add compat for __builtin_ctz.
Win32 seems to have __lzcnt, but not __tzcnt ... <_<
2014-02-22 13:29:05 +01:00
Themaister
d896d0f6e4 Optimize state_manager_push a bit.
Avoid redundant memcpy and SSE2 memory diff search.
Might get replaced by Alcaro's implementation soon though.
2014-02-22 13:13:18 +01:00
Alcaro
7d22eae00b Fix miscount. 2014-02-22 12:36:07 +01:00
Alcaro
df4ff9718b Declare this one constant. Altering it will make further pulls yield garbage. 2014-02-21 21:51:58 +01:00
Alcaro
ef8d2ceb0f Convert this one to an out parameter, to match state_manager_pop. 2014-02-21 21:42:05 +01:00
Alcaro
a7588fdc0c More style fixes. Fix C++ build. 2014-02-21 18:21:48 +01:00
Alcaro
5e1d558bb2 Add myself to this list. 2014-02-21 18:15:18 +01:00
Alcaro
c5e353117d This took three hours to figure out. 2014-02-21 17:57:00 +01:00
Alcaro
0e5c9d9c1e And on top of that, we lost a dependency. 2014-02-21 14:25:39 +01:00
Alcaro
8f7d879dae Copy this optimization from the decompressor. 21288ms -> 20547ms, 3% faster! 2014-02-21 14:25:09 +01:00
Alcaro
60233b4a52 Use rarch's standard pointer declarations. I don't like that style, but since this isn't my projects, consistency wins over my ideals. 2014-02-21 14:08:54 +01:00
Alcaro
b966b3fb24 That should be all the comments. 2014-02-21 14:06:19 +01:00
Alcaro
f7bd915671 More comment cleanups. 2014-02-21 14:00:45 +01:00
Alcaro
6e585bb797 Fix grammar here too. 2014-02-21 13:53:03 +01:00
Alcaro
69aa0f84b0 Clean up grammar properly (forgot saving). 2014-02-21 13:52:12 +01:00
Alcaro
c8925dd487 Clean up grammar. 2014-02-21 13:52:02 +01:00
Alcaro
c35634d704 Clarify this comment. 2014-02-21 13:50:20 +01:00
Alcaro
28e525a488 Fix crash on large savestates (e.g. snes9x); I missed that spot when making this endian save. That took quite a while to find. 2014-02-18 21:50:54 +01:00
Alcaro
62e8b0b828 RetroArch seems to want those asterisks on this side of the spaces... might as well fix the interfaces, at least. 2014-02-18 09:10:46 +01:00
Alcaro
9797953e31 Change to use RetroArch's indentation style. 2014-02-18 09:06:53 +01:00