13423 Commits

Author SHA1 Message Date
twinaphex
550bc81722 settings.c - turn more functions static 2014-10-03 13:39:19 +02:00
twinaphex
622bc64df8 Add AUDIO_RESAMPLER_NEAREST define 2014-10-03 13:34:55 +02:00
twinaphex
cf22277871 Only call RARCH_CMD_HISTORY_INIT from menu_load_content - it
already deinits and inits behind the scenes
2014-10-03 13:19:55 +02:00
twinaphex
e99a6f99d4 Move RARCH_CMD_HISTORY_DEINIT right above RARCH_CMD_HISTORY_INIT 2014-10-03 13:08:24 +02:00
twinaphex
4a623684c2 Init history file right before we attempt to push something to it
in rarch_main
2014-10-03 13:07:33 +02:00
twinaphex
4f30e1a3d7 A lot of functions could be made static in driver.c 2014-10-03 12:51:02 +02:00
twinaphex
e7fed15250 Add RARCH_CMD_DRIVERS_DEINIT/RARCH_CMD_DRIVERS_INIT 2014-10-03 12:40:41 +02:00
twinaphex
2897e2f1fd Add RARCH_CMD_CORE_INFO_DEINIT 2014-10-03 12:37:55 +02:00
twinaphex
1762f70d9b RARCH_CMD_RECORD_INIT - call rarch_main_command(RARCH_CMD_RECORD_DEINIT)
for safety precautions
2014-10-03 12:36:29 +02:00
twinaphex
e9a10c6295 Add more commands to rarch_main_command 2014-10-03 12:35:38 +02:00
twinaphex
de3dbfb439 Have more initing/deiniting go through rarch_main_command 2014-10-03 12:26:29 +02:00
twinaphex
330dd1822c Cleanups 2014-10-03 12:07:15 +02:00
twinaphex
e996e3df45 Move more stuff to rarch_main_command 2014-10-03 11:59:24 +02:00
twinaphex
4f0953f3e3 Add RARCH_CMD_REWIND_DEINIT/RARCH_CMD_REWIND_INIT/RARCH_CMD_REWIND_TOGGLE 2014-10-03 11:44:54 +02:00
twinaphex
16fd8b227e Expand rarch_main_command 2014-10-03 11:33:58 +02:00
twinaphex
154e7caf17 menu_environment_get - only set libretro core if g_extern.has_set_libretro
is false
2014-10-03 11:27:19 +02:00
Twinaphex
7027f974eb Merge pull request #1080 from mprobinson/joypad-driver
Fix joypad driver setting
2014-10-03 09:53:47 +02:00
Mike Robinson
6203c3162e Fallback to first working joypad driver if init failed
Fallback to the old behavior on init failure so there's no
regression if the user did not select a working joypad driver.
2014-10-03 03:05:35 +01:00
Mike Robinson
b165b8fa82 Fix joypad driver setting
input_common.c was loading the first available joypad driver no
matter what input driver was selected, and the joypad driver menu
was non-functional. Allow choice of joypad driver from the menu.
2014-10-03 01:40:47 +01:00
twinaphex
75271b7d10 Turn more functions into static 2014-10-03 01:07:35 +02:00
twinaphex
532938c5fa Refactor meta_input_keys_pressed 2014-10-03 00:55:44 +02:00
twinaphex
8a1f15c460 Move rarch_check_block_hotkey to input/input_common.c and make
the function static
2014-10-03 00:46:14 +02:00
twinaphex
c25bc493ab Add RARCH_CMD_SHADER_DIR_INIT/RARCH_CMD_SHADER_DIR_DEINIT 2014-10-03 00:13:50 +02:00
twinaphex
a8d8e9d13b (rarch_main_command) Inline set_fullscreen function into RARCH_CMD_REINIT 2014-10-03 00:08:42 +02:00
twinaphex
9de94c6298 Move flush_audio to libretro_version_1.c as static function 2014-10-02 23:43:28 +02:00
twinaphex
e1b139da84 (RARCH_CONSOLE) Prevent exit_spawn from being set to true whenever
we start new content
2014-10-02 22:57:31 +02:00
Twinaphex
4620d07ac8 Merge pull request #1079 from aliaspider/master
fix PSP build.
2014-10-02 22:06:16 +02:00
aliaspider
6f15383b2c initialize frame_cache and texture_frame to a dummy frame in
init_video_input() to avoid undefined behavior in the init phase in case
they are used before being set.
2014-10-02 21:02:27 +01:00
twinaphex
7a6ee6a300 Get rid of MODE_MENU_HD too -g_extern.lifecycle_state can now
be used for 'injecting' button presses (i.e. libretro button presses
and/or meta button presses)
2014-10-02 21:57:01 +02:00
aliaspider
81254c13d9 (PSP) add new resampler parameters to resampler_CC_init. 2014-10-02 20:54:46 +01:00
twinaphex
c1a75ec68a Get rid of MODE_MENU_WIDESCREEN 2014-10-02 21:45:09 +02:00
twinaphex
e6a79f798b Refactor MODE_EXITSPAWN and MODE_EXITSPAWN_START_GAME 2014-10-02 21:39:29 +02:00
twinaphex
245dc71658 Get rid of MODE_OSK_ENTRY_SUCCESS/MODE_OSK_ENTRY_FAIL 2014-10-02 21:19:11 +02:00
twinaphex
a0e3404422 Free up g_extern.lifecycle_state - start with getting rid of
MODE_EXTLAUNCH_MULTIMAN/MODE_EXITSPAWN_MULTIMAN
2014-10-02 21:17:32 +02:00
twinaphex
54bfe360c6 Move ifndef HAVE_GCMGL checks outside of gl.c and into
shader_gl_cg.c - also implement stub glGenerateMipmapOES
for GCMGL
2014-10-02 21:09:34 +02:00
twinaphex
ed928b70be Simplify rarch_render_cached_frame 2014-10-02 20:00:11 +02:00
twinaphex
e581436c0a Remove unused menu_action_ok LOG 2014-10-02 17:48:40 +02:00
twinaphex
a844c3997a (GL) Get rid of some more _func macros 2014-10-02 15:43:11 +02:00
twinaphex
ca004c370c (HLSL) Cleanup hlsl_filter_type too 2014-10-02 15:25:51 +02:00
twinaphex
4c6fa4f059 (Cg/GLSL) Cleanups to filter_type implementation 2014-10-02 15:25:01 +02:00
twinaphex
e7e441d32d Rename shader_cg.c to shader_gl_cg.c 2014-10-02 15:19:21 +02:00
twinaphex
b22cf18228 (GL/Shaders) Put fixed-function vertex/matrix coord code inside shader
backend files as fallback routines
2014-10-02 15:17:21 +02:00
twinaphex
53c7bf65ed Turn fixed-function vertex coord/matrix code into macros 2014-10-02 14:50:24 +02:00
twinaphex
aed7afb31d Move gl_shader_set_coords from gl.c to gl_common.c 2014-10-02 14:20:50 +02:00
twinaphex
7e2dd769e9 (GL) Simplify gl_shader_set_coords 2014-10-02 14:13:08 +02:00
twinaphex
59be30825c (GL) Do away with most of the checks for 'shader' now that shader
will never be NULL
2014-10-02 14:05:11 +02:00
twinaphex
4fbbb8aa2f (GL) Always have gl->shader point to a valid driver (including nullshader) 2014-10-02 13:47:45 +02:00
twinaphex
64c2305017 Add 'ident' to shader driver - add shader context functions 2014-10-02 13:42:40 +02:00
Twinaphex
7bfde3df63 Merge pull request #1077 from lakkatv/lakka
(Lakka) Un-hardcode alpha values
2014-10-02 13:39:05 +02:00
Jean-André Santoni
30f4572fda (Lakka) Un-hardcode alpha values 2014-10-02 13:36:03 +02:00