Commit Graph

4006 Commits

Author SHA1 Message Date
meancoot 149a0f37d0 (Overlay Analog) Coding style fixes 2013-09-05 18:19:07 -04:00
meancoot 21388592ea (Overlay) Add basic analog support 2013-09-05 11:38:00 -04:00
twinaphex 3adfefed24 Fix build (to do with removing RARCH_PERFORMANCE_MODE ifdefs) 2013-08-25 23:38:43 +02:00
twinaphex add527e3d2 Get rid of RARCH_PERFORMANCE_MODE 2013-08-25 22:18:57 +02:00
twinaphex 95f5e6aa96 Add RETRO_ENVIRONMENT_EXEC_ESCAPE -yes, I need this - when we are in
retro_run - we need to escape first before we can get the next libretro
core with input data running. This is not needed when we do exec without
being in the main program loop. Anyway, one does not work for the other -
so we need both.
2013-08-25 19:42:24 +02:00
twinaphex 6a3303d2b4 Need to put extra conditional in when triggering ENVIRON EXEC to
get out of the main iterate loop once so that it can start up
the next core with params
2013-08-25 15:51:42 +02:00
Themaister 9e4cee5b30 Add support for fast forward frame limiting. 2013-08-11 01:09:10 +02:00
Themaister e8271031b6 Stop/start audio driver on mute. 2013-08-11 01:09:10 +02:00
Themaister a543b5da74 Fix threaded audio race conditions. 2013-08-11 01:07:59 +02:00
Themaister bb0993b6eb Fix Android build. 2013-08-11 01:07:30 +02:00
Themaister 8b655f491a Add slow motion check to frame time. 2013-08-11 01:05:33 +02:00
Themaister 6a82db13d5 Fixups for frame time callback. 2013-08-11 01:05:33 +02:00
Themaister f4a23115c2 Begin adding AUDIO_CALLBACK/FRAME_TIME_CALLBACK. 2013-08-11 01:05:33 +02:00
Themaister 3dd5cd39c4 Add cache_context/destroy notification. 2013-08-11 00:55:05 +02:00
Themaister e18af77412 Add path to cache GL context on reinit.
If successful, can avoid libretro GL reset context callback being
called.
2013-08-11 00:53:19 +02:00
twinaphex 2323cee6a7 Get rid of MODE_EXIT 2013-07-27 20:34:06 +02:00
twinaphex d215a2a0f5 remove ifdefs around puts PACKAGEVERSION line 2013-07-04 15:06:28 +02:00
twinaphex 77d5190a01 (OSX) Make dummy context file - compile in RetroArch with Griffin 2013-07-04 15:01:38 +02:00
Themaister 40046531f3 Should fix GPU screenshots if last frame was duped. 2013-06-22 00:38:00 +02:00
Themaister 312154d110 Use common rarch_take_screenshot in RGUI.
Adds GPU screenshot support from RGUI by rendering a clean frame
then taking screenshot.

Should also fix screenshot crash when using GL cores.

