Commit Graph

93 Commits

Author SHA1 Message Date
Alcaro
519765c6ce Add this rewind debug mode. (The previous commit fixes libretro/snes9x-next#62, forgot linking it.) 2015-11-04 20:21:22 +01:00
Alcaro
65a97a6a87 Well I didn't expect bugs here. How long has that math been wrong? 2015-11-04 20:18:09 +01:00
Andre Leiradella
5fce3f4138 grouped core functions inside a retro_core_t structure; swapped core function globals by one retro_core_t variable 2015-10-06 14:34:09 -03:00
twinaphex
4ca5d31f9b Some more static code analysis nits when ran with enable=all 2015-09-28 18:12:02 +02:00
twinaphex
415b827a82 (rewind.c) Style nits 2015-09-27 02:28:21 +02:00
twinaphex
2b840c0384 Refactor perf counters 2015-09-20 10:02:59 +02:00
twinaphex
576626ead0 Refactor frame_is_reversed - shader drivers should no longer
be dependent upon global state
2015-09-16 11:14:43 +02:00
twinaphex
557347fba6 Revert rewind.c 2015-09-15 19:02:39 +02:00
twinaphex
872314f910 Use UINT_FAST16_MAX/UINT_LEAST32_MAX 2015-09-15 18:59:40 +02:00
twinaphex
e1c1917ed5 Cleanup headers 2015-09-05 19:24:21 +02:00
twinaphex
4ebfe7a779 Cleanups 2015-09-04 21:11:00 +02:00
twinaphex
a3a26099b2 (rewind.c) Style nits 2015-07-02 18:24:55 +02:00
twinaphex
e0bf3b4ae4 (rewind.c) Updates 2015-07-02 18:23:18 +02:00
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