112 Commits

Author SHA1 Message Date
twinaphex
de5869c69e rarch_main_idle_iterate only compiled in if HAVE_RARCH_MAIN_WRAP
is undefined
2012-12-18 08:51:25 +01:00
twinaphex
1564d04a1e Get rid of doubly #ifdef in retroarch.c 2012-12-18 07:46:40 +01:00
twinaphex
3570ba80d2 (Android) Move Android-specific pause functionality outside of
rarch_main_iterate
2012-12-18 03:18:53 +01:00
twinaphex
aab39626fe RARCH_PERFORMANCE_MODE - Small correction for conditional to do
with rendering rarch_cached_frame in do_state_checks
2012-12-17 23:04:47 +01:00
twinaphex
5eccdf2eee RARCH_PERFORMANCE_MODE - Skip all pause/oneshot checks 2012-12-17 22:45:29 +01:00
twinaphex
918052f5ba (Android) Rewrite activity_paused logic 2012-12-17 20:07:08 +01:00
twinaphex
8692ef204e (PS3) Cut down on usage of rmenu.enable variable - last stronghold
is Wii/GX
2012-12-17 08:24:45 +01:00
Themaister
05f8c54ed6 Move pausing logic outside rarch_main_iterate. 2012-12-15 20:44:59 +01:00
twinaphex
627fd567a9 (Android) Do Android pausing in a different way 2012-12-15 19:17:26 +01:00
twinaphex
04674fbba7 (PS3/XDK) Better way to toggle frame advance 2012-12-15 02:13:58 +01:00
twinaphex
0261d934f2 (RARCH_CONSOLE) Rework how we do RARCH_QUIT_KEY - right now used
for ports that define HAVE_RMENU - made compiling in the RMenu
GUI separate from the HAVE_RMENU logic
2012-12-15 01:14:21 +01:00
twinaphex
789674c97a Increment g_extern.frame_count after retro_run() 2012-12-14 20:34:57 +01:00
Themaister
2c41fe7288 Move log_fp to g_extern.
Rework logger macros to use g_extern.log_file is it's non NULL.
Otherwise, fallback to stderr.
2012-11-26 16:59:00 +01:00
twinaphex
e1ea973e58 Promote HAVE_FILE_LOGGER for all platforms 2012-11-26 02:46:40 +01:00
Themaister
8f9b68ad90 Add config file support to FFmpeg recording. 2012-11-23 22:46:36 +01:00
Themaister
a25dcf337c read_viewport can return false during video record. 2012-11-21 10:24:35 +01:00
Themaister
734fdc4bf6 Do not overwrite system dir path unless it's empty.
This should fix the issue on consoles where system_directory
is mysteriously overwritten.
2012-11-20 12:41:39 +01:00
twinaphex
212ae28cf6 (RARCH_CONSOLE) Add note again about serious functionality-breaking
'bug' for consoles
2012-11-20 05:12:08 +01:00
Themaister
86e21686f7 Refactor out buggy 'in-line' path handling. 2012-11-18 17:16:20 +01:00
Themaister
63604a3e57 Logging align nit. 2012-11-16 12:03:23 +01:00
Themaister
f643df4300 Log save ram more verbosely. 2012-11-16 11:47:39 +01:00
Themaister
9d2ca33b5b Do not attempt to start rewind if state_size is 0. 2012-11-09 20:26:12 +01:00
Themaister
aa6d291707 Style nits. 2012-11-05 11:57:40 +01:00
twinaphex
af648b6598 (Performance) Use one single unsigned variable instead of
multiple bools - also introduce bitmasks
2012-11-05 09:06:00 +01:00
Themaister
29158640e6 Slim down double ifdef. 2012-11-03 23:11:27 +01:00
twinaphex
46a4efd885 (Android) Better lifecycle management - getting close to restoring state 2012-11-03 19:06:55 +01:00
Themaister
91edc8ff49 Add volume control.
It imposes no performance loss as it is performed
during s16->float conversion.