Always uses g_settings.screenshot_directory path.
I didn't see the purpose of the RARCH_CONSOLE #ifdef. Probably a Wii
hack from way back ...
2013-06-16 13:44:07 +02:00
Themaister 9406b0a771 More explicit logging of FBO errors. 2013-05-18 16:51:10 +01:00
Themaister a9d322350b Clear out all of g_extern.system.
Should clear out all the silly bugs where some interfaces are not cleared out on
reentrancy.
2013-05-07 01:52:53 +02:00
twinaphex 092b2625dd (RMenu/RGUI) Drop MODE_MENU_INGAME 2013-05-05 15:20:45 +02:00
Themaister 99990173cc Can load without ROM in RGUI (HAVE_DYNAMIC).
Not sure how this will work on RARCH_CONSOLE, but it'll probably be
checked for in startup on core load somehow and either start in menu or args->no_rom.
2013-05-02 14:46:05 +02:00
Themaister 197c4db204 Add RETRO_ENVIRONMENT_SET_SUPPORT_NO_GAME.
Allows libretro core to not require a ROM to be loaded.
Kill stdin ROM loading support (pointless these days).
Replace "no ROM on CLI" behavior to be attempting to load a core with no
ROM.
2013-05-01 00:59:43 +02:00
Themaister 1cab391be8 Add SRAM autosave option to RGUI. 2013-04-29 16:12:15 +02:00
Themaister 767ad59857 Support disk append. 2013-04-27 15:49:29 +02:00
Themaister 9e2392051d Refactor libretro device type handling.
Show devices in RGUI.
2013-04-27 12:32:30 +02:00
Themaister 9eda39417f Refactor out disk swapping functions. 2013-04-27 12:03:13 +02:00
Themaister 50c704933a Remove debugging logs. 2013-04-27 00:00:51 +02:00
Themaister ac6c576d29 Drop dependency on delay_timer in RGUI. 2013-04-26 23:52:29 +02:00
Themaister a92ff2a23a Reset optind to 0, not 1.
Seems to cause strange issues ...
2013-04-26 23:06:43 +02:00
Themaister 0e61461c07 Should fix very strange flickering bug. 2013-04-22 21:10:17 +02:00
Themaister 44476bdbfb Logging main_wrap. 2013-04-22 20:35:45 +02:00
Themaister 846557ba21 Start menu if ROM is not passed to rarch_main_wrap. 2013-04-21 01:12:30 +02:00
Themaister 610f33962a Add fullscreen toggle to RGUI.
Drop hotkey handling. Needed to add delay timer hackery in that case.
2013-04-21 00:01:49 +02:00
Themaister fa5e8b646c Preserve sram/state dir on reentrancy. 2013-04-16 12:22:27 +02:00
Themaister 476d6cef88 Set has_set_*_path on reentrancy. 2013-04-16 09:41:47 +02:00
Themaister 8c58ff191a Fix strange use of pointers in screenshot code. 2013-04-14 23:14:38 +02:00
Themaister 0ca210f99d Document behavior with no args. 2013-04-14 22:41:43 +02:00
Themaister 7923ac4849 If run with no args, start menu. 2013-04-14 19:23:42 +02:00
Themaister c9a02273bb Check for fullscreen in RGUI. 2013-04-14 16:40:17 +02:00
Themaister 1395c32937 Add dummy core loading. 2013-04-14 16:29:30 +02:00
Themaister f968ee6527 Refactor nonblock states.
Preserve nonblock state better across reinits, etc.
Try to keep vsync in RGUI.
2013-04-14 00:56:55 +02:00
Themaister e389220df8 Refactor frame_counter.
Graphics drivers get the task of updating this.
If threaded driver is used, main thread cannot update the counter
due to race conditions.
2013-04-13 14:28:12 +02:00
twinaphex da8bbde11d Simplify some _WIN32 includes 2013-04-11 22:35:15 +02:00
Themaister f88ea04c28 Remove fixed shader index in set_shader. 2013-04-07 13:00:21 +02:00
Themaister cf92211254 Update overlay when in RGUI. 2013-04-04 23:10:38 +02:00
Themaister 77164d18ca Begin adding core options interface. 2013-04-04 13:58:30 +02:00
Hans-Kristian Arntzen ebd7dcf721 Merge pull request #169 from Themaister/gl-render
HW GL render for libretro.
2013-03-30 06:33:53 -07:00
twinaphex 39c0ed745c (PS3) Get rid of QUICKMENU_TOGGLE define - was surpassing 64 entries
on PS3 - now going to do 'menu toggle behavior' logic instead -
menu toggle now triggers ingame menu - will be configurable
2013-03-30 07:19:42 +01:00
Themaister 292bc36b43 Basic mouse grabbing for X11. 2013-03-29 18:55:54 +01:00
Themaister 4bcc566afb Fix some possible segfaults with HW render. 2013-03-28 12:27:40 +01:00
meancoot 2a4573854e (iOS) Load BTstack dynamically; no more separate nobtstack xcode scheme. 2013-03-18 20:32:24 -04:00
Themaister 51b5a2df5c Refactor aspect_ratio member.
Mutate in g_extern.system.aspect_ratio to avoid
getting wrong aspect ratio on reentrancy.
2013-03-17 22:05:15 +01:00
twinaphex d67e4da4db Revert "Can't have hardcoded binds structs for 8 players"
This reverts commit 2579af2764.
2013-03-16 17:51:28 +01:00
twinaphex 2579af2764 Can't have hardcoded binds structs for 8 players 2013-03-16 17:33:18 +01:00
Themaister e3c85b174c Can toggle rewind enable in runtime. 2013-03-16 14:28:34 +01:00
Themaister 0b8d8c41f7 Don't use QUICKMENU for RGUI.
Doesn't seem to be used.
2013-03-16 11:11:36 +01:00
Themaister 12cc1c43d4 Can almost run RGUI on PC.
Input in menu is broken. Binds are set up wrongly for PC.
2013-03-16 10:35:22 +01:00
twinaphex 039fc644d5 Revert "Menu toggle without delay timers (more testing might be needed -"
This reverts commit 54a6175a55.
2013-03-11 02:07:50 +01:00
twinaphex 54a6175a55 Menu toggle without delay timers (more testing might be needed -
tested on PS3 RMenu and seemed to work well enough)
2013-03-11 01:12:19 +01:00
Themaister 384212470a Avoid delay timer in rarch_main_iterate. 2013-03-10 21:13:55 +01:00
ToadKing eb82bd2127 implement driver.current_msg
fix RGUI to no longer use driver.video_data casting
2013-03-10 16:02:10 -04:00
twinaphex 9d9eb90574 Drop another HAVE_RMENU ifdef in retroarch.c 2013-03-09 17:04:18 +01:00
twinaphex 0b6e5a6388 Rename RARCH_RMENU_TOGGLE to RARCH_MENU_TOGGLE 2013-03-09 16:14:26 +01:00
twinaphex af7430b767 Get rid of some extraneous HAVE_RMENU ifdefs in retroarch.c 2013-03-09 15:24:15 +01:00
Themaister 4bca26097c Clarify branch intention better. 2013-03-09 11:00:00 +01:00
Themaister 272ef70895 Merge branch 'master' into cd-swap 2013-03-09 09:27:14 +01:00
ToadKing dbea6f3614 fix closing menu on android
(MIGHT REQUIRE CHANGES TO CONSOLES)
2013-03-07 14:39:08 -05:00
twinaphex a23bc3a13f Control flow change for RGUI/RMENU - no longer have to invoke RARCH_QUIT_KEY to toggle menu 2013-03-07 19:02:44 +01:00
twinaphex 7b96cf8db3 (Android) Blank in input_poll_func() for HAVE_ASYNC_POLL 2013-03-04 13:29:04 +01:00
twinaphex 42fe25b3b7 (Android) Drop this ifndef - to allow input overlay poll to still happen 2013-03-04 11:57:48 +01:00
twinaphex ab6135c9d5 (Android) Define HAVE_ASYNC_POLL for Android (will likely be used for other
mobile platforms as well)
2013-03-04 11:52:58 +01:00
Themaister cae578fe73 Refactor Android-specific polling logic. 2013-03-03 18:20:05 +01:00
twinaphex 28c9f51913 (Android) Rewrite new input code some more 2013-03-03 11:22:59 +01:00
twinaphex ec114db356 (Android) Reimplemented input loop - better throughput/latency 2013-03-02 23:53:06 +01:00
Themaister 7fadee0da3 Let $XDG_CONFIG_HOME fallback to $HOME/.config.
Use the specification more correctly. Keep fallback to
$HOME/.retroarch.cfg.
2013-02-26 18:46:07 +01:00
Themaister 9370ae9dee Should fix OSX.
main() must be hacked by SDL_main.
2013-02-26 08:43:32 +01:00
twinaphex f72a505dbe Split up main() function to frontend/frontend.c 2013-02-25 07:01:16 +01:00
twinaphex 49b0f5c204 Add HAVE_RARCH_MAIN_IMPLEMENTATION define - hook up console ports
differently
2013-02-25 06:47:26 +01:00
twinaphex 6ac16781b6 (Playbook) Down to one compile error 2013-02-25 02:44:56 +01:00
Themaister e3dfba2c34 Add preliminary disk swapping interface.
Works with Mednafen's disk swapping model.
2013-02-21 23:44:07 +01:00
Themaister 0c6e456e65 Merge branch 'master' into thread_video 2013-02-17 15:49:58 +01:00
Themaister 041bfecf21 Avoid "double-tapping" overlay on overlay_next. 2013-02-17 15:00:38 +01:00
Themaister 034c553ff6 Merge branch 'master' into thread_video
Conflicts:
	console/griffin/griffin.c
