Commit Graph

237 Commits

Author SHA1 Message Date
meancoot
06bb6b7840 Merge branch 'master' of https://github.com/Themaister/RetroArch into ios 2013-02-21 22:18:14 -05:00
Themaister
e3dfba2c34 Add preliminary disk swapping interface.
Works with Mednafen's disk swapping model.
2013-02-21 23:44:07 +01:00
Themaister
843d079002 Begin adding threaded video driver wrapper. 2013-02-16 02:48:08 +01:00
meancoot
7e4e028fc8 ios: Add a simple input driver draft; tracks only one touch for now. 2013-02-06 18:23:11 -05:00
Themaister
eb979732b4 Add alpha modulation to overlays. 2013-01-29 21:51:15 +01:00
twinaphex
01ffc06d6a Add button descriptor to retro_keybind 2013-01-12 18:45:22 +01:00
Themaister
312980ee30 Add support for full-screen overlays. 2013-01-11 16:23:04 +01:00
twinaphex
589b5eefdb (360) 360 audio driver now goes through the same Xaudio driver
as PC
2013-01-09 22:04:28 +01:00
Themaister
551a464978 Rework index parameter to set_shader(). 2013-01-08 04:08:15 +01:00
twinaphex
c76ae2a8d1 (RARCH_CONSOLE) Use init_drivers_pre once at startup of console
ports - use driver.video, driver.input as much as possible from
then instead of explicit platform-specific drivers
2013-01-07 18:18:44 +01:00
twinaphex
9251eebe13 (RARCH_CONSOLE) Make find_video_driver public in scope and use
it in console ports
2013-01-07 17:48:45 +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
ToadKing
fd0bb1b3ee make alsathread a seperate audio driver 2013-01-04 14:58:34 -05:00
Themaister
e9cfb95900 Add fallback path for RGBA.
This is necessary for GLES devices which do not support BGRA_EXT.
2013-01-03 01:20:35 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
Themaister
8a58858d84 Refactor out save stating and reentrancy.
It's not really needed.
2012-12-30 18:25:49 +01:00
Themaister
e3378c219c Use crude ref-counting for driver handles. 2012-12-25 23:18:19 +01:00
Themaister
225647d0e3 Add public function to set refresh rate of monitor. 2012-12-23 19:05:20 +01:00
Themaister
35bf5c82c1 Make OVERLAY optional. 2012-12-23 18:39:01 +01:00
twinaphex
52e4c3eff4 Revert "Ifdef bind IDs based on compiled in features - we only have 64 bits"
This reverts commit 576a40707d.
2012-12-23 18:21:36 +01:00
twinaphex
576a40707d Ifdef bind IDs based on compiled in features - we only have 64 bits
to work with for input_state so we need to get rid of unneeded
features per port
2012-12-23 18:09:30 +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
47a98ef205 Make overlay polling completely independent. 2012-12-20 15:33:54 +01:00
Themaister
1250fae7f1 Basic overlay POC works.
Add support for X11.
2012-12-20 12:24:49 +01:00
Themaister
b4cd58afe7 Rework overlays as a video driver interface. 2012-12-20 11:16:22 +01:00
twinaphex
2e5f21db60 (Android) Do window ready checking differently 2012-12-18 06:01:56 +01:00
twinaphex
74ae6ecf57 (Android) Better deinit - will now deinit RetroArch and save game
RAM if you forcibly stop RetroArch
2012-12-17 18:45:26 +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
20bdef5d3b (PS3) Input refactoring (note - other console ports will need
refactoring too - will do that nexta)
2012-12-14 17:42:01 +01:00
twinaphex
707bcd483f (Android) Some patches for RMenu compatibility 2012-12-14 01:29:01 +01:00
twinaphex
710ac0031a Small refactor 2012-11-26 22:12:26 +01:00
twinaphex
70119e5558 Move driver macro defines to driver_funcs.h header and move
Griffin hook overrides too
2012-11-26 21:23:31 +01:00
twinaphex
a697b562f6 (PSP2) Rename to Vita 2012-11-26 03:16:20 +01:00
twinaphex
728b775905 (PSP1) Add preliminary PSP1 video driver 2012-11-23 05:20:05 +01:00
twinaphex
3b6fffa9f9 (PSP1/PSP2) Refactor psp_input.c - should now work for both PSP1
and PSP2
2012-11-23 02:40:03 +01:00
twinaphex
c837e1101d (PSP2/Griffin) Add video driver hooks 2012-11-22 23:32:42 +01:00
twinaphex
f278bc7f55 (PSP2) Add input driver 2012-11-22 18:37:10 +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
0dbcdb087d (Android) Rewrite of input code 2012-11-03 00:31:05 +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
2ad31fc919 Use larger audio block sizes. 2012-10-28 12:51:02 +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
e53dd431b4 Begin merging D3D9 driver. 2012-10-26 22:18:26 +02:00
Themaister
93078889cc Begin reworking RGB565 as default pixel format. 2012-10-20 01:12:02 +02:00
twinaphex
63238d3b67 (OpenSL) Add preliminary driver - OpenSL ES implementation in NDK
is a half-baked, half-implemented hackfest, so will have to go over
Android-specific examples to get this to work
2012-10-18 05:46:09 +02:00
twinaphex
a675c4348f (Android) Split off input code into its own driver 2012-10-16 19:46:59 +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
9c462e19b7 Add basic turbo support. 2012-10-01 22:16:16 +02:00
twinaphex
71443385e9 (PS3/XDK - Context) Some refactorings 2012-09-30 17:51:48 +02:00
Themaister
dd6d27c108 Add WGL context. 2012-09-30 14:41:58 +02:00
Themaister
d40cd53e24 Rewrite retroarch-joyconfig.
Rewrites a large chunk of retroarch-joyconfig to work with "any" joypad
driver. This allows e.g. the tool to work without X. SDL event pumps
require X to work (for some reason).
2012-09-29 21:57:03 +02:00
Themaister
c655c1d4e5 Big refactor of joypad input. 2012-09-28 23:06:16 +02:00
Toad King
500139f1b5 change video_rpi into a more generic video_vg 2012-09-24 15:19:07 -04:00
Themaister
102d30473e Shader directory looks for Cg/Cgp shaders. 2012-09-21 21:20:30 +02:00
Twinaphex
969a92ac17 (RARCH_CONSOLE) Add apply_state_changes to video driver 2012-08-20 12:41:10 +02:00
Twinaphex
5e97b86e65 (GX) Change wii_ naming conventions to gx_ 2012-08-09 03:54:27 +02:00
Themaister
488d2c5a63 Move keysyms to libretro.h.
Should allow RETRO_KEYBOARD to work on GL/SDL/X11 drivers.
2012-07-28 07:39:05 +02:00
Twinaphex
e0f4953de8 (RARCH_CONSOLE) Add second param to set_default_keybind_lut (port
is player no)
2012-07-28 02:28:10 +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
Twinaphex
bf9980d8bc (RARCH_CONSOLE) Control refactor - add post_init and set_analog_to_dpad_mapping
members
2012-07-27 15:46: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
811abcf612 (RARCH_CONSOLE) Further Input rewrite for console ports 2012-07-25 21:02:01 +02:00
Themaister
38f7673fac Add command functionality to stdin. 2012-07-25 04:50:46 +02:00
twinaphex
0951020196 (360/Xbox 1) Refactor XInput driver with portability in mind 2012-07-07 20:56:46 +03:00
twinaphex
9d5978cb3e (360/Xbox 1) xdk360_video changed 2012-07-07 20:15:06 +03:00
Twinaphex
c3d40d0f5a Snes exorcism 2012-07-07 17:19:32 +02:00
Twinaphex
5b8c426b3c (360) Xinput2 driver moved to input/ 2012-07-07 16:20:31 +02:00
Themaister
c440c7a50a Add support for RETRO_DEVICE_ANALOG. 2012-06-28 18:32:06 +02:00
Themaister
fd017b8f57 Add NULL drivers. 2012-06-20 00:43:41 +02:00
Toad King
7986e01cbf Merge branch 'master' of http://github.com/Themaister/RetroArch
Conflicts:
	qb/config.libs.sh