It is however grouped together with check_mute.
2012-11-03 14:15:03 +01:00
twinaphex
e0e5e8cb1b (Android GLSL) MAX_PROGRAMS 8 instead of 16, MAX_TEXTURES 4 instead
of 8, PREV_TEXTURES 3 instead of 7
2012-11-03 09:35:18 +01:00
Themaister
0ac3ee7d31 Add input_hotkey_enable.
Adds a mechanism to toggle when hotkeys are enabled.
2012-11-02 23:26:29 +01:00
Themaister
6ce23c57df Fix x86_cpuid to preserve ebx for PIC. 2012-11-02 21:25:54 +01:00
Themaister
c6b50d2645 Add CPU feature detection for X86. 2012-11-01 22:31:24 +01:00
twinaphex
b0e4ca599c (PC/Linux) performance_android.c works for PC Linux too - refactor as
performance_linux and compile it in for Linux build (but don't yet use it)
2012-11-01 07:41:36 +01:00
twinaphex
b240cfbc7e (RARCH_PERF) Rename benchmark.c to perforance.c
(MSVC2010) Rename incorrectly named MSVC2012 solution which was
really an MSVC 2010 solution
2012-11-01 06:21:18 +01:00
Themaister
434089c0ac Fix indent. 2012-10-30 23:47:14 +01:00
twinaphex
1902763f67 Performance counters for audio 2012-10-30 23:46:01 +01:00
Themaister
fbfbf1ed6a Log performance counters at the end. 2012-10-30 23:28:54 +01:00
twinaphex
253741ccf5 (Android) Apply the same performance optimizations for RARCH_CONSOLE
to Android - call this compile-time option 'RARCH_PERFORMANCE_MODE'
2012-10-30 20:31:34 +01:00
Themaister
81a6328c62 Fix segfault in GPU screenshot path. 2012-10-28 00:59:12 +02:00
Themaister
1908a81e1c Add RETRO_DEVICE_POINTER.
Implemented only for X11 so far.

Also clears up viewport_size call.
Changed to viewport_info to also grab X/Y info.
2012-10-28 00:38:31 +02:00
twinaphex
dc767c521e (RARCH_CONSOLE) Bad regression broke SYSTEM_DIRECTORY getter/setters for libretro
cores on consoles
2012-10-22 18:54:21 +02:00
Themaister
668ff7687e Let CPU filters work with any format. 2012-10-21 22:59:13 +02:00
Themaister
a545964be8 Fix crash on frame dupe. 2012-10-21 11:17:21 +01:00
Themaister
93078889cc Begin reworking RGB565 as default pixel format. 2012-10-20 01:12:02 +02:00
Themaister
7ee9b8537f Actually load and not save SGB ram. 2012-10-17 08:46:56 +02:00
twinaphex
608d3718a3 (Android) Android does not redirect stderr to the logger - so we
need to wrap all stderr fprintfs - this will help for Xbox 1 too
which also doesn't redirect stderr
2012-10-16 13:57:35 +02:00
Themaister
d8d3442b29 Make rarch_main() the *real* entry point. 2012-10-15 21:50:22 +02:00
twinaphex
5ffab01827 (Android) Add g_android global struct - EGLDisplay, EGLContext
and EGLSurface in this struct are temporarily and all code
will be moved to EGL context file
2012-10-15 08:57:23 +02:00
twinaphex
174c7d9d98 (RARCH_CONSOLE) g_console struct removed now - console settings
now a part of g_extern and also compiled in for PC - will use
this for RMenu
2012-10-15 06:25:12 +02:00
twinaphex
fc17456581 (RMenu / RARCH_CONSOLE) Move more g_console state to g_extern 2012-10-14 20:34:16 +02:00
Themaister
b8abf34785 Purge some now useless code.
Removes manual input rate adjustments.
Don't allow DSP plugs to resample as it would complicate things alot
with dynamic rate control.
Also purges optional ssnes_* symbols for external plugs.
2012-10-13 20:22:45 +02:00