2013-02-17 13:25:41 +01:00
twinaphex 5cb9713aae Don't compile in autosave for consoles 2013-02-17 02:00:51 +01:00
Themaister 76bf41188a Add video_threaded option to Android. 2013-02-17 00:26:17 +01:00
Themaister 4e1387ce25 Fix Win32 MSVC 2010 build. 2013-02-09 10:39:23 +01:00
Themaister d33d2e9f0c Make resamplers more modular. 2013-02-08 11:49:51 +01:00
Themaister 27d57b789a Add basic FPS measurement routines. 2013-02-04 21:46:56 +01:00
Themaister 6f8190ea0b Add savestate_auto_load option. 2013-01-24 19:24:40 +01:00
Themaister 77207332f1 Use NEON conditionally in SINC. 2013-01-24 18:30:37 +01:00
Themaister 40300e502b Fix regression in patching when zlib CRC32 is used. 2013-01-24 16:49:23 +01:00
twinaphex bfec64104c (RARCH_CONSOLE) Shorter title_buf for consoles - will fit better within Xbox 1
screen estate dimensions
2013-01-23 03:20:58 +01:00
ToadKing 6d174dcc3b (Console) don't delete the wrong file on when loading a second rom after loading one in a zip file 2013-01-21 20:18:11 -05:00
Themaister b90490f425 Add zip loading support to core. 2013-01-21 23:52:47 +01:00
Themaister e04217e373 Refactor where ROM is loaded. 2013-01-21 21:01:12 +01:00
Themaister ef9825c6bd Use simpler way to check if path is empty. 2013-01-21 20:48:05 +01:00
Themaister f073eefe80 Remove libpng from quickbuild. 2013-01-19 02:36:37 +01:00
Themaister 2443a761fc Merge branch 'master' of github.com:Themaister/RetroArch 2013-01-18 19:23:12 +01:00
twinaphex 7cfc60f374 Do fill_pathnames after init_rom_file - needed for ZIP file
extraction code (for Android/RARCH_CONSOLE)
2013-01-18 19:11:41 +01:00
Themaister 019959a012 Add audio buffer statistics measurement. 2013-01-18 10:38:43 +01:00
twinaphex ae9a1167b7 (RARCH_CONSOLE) Refactored sram_dir_enable / state_dir_enable setting -
also fixed a reentrant bug to do with set savestate dir/set sram dir
boolean variables in parse_input
2013-01-13 04:12:10 +01:00
twinaphex 04cacb5e30 Upgrade lifecycle_menu_state to 64bit variable lifecycle_mode_state 2013-01-12 03:13:03 +01:00
Themaister 312980ee30 Add support for full-screen overlays. 2013-01-11 16:23:04 +01:00
Themaister e35c6375ee Fix C++ incompatibilities in retrolaunch. 2013-01-11 11:51:52 +01:00
twinaphex a8cbbeb17c (RMenu)Everything to do with lifecycle_menu_state is mostly RMenu-only 2013-01-11 04:41:57 +01:00
twinaphex 7411d140f8 Fix PC build 2013-01-11 04:39:24 +01:00
twinaphex 6e1fbafb30 (RARCH_CONSOLE) Easier flow control 2013-01-11 02:32:21 +01:00
twinaphex b5e82dae59 (RARCH_CONSOLE) Refactor ingame_menu.enable variable 2013-01-10 20:29:07 +01:00
twinaphex 7a3b021b17 g_extern.console.rmenu.mode becomes g_extern.lifecycle_menu_state 2013-01-10 18:04:04 +01:00
twinaphex 6ad5d46781 (RARCH_CONSOLE) rmenu.mode is now set with bitmasked values so
as to allow more state management options
2013-01-10 08:46:46 +01:00
twinaphex d36af814c6 Reintroduce block_config_read 2013-01-10 06:45:44 +01:00
twinaphex cc71a83fa8 (RARCH_CONSOLE) Console ports now use config_load for loading
config file stuff and config_set_default as only place to load
defaults from. Slightly messy defaults will be cleaned up later.
2013-01-10 06:38:19 +01:00
Themaister f739fc875e Don't compile in null drivers for CLI. 2013-01-09 11:26:21 +01:00
twinaphex 9c67f3a6ac refactor out rarch_console_get_rom_ext - use this for PC too
since RMenu depends on it and it will run on that as well
2013-01-09 07:07:46 +01:00
twinaphex 05ec28aef5 Make init_system_info function public 2013-01-08 22:52:56 +01:00
Themaister 5bf9eeb802 Move some RARCH_CONSOLE stuff around. 2013-01-08 23:22:08 +01:00
twinaphex 1fb34c9dd5 (RARCH_CONSOLE) Console driver initing/deiniting 2013-01-08 22:17:38 +01:00
twinaphex bc4e010a96 (RARCH_CONSOLE) frontend_console cleanups 2013-01-08 08:11:05 +01:00
ToadKing f33ed73671 (Consoles) re-add second timer for scroll delays 2013-01-07 23:58:00 -05:00
Themaister 551a464978 Rework index parameter to set_shader(). 2013-01-08 04:08:15 +01:00
twinaphex fe62828fb1 (RARCH_CONSOLE) Refactor timer code 2013-01-08 00:35:49 +01:00
twinaphex b56b645366 Rename RARCH_SHADER_BSNES to RARCH_SHADER_GLSL 2013-01-07 17:03:10 +01:00
twinaphex 3a5d056b95 Expand functionality of set_shader callback function 2013-01-07 16:46:26 +01:00
twinaphex aaebc0be3d (RARCH_CONSOLE) Add #ifdef HAVE_DYNAMIC for libretro dynamic
library argv
2013-01-06 04:11:24 +01:00
twinaphex 66dfceabe1 (RARCH_CONSOLE) Build fixes + rarch_main_init_wrap needs to be
always compiled in and not ifndef HAVE_RARCH_MAIN_WRAP
2013-01-06 03:50:55 +01:00
Themaister 9df3b56413 Refactor main_wrap out to core. 2013-01-06 03:06:47 +01:00
Themaister 6e0e221f1b Verify that NEON code isn't run for non-NEON. 2013-01-06 00:20:26 +01:00
Themaister 9a3c66c0fd Style nit. 2013-01-05 23:58:28 +01:00
twinaphex 02514d509e Add main_is_init conditional 2013-01-05 23:44:49 +01:00
Themaister 276b588217 Add custom xml parser. Use as fallback. 2013-01-02 15:18:42 +01:00
Themaister 0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
Themaister 7458f7888f Set up multitouch querying. 2012-12-27 12:26:13 +01:00
Themaister 0b7bfc872b Allow rewind to be inited/deinited better. 2012-12-25 19:46:19 +01:00
Themaister 35bf5c82c1 Make OVERLAY optional. 2012-12-23 18:39:01 +01:00
Themaister f445c939e9 Merge branch 'master' into overlay 2012-12-23 13:56:57 +01:00
Themaister 9b58fac354 Always compile in config file support. 2012-12-23 13:55:59 +01:00
Themaister 34bd32c1fd Add RETRO_OVERLAY_NEXT bind. 2012-12-22 15:33:28 +01:00
Themaister 9056946079 Merge branch 'master' into overlay 2012-12-22 11:38:18 +01:00
Themaister 6bb2349833 Kill off external driver plug interfaces.
These are too much work to maintain, and aren't really all
that useful.
2012-12-22 11:37:15 +01:00
Themaister a1fd01dbc6 Add some TODOs for overlay. 2012-12-20 15:53:09 +01:00
Themaister 47a98ef205 Make overlay polling completely independent. 2012-12-20 15:33:54 +01:00
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
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