Commit Graph

69 Commits

Author SHA1 Message Date
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
Alcaro
d97440224c Whoops, this is unrelated. 2014-02-18 09:00:44 +01:00
Alcaro
c51bfb7b4b Inline these functions. Should mostly work now... 2014-02-18 08:53:36 +01:00
Alcaro
e14c879bcb Trim off this; from now on, the rewinder is responsible for rounding and allocation. 2014-02-18 08:40:16 +01:00
Alcaro
3de355cdaf Copy over my rewinder to rewind.c. Apparently the makefile didn't pick it up, and telling it to do that would be a waste of time, since the plan is merging them anyways. 2014-02-18 08:37:41 +01:00
Alcaro
abb3a45a9a Fix alignment of this. 2014-02-18 08:16:33 +01:00
Alcaro
ae476a4c31 An attempt at hooking up RetroArch's machinery to my interface. 2014-02-11 21:11:27 +01:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex
d2c87e3039 Convert most C99-style for loop initial declarations to C89-compliant
ones
2013-10-22 15:08:17 +02:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
Themaister
ce740f8948 More fixups. 2012-04-21 23:31:57 +02:00
Themaister
aab8fb6151 ssnes_* => rarch_*. 2012-04-21 23:25:32 +02:00