Commit Graph

1190 Commits

Author SHA1 Message Date
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
Themaister 08f64edc84 Fix set_savestate_auto_index. 2012-10-11 22:54:07 +02:00
Themaister 9c462e19b7 Add basic turbo support. 2012-10-01 22:16:16 +02:00
Themaister d059d3fba2 Add feature logs in --feature. 2012-09-25 12:58:45 +02:00
Themaister c55f71c49d Shaders can be swapped out in command interface. 2012-09-21 21:56:54 +02:00
Themaister 102d30473e Shader directory looks for Cg/Cgp shaders. 2012-09-21 21:20:30 +02:00
Themaister d750acedf3 system_directory defaults to ROM directory.
Also fires off a warning about this ...
2012-09-18 23:48:50 +02:00
Themaister de2f5ba4ba Add experimental KMS/GLES framebuffer driver. 2012-09-16 21:41:09 +02:00
Themaister dac374605d Go back to block_size correctly after sync change. 2012-09-16 16:52:04 +02:00
Twinaphex 79a75a43db (retroarch.c) Replace some fprintf to stderr with RARCH_ERR 2012-09-16 06:06:05 +02:00
Themaister a8ab9c54bc Add --appendconfig option. 2012-09-11 00:10:44 +02:00
Themaister 4402fcb323 Should fix crash with --config. 2012-09-09 09:26:54 +02:00
Themaister d68f5424dc Add possibility to avoid screenshoting viewport. 2012-08-26 21:18:52 +02:00
Themaister ac99ffe46e Fix minor oops. 2012-08-26 00:17:22 +02:00
Themaister 3681e4a846 Terminate recording if resolution changes.
Simpler this way.
2012-08-25 22:48:09 +02:00
Themaister 304615510a Start adding GPU recording to FFmpeg. 2012-08-25 22:38:49 +02:00
twinaphex 6d5ed820e0 (Xbox 1/XDK) Screenshot code implemented 2012-08-20 03:30:36 +02:00
Themaister f0d9cc09c9 Add --dualanalog/-A flag. 2012-08-16 21:21:19 +02:00
Themaister 70fd5350dc Always build in h264 support. 2012-08-16 09:25:13 +02:00
Twinaphex 979e45ea66 Remove redundant log 2012-08-15 21:02:06 +02:00
Twinaphex bbe0f00059 (GX) Should save soft_display_filter to config file now
(CONSOLE) throttle mode will not be enabled if force_nonblock
is set to true
2012-08-15 21:00:23 +02:00
Themaister 405a901d18 Be more careful about overwriting global settings in driver init. 2012-08-15 20:43:26 +02:00
Themaister 45579376f0 Add exception for RETRO_DEVICE_KEYBOARD in input_state callback. 2012-08-12 10:01:35 +02:00
Themaister 1794aa6dff Do not call set_nonblock_state for FF buttons if vsync isn't activated. 2012-08-12 09:36:15 +02:00
Twinaphex 714837e8c0 (RARCH_CONSOLE) Namespaced all files in console/ 2012-07-28 15:54:35 +02:00
Themaister 38f7673fac Add command functionality to stdin. 2012-07-25 04:50:46 +02:00
Twinaphex c3d40d0f5a Snes exorcism 2012-07-07 17:19:32 +02:00
Themaister 7b12182a0f Add optional fixed point resampler. 2012-07-06 17:36:37 +02:00
Themaister c7179404e0 Fix embarassing memory leak. *hides* 2012-06-30 01:18:08 +02:00
Twinaphex f0026384d3 (Console) Rename console_ext.c to retroarch_console.c 2012-06-28 17:52:51 +02:00
Twinaphex a62893610e (PS3) don't use Griffin override for audio_flush anymore, but
do keep optimizations when we aren't using DSP audio plugins
2012-06-24 13:11:10 +02:00
Themaister 9f60e48a98 Redefine behavior of NULL in video_frame(). 2012-06-23 18:01:01 +02:00
Themaister 14f7f641f3 Refactor directory listing to greatly optimize sorting. 2012-06-23 15:32:46 +02:00
Themaister 951721d2ab Clean up ifdef properly this time ... 2012-06-22 19:03:46 +02:00
Twinaphex ce0422c780 Revert "Kill useless ifdef." - this breaks PS3/360 port -
so moving it back

This reverts commit f9c347cb0a.
2012-06-20 19:03:52 +02:00
Themaister f9c347cb0a Kill useless ifdef. 2012-06-20 09:53:32 +02:00
Twinaphex 8bd85e1bfe (PS3/360) Get rid of Griffin override for rarch_render_cached_frame 2012-06-20 07:39:20 +02:00
Themaister e71115151b Add libpng screenshot support. 2012-06-17 13:11:39 +02:00
Themaister 53f645ed0b Add SET_PIXEL_FORMAT environ. 2012-06-16 15:07:31 +02:00
Twinaphex df6a9a0f85 Set up dir_list_new so that we can use it for the 360/PS3 filebrowser 2012-06-10 03:50:06 +02:00
Themaister 9e650a9540 Add some clarifying comments on screenshots. 2012-06-09 10:29:50 +02:00
Themaister 19f0c04021 Add screenshot support from backbuffer. 2012-06-08 22:39:18 +02:00
Themaister b6ca3e0e33 More verbose logging on auto save states. 2012-06-02 22:32:27 +02:00
Themaister 7a4ef581a4 Add auto save state on end. 2012-06-02 21:34:26 +02:00
Themaister a0ec6da2a8 Allow sending UDP commands from RetroArch. 2012-06-01 15:15:06 +02:00
Themaister f600bf437c Move message queue out of RetroArch core's control. 2012-05-30 01:20:47 +02:00
Themaister 6d1198bf55 Make rarch_init_msg_queue() public. 2012-05-28 23:30:29 +02:00
Themaister 65b78348f0 Use HAVE_NETWORK_CMD 2012-05-27 14:23:30 +02:00
Themaister 0375de48a2 Add preliminary network command interface. 2012-05-27 14:12:29 +02:00
Themaister 802851ecf2 SHUTDOWN should exit RetroArch. 2012-05-22 20:25:03 +02:00
Themaister d2b55f38cd Add RETRO_ENVIRONMENT_SHUTDOWN. 2012-05-22 20:14:07 +02:00
Themaister 2b712f5f46 Avoid ifdef. 2012-05-22 15:34:53 +02:00
TwinAphex51224 7064abded5 (RARCH_CONSOLE) message queue needs to be inited long before
Retro arch main init function - also added some onscreen
messages to some of the settings for the 360 port
2012-05-22 04:14:28 +02:00
Themaister 1e0ef3d08d Be more strict about init ordering of netplay, movies and states. 2012-05-04 00:47:35 +02:00
Themaister 81c4d29064 Move parse_input() after setjmp init. 2012-05-04 00:14:42 +02:00
Themaister 0b0da3c335 Should fix netplay segfault. 2012-05-03 20:29:58 +02:00
Themaister dbfd847a60 Naming fixups. 2012-04-23 22:43:07 +02:00
Twinaphex 4893696e22 Use retroarch.cfg now 2012-04-22 01:45:55 +02:00
Themaister 109dc7a64f More changes to RetroArch. 2012-04-21 23:33:35 +02: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
Themaister 9ab51ad23a SSNES => RetroArch. 2012-04-21 23:17:43 +02:00
Themaister 3a7ad61879 Rename ssnes.c to retroarch.c. 2012-04-21 23:11:18 +02:00