Commit Graph

436 Commits

Author SHA1 Message Date
twinaphex dacab094f0 (RMenu) menu_loop renamed into rmenu_iterate - iterates menu code for one frame 2012-12-15 16:40:02 +01:00
twinaphex 7685009f56 (GX) Compile fixes -haven't tested yet 2012-12-15 05:55:08 +01:00
twinaphex 8a271d318c Frame advance - get rid of unnecessary extern variables now 2012-12-15 02:25:48 +01:00
twinaphex dbb962e946 Streamline frame_count usage
(Android/Griffin) Fix build
2012-12-14 20:33:36 +01:00
twinaphex e1918b2ba6 (Android) Rename g_android.input_state to g_extern.lifecycle_state
- intend to use this for RMenu as well
2012-12-14 02:06:14 +01:00
Hans-Kristian Arntzen 3c5aec41a1 Merge pull request #72 from meancoot/master
Allow libretro core to receive keyboard input using events rather than polling.
2012-12-08 03:29:03 -08:00
Toad King c6111a3259 [CONSOLE] Make separate timers for holding scroll and menu/exit button delay.
Fixes issues with exit/menu button combo not working on GC controllers occasionally
2012-11-28 19:55:08 -05: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
meancoot e60bb1d168 Add RETRO_ENVIRONMENT_SET_KEYBOARD_CALLBACK. An interface for allowing keyboard event data to be sent to the core. 2012-11-25 20:23:31 -05:00
Themaister 8f9b68ad90 Add config file support to FFmpeg recording. 2012-11-23 22:46:36 +01:00
Themaister 770ac5a15a Minor cleanup in platform-headers in general.h. 2012-11-23 20:45:15 +01:00
twinaphex 844ea8d1fc (PSP1) Implement rarch_sleep for PSP1 2012-11-23 18:51:42 +01:00
Themaister a33c7a7d61 Make sure PATH_MAX is defined. 2012-11-23 10:34:40 +01:00
twinaphex 5f08905109 (PSP1) Add Makefile 2012-11-23 07:19:21 +01:00
twinaphex 52b46d9fd6 Implement prev_pow2 - will need this for 360 to round down texture
formats if passed value too large
2012-11-21 20:47:20 +01:00
Themaister 28bb46483c Drop video_force_16bit.
This option is silly now.
2012-11-20 23:23:18 +01:00
twinaphex 28c39a5beb (XDK) Fixed viewport settings 2012-11-20 06:08:58 +01:00
twinaphex e9dc0faace (360) Add 'force 16bit color' option 2012-11-20 03:09:11 +01:00
twinaphex ce1de27b5a (GL/PS3) Refactor FBO setting 2012-11-18 21:50:27 +01:00
Themaister 86e21686f7 Refactor out buggy 'in-line' path handling. 2012-11-18 17:16:20 +01:00
twinaphex f6031379f4 Remove HAVE_FIXED_POINT in general.h 2012-11-03 23:00:42 +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 3837a503b7 (Android) Reimplement native glue code 2012-11-01 05:48:46 +01: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
Themaister f9693f7ea2 ARRAY_SIZE to simplify some for-loops. 2012-10-26 23:15:34 +02:00
Themaister a79ca54bc7 Fix CXX_BUILD. 2012-10-21 23:24:25 +02:00
Themaister 668ff7687e Let CPU filters work with any format. 2012-10-21 22:59:13 +02:00
Themaister 93078889cc Begin reworking RGB565 as default pixel format. 2012-10-20 01:12:02 +02:00
Themaister d8d3442b29 Make rarch_main() the *real* entry point. 2012-10-15 21:50:22 +02:00
twinaphex 82d2ee63dc (Android) Move g_android outside of general.h 2012-10-15 19:09:59 +02:00
Themaister 298600781c Indentation fix. 2012-10-15 09:57:08 +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 f4b197784c Move zip_extract_mode from g_console to g_extern.filebrowser_state 2012-10-14 20:45:30 +02:00
twinaphex fc17456581 (RMenu / RARCH_CONSOLE) Move more g_console state to g_extern 2012-10-14 20:34:16 +02:00
Themaister f6d8902462 Add monitor selection option. 2012-10-12 21:15:58 +02:00
Themaister 6104ce2163 Add option for windowed fullscreen. 2012-10-05 14:15:54 +02:00
Themaister 9c462e19b7 Add basic turbo support. 2012-10-01 22:16:16 +02:00
Themaister 102d30473e Shader directory looks for Cg/Cgp shaders. 2012-09-21 21:20:30 +02:00
Twinaphex 455f74ea46 (PS3) Fix build - GL side is totally screwed up now though -
investigate
2012-09-13 06:52:47 +02:00
Twinaphex 201f5fd135 (PSL1GHT) More PSL1GHT work 2012-09-11 12:34:07 +02:00
Themaister a8ab9c54bc Add --appendconfig option. 2012-09-11 00:10:44 +02:00
Themaister 8981dd6c6b Add RETRO_ENVIRONMENT_SET_INPUT_DESCRIPTORS. 2012-09-09 23:35:23 +02:00
Themaister d68f5424dc Add possibility to avoid screenshoting viewport. 2012-08-26 21:18:52 +02:00
Themaister 304615510a Start adding GPU recording to FFmpeg. 2012-08-25 22:38:49 +02:00
twinaphex eca2c09fdd (Xbox 1 RMenu) Add sound volume level setting 2012-08-22 16:59:12 +02:00
Toad King 7d4a320a17 (RGUI) add reset command to custom viewport setting
allow negative custom viewport offsets
2012-08-20 22:50:15 -04:00
twinaphex b839910551 (Xbox 1) Set MAX_PATH to theoretical max - 260 - frees up around
20Kb
2012-08-18 12:25:37 +02:00
Themaister f0d9cc09c9 Add --dualanalog/-A flag. 2012-08-16 21:21:19 +02:00
Themaister 405a901d18 Be more careful about overwriting global settings in driver init. 2012-08-15 20:43:26 +02:00
Twinaphex 5de1373d23 Revert "Revert "(GX) Add VI_Trap Filter (for Wii)" - noticeable audio pops"
This reverts commit 827e69fabc.
2012-08-08 22:39:19 +02:00
Twinaphex 827e69fabc Revert "(GX) Add VI_Trap Filter (for Wii)" - noticeable audio pops
for little gain