2012-06-14 03:03:12 -04:00
Themaister
19f0c04021 Add screenshot support from backbuffer. 2012-06-08 22:39:18 +02:00
Toad King
ec87f858f2 Merge branch 'master' of http://github.com/Themaister/RetroArch
Conflicts:
	qb/config.libs.sh
2012-05-28 02:27:25 -04:00
TwinAphex51224
463fdd9bdf (360) Add 360 context file and use it 2012-05-28 02:29:51 +02:00
Themaister
448bf2cdc8 Add static start/stop/restart to console video drivers. 2012-05-27 19:25:53 +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
Toad King
6c79d66e1b linuxraw input: gets input straight from stdin
WARNING: this mode uses a raw keyboard mode. if the emulator does not exit cleanly, you could be left at a terminal with no form of input. do not use this mode for testing.
2012-05-25 15:44:39 -04:00
Toad King
350af0a458 initial Raspberry Pi work. Currently just displays a solid blue screen. 2012-05-23 02:31:29 -04:00
Themaister
4ddc5a9912 Fix strange bug where binds in player 2 would carry over to player 1. 2012-05-09 23:25:30 +02:00
Themaister
dd90a338d5 Add L2/R2/L3/R3 keys. 2012-05-07 21:51:32 +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
867df49fcf Reword for consistency. 2012-04-10 19:24:08 +02:00
Themaister
ba2e913908 Use unsigned port. 2012-04-09 22:05:26 +02:00
Themaister
e3a71a8c5b Fixup headers. 2012-04-09 22:05:26 +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
Themaister
84f40dab16 Move set_aspect_ratio to SSNES_CONSOLE. 2012-04-09 22:02:46 +02:00
Twinaphex
e18a9e1001 Added set_aspect_ratio callback function 2012-04-09 16:04:24 +02:00
Themaister
2178a14952 Find drivers before snes_init() to allow rotation to work properly. 2012-04-01 19:38:50 +02:00
Themaister
5d4e32ef9d Add support for rotation. 2012-03-30 19:09:34 +02:00
Twinaphex
5553774f6f (PS3) Dodge function pointers / make direct calls through
HAVE_GRIFFIN define
2012-03-29 01:15:22 +02:00
Themaister
eee0233abb Wrap driver calls in overridable macros. 2012-03-29 00:30:50 +02:00
Themaister
848a67252f Fix subtle regression. 2012-03-09 18:18:35 +01:00
Themaister
2463924d69 Use uint64_t across the board for joykeys. 2012-03-04 13:55:35 +01:00