This reverts commit 690ac65d3e.
2012-08-08 21:25:52 +02:00
Twinaphex 690ac65d3e (GX) Add VI_Trap Filter (for Wii) 2012-08-08 21:04:33 +02:00
Twinaphex c6032be256 (GX) Add gamma correction options in settings menu 2012-08-08 19:55:38 +02:00
twinaphex a9de8e41e5 (Xbox 1) Add flicker filter and soft display filter options in
Settings menu
2012-08-07 18:26:52 +02:00
twinaphex 9e6c9e5f7b (Xbox 1) Option for debug info messages 2012-08-05 18:42:54 +02:00
Twinaphex 5da0354257 Make logging defines reusable by Salamander without having to
include general.h (full of dependencies which can't be met for
standalone app)
2012-07-28 17:32:30 +02:00
Twinaphex b29b04b4b0 (RARCH_CONSOLE) Add 'device' param to set_default_keybind_lut and
set_analog_dpad_mapping
2012-07-28 01:37:15 +02:00
Themaister ff9820af68 Merge branch 'master' of github.com:Themaister/RetroArch
Conflicts:
	gfx/gfx_common.c
2012-07-27 15:37:10 +02:00
Twinaphex 468f7256df (PS3) Add new ZIP extract mode - can extract ZIP to current directory
now
2012-07-26 13:08:08 +02:00
Themaister 38f7673fac Add command functionality to stdin. 2012-07-25 04:50:46 +02:00
Twinaphex 5994f6b6df (PS3/PSL1GHT) Redefine SDK function macros - fix some PSL1GHT
incompatibilities
2012-07-16 21:49:51 +02:00
Twinaphex d1231fb55b (Xbox 1/RARCH_CONSOLE) Create member in console_settings for showing
FPS onscreen
2012-07-16 05:40:57 +02:00
twinaphex 0951020196 (360/Xbox 1) Refactor XInput driver with portability in mind 2012-07-07 20:56:46 +03: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
Twinaphex b5753c1d8a (PSL1GHT) Start to make PS3 port compatible with PSL1GHT too 2012-07-01 13:33:30 +02:00
TwinAphex51224 2e18773ad7 (Xbox 1) Use Sleep for Xbox 1 as well 2012-06-25 00:03:56 +02:00
TwinAphex51224 675b033eba (Xbox 1) Use xtl.h for Xbox 1 too 2012-06-24 23:22:46 +02:00
TwinAphex51224 b5acc3863e (Xbox 1) Variadic macros workaround for VC 7.1 2012-06-24 22:47:51 +02:00
TwinAphex51224 d5bb5fd7af (Xbox 1)) Changes 2012-06-24 21:25:11 +02:00
Themaister 14f7f641f3 Refactor directory listing to greatly optimize sorting. 2012-06-23 15:32:46 +02:00
Themaister 53f645ed0b Add SET_PIXEL_FORMAT environ. 2012-06-16 15:07:31 +02:00
Themaister 4ee0bde039 Add RETRO_ENVIRONMENT_GET_SYSTEM_DIRECTORY. 2012-06-12 00:28:34 +02:00
Themaister 7a4ef581a4 Add auto save state on end. 2012-06-02 21:34:26 +02:00
Themaister b2387e06bc Add RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL. 2012-06-01 16:50:38 +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
TwinAphex51224 6a48f1e187 (360) Add menu toggle (between HD and SD) and add info message
enable/disable option
2012-05-28 23:19:40 +02:00
Twinaphex 705a0dd62e (PS3) Add info message enable/disable option 2012-05-28 22:43:08 +02:00
Themaister 28f3e473e3 Build fixes. 2012-05-28 00:27:53 +02:00
Twinaphex 29ba19bc73 (PS3) Implement start/stop/restart 2012-05-27 19:29:10 +02:00
Themaister 0375de48a2 Add preliminary network command interface. 2012-05-27 14:12:29 +02:00
TwinAphex51224 176e4b2cb3 (360) Added preliminary controls settings/menu 2012-05-23 08:38:14 +02:00
Themaister d2b55f38cd Add RETRO_ENVIRONMENT_SHUTDOWN. 2012-05-22 20:14:07 +02:00
Twinaphex f6839e58a1 Remove redundant auto_vp 2012-05-22 18:26:35 +02:00
Themaister 7137bfc10e Globally visible struct gets namespacing. 2012-05-22 15:36:29 +02:00
TwinAphex51224 6d0c569f0a (360) Add color format setting for changing backbuffer color format -
32bit ARGB and 16bit RGBA
2012-05-22 16:04:39 +02:00
TwinAphex51224 4ecdddb2cb (360) refactor viewport settings code - also need to update
PS3 after this commit
2012-05-22 02:36:31 +02:00
TwinAphex51224 74d12bf1a1 (360) Custom resize mode now works 2012-05-22 02:19:40 +02:00
Twinaphex bdba331096 (PS3) Preliminary rsound patches 2012-05-07 23:52:15 +02:00
Themaister a9eaa86683 Cleanup in driver selection. 2012-05-07 23:20:13 +02:00
Twinaphex 959a0ea809 (PS3) FBO changes - no more needless deinit when not necessary 2012-05-06 20:05:13 +02:00
Themaister 6b6e1556f6 Clean up ALSA plug a bit. 2012-04-25 19:49:56 +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
Twinaphex 1193d41360 Add some file logging stuff for Wii debugging 2012-04-13 22:54:30 +02:00
Themaister 1bfba2f575 Macro guard loggers. 2012-04-13 21:50:52 +02:00
Twinaphex 6c80cd81d0 (PS3) Cleaner aspect ratio changing code 2012-04-13 03:03:21 +02:00
Twinaphex 533d2683c5 (PS3/360) Uses block_extract from libretro API now 2012-04-12 22:53:05 +02:00
Themaister 0dff4dad52 Allow cores to infer aspect ratios other than PAR 1:1. 2012-04-09 22:19:51 +02:00
Themaister e3a71a8c5b Fixup headers. 2012-04-09 22:05:26 +02:00
Themaister e012e290ae Builds clean. 2012-04-09 22:04:44 +02:00
Themaister 5d51942f69 libretro fixups. 2012-04-09 22:04:43 +02:00
Themaister cd3c9a548c Begin fixing up SSNES for libretro. 2012-04-09 22:03:57 +02:00
Themaister 62c96ea937 Change license header. 2012-04-09 22:03:57 +02:00
Themaister 9698cd7dbd Change headers. 2012-04-09 22:03:57 +02:00
Twinaphex d617e50bbf Revert "Allow for preinit of message queue."
This reverts commit 7d2a00df4e.
2012-04-09 14:35:00 +02:00
Twinaphex 3dee9662e2 Revert "Add a FIFO-style interface to message queue."
This reverts commit fd44e0b9c6.
2012-04-09 14:34:48 +02:00
Twinaphex eb59aa6028 Revert "Fix FTBFS." See above revert message
This reverts commit da939a9986.
2012-04-09 14:34:31 +02:00
Themaister da939a9986 Fix FTBFS. 2012-04-04 23:54:37 +02:00
Themaister fd44e0b9c6 Add a FIFO-style interface to message queue.
Implement a virtual stderr for consoles.
2012-04-04 23:36:09 +02:00
Themaister 7d2a00df4e Allow for preinit of message queue. 2012-04-04 20:02:41 +02:00
Themaister fdcfd3fc71 SET_CORE_VERSION. 2012-04-01 20:11:19 +02:00
Themaister 34bdea0f1c Add rotation to GL driver (PC). 2012-04-01 19:20:37 +02:00
Themaister 38a4141eef Add allow_rotate. 2012-04-01 16:13:04 +02:00
TwinAphex51224 a860a71016 (360) 360 uses Griffin now too 2012-03-29 12:04:58 +02:00
Twinaphex 45021bda3f (PS3) oskutil.c merged with ps3_input.c 2012-03-26 00:36:40 +02:00
Themaister 066e9608a1 Add HAVE_BSV_MOVIE define. 2012-03-26 00:06:25 +02:00
Themaister b273de1e99 Move netplay related bsv code to netplay. 2012-03-26 00:06:25 +02:00
Themaister 5272008f54 Add --no-patch to forcefully disable all patching. 2012-03-20 23:45:58 +01:00
Themaister 48cddde84a Add IPS patching. 2012-03-20 23:08:34 +01:00
Themaister 9ab02b12be Move compat functionality to compat/. 2012-03-16 23:26:57 +01:00
TwinAphex51224 8781b5c7d3 (360) Works now - environment settings were getting 'defaulted'
- placed init_libsnes_syms now right before menu_init
2012-03-12 04:34:49 +01:00
TwinAphex51224 ed4a81e497 (360) More of aforementioned 2012-03-12 03:53:44 +01:00
Themaister d7afd20346 Add new extensions to help FBA. 2012-03-12 00:39:24 +01:00
TwinAphex51224 a328bd578e (360/PS3) Some changes needed for FBA on consoles in specific 2012-03-11 22:39:48 +01:00
TwinAphex51224 81988fc1ef (360) Don't include D3D/Netcode where not needed through NOD3D/
NONET defines
2012-03-11 16:17:42 +01:00
TwinAphex51224 b0de19f3e0 (360) force_resize_enable member was a hack for hacky orientation,
can go now that we do it properly
2012-03-10 16:57:59 +01:00
TwinAphex51224 ac070a6b2b (360) Added gamma correction setting 2012-03-08 23:29:18 +01:00
TwinAphex51224 8823b47a05 (360) Added screen orientation options - might want to refactor
this later on
2012-03-08 13:45:00 +01:00
TwinAphex51224 a2fe0330eb (360) 360 compiles again 2012-03-04 23:15:25 +01:00
Themaister ea0233716e Slow motion mode. 2012-03-04 12:01:07 +01:00
TwinAphex51224 ed5e67425c (PS3) Added custom BGM music hooks 2012-03-03 17:23:00 +01:00
TwinAphex51224 cd08339051 (PS3) D-pad analog stick left mapping - make this configurable later
on
2012-03-03 14:57:28 +01:00
TwinAphex51224 db87f664b8 (PS3) Sound options added - reiniting sound has yet to happen 2012-03-03 11:54:14 +01:00
Themaister ae5900aaa1 Add video_h264_record option. 2012-03-02 22:19:49 +01:00
TwinAphex51224 de9db9bcea (PS3) More control settings - NOTE: public controller config save/load
functions do not work properly and do not save the proper values
2012-03-01 14:22:16 +01:00
Themaister 90984ce3cc config_read_keybinds takes path. 2012-02-29 19:25:54 +01:00
Themaister dc1d9b674a config_save_keybinds takes a pathname directly. 2012-02-29 19:07:25 +01:00
TwinAphex51224 ffc6fc5e24 (PS3) Added Multiman hooks 2012-02-28 14:42:29 +01:00
TwinAphex51224 f01663550c Added logging features - set HAVE_LOGGING to enable 2012-02-27 20:07:24 +01:00
Themaister 302dc9460f Add override possibility for logger interface. 2012-02-27 17:24:11 +01:00
Themaister aecd9a1ecb Rename resampler functions to something more generic. 2012-02-23 23:22:08 +01:00
TwinAphex51224 be3839a9df (PS3) Proper FBO scales now 2012-02-20 22:34:11 +01:00
Themaister 383b2abe58 Merge branch 'master' of github.com:Themaister/SSNES 2012-02-20 20:36:42 +01:00
Themaister 5ce54cbbab Implement config_save_keybinds. 2012-02-20 20:36:21 +01:00
TwinAphex51224 2c2dcd58f2 (PS3) Initial cgp file loading - not yet working 2012-02-20 20:24:23 +01:00