Commit Graph

631 Commits

Author SHA1 Message Date
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
Themaister
ea0233716e Slow motion mode. 2012-03-04 12:01:07 +01:00
Themaister
f548ebb1a2 Cleanup typedefs. 2012-03-03 23:57:42 +01:00
TwinAphex51224
cd08339051 (PS3) D-pad analog stick left mapping - make this configurable later
on
2012-03-03 14:57:28 +01:00
Themaister
438ac4ca4b Begin adding rate control. 2012-02-14 01:16:37 +01:00
Themaister
e0408c30ae Slight refactor. Make ssnes_load_state(), ssnes_save_state() public. 2012-02-13 20:57:32 +01:00
Themaister
77e55bb577 Add some video callbacks for consoles. 2012-02-13 19:17:13 +01:00
Themaister
5b0a948797 Refactor input config. 2012-01-30 01:20:35 +01:00
Themaister
75408b689d Hook up binds. 2012-01-21 14:24:38 +01:00
TwinAphex51224
8e74333ef4 (PS3) First stab at ingame menu 2012-01-21 00:30:01 +01:00
Themaister
5edf67bba8 Fixup comment. 2012-01-17 23:49:03 +01:00
Themaister
35ae61fbc7 Use more correct UINT*_C() constants. 2012-01-12 20:16:47 +01:00
Themaister
36a2c96cb7 ifdef console oriented binds. 2012-01-11 10:00:24 +01:00
TwinAphex51224
a4a68a2ad5 (PS3) Implemented menu code some more 2012-01-11 02:25:49 +01:00
Themaister
b4248038fb Update license headers. 2012-01-08 01:12:05 +01:00
TwinAphex51224
ebea0220cd (360) Added 360 solution and added some defines 2012-01-05 13:30:13 +01:00
Themaister
a4767d3d43 Add python build. Fix ssize_t define. 2011-12-25 18:25:37 +01:00
Themaister
eac468ba19 MSVC compat. 2011-12-25 01:38:59 +01:00
Themaister
d5fca50a2f Can build for C++. 2011-12-24 15:26:01 +01:00
TwinAphex51224
7c28a62b40 (Libxenon) No more SDL 2011-12-15 13:54:22 +01:00
Themaister
aa4f79f236 Start working on video. 2011-12-14 14:26:40 +01:00
Themaister
62f5c53b72 Start on Wii input. 2011-12-14 13:20:22 +01:00
Themaister
534163a57f Start adding stuff for Wii. 2011-12-14 12:49:13 +01:00
TwinAphex51224
757fa71469 (Libxenon) Added (non-working) input driver 2011-12-14 01:35:17 +01:00
TwinAphex51224
1136820124 (Libxenon) Terribly borked libxenon audio driver :) 2011-12-13 23:17:37 +01:00
Themaister
2b6c252747 Minor fixes. 2011-12-02 02:22:29 +01:00
TwinAphex51224
2e34c6fc5c Moved in old PS3 audio driver 2011-11-30 17:11:42 +01:00
Themaister
5dbd1ea35c Add mute toggle. 2011-11-26 15:54:58 +01:00
Themaister
f3e487557e Fix some style nits. 2011-11-01 20:27:59 +01:00
Themaister
418ba455f8 Allow the rest of the buttons in Python.
Fix issue where long type was enforced for return values of uniforms.
2011-10-25 23:02:17 +02:00
Themaister
466ab1ef8d Frame advance. 2011-10-17 21:30:58 +02:00
Themaister
23516572b7 Use SK_* keysyms (pretty much SDL 1.2). 2011-09-13 14:40:33 +02:00
Themaister
924848fdad Start working towards SDL 1.2/1.3 compat. 2011-09-13 14:06:49 +02:00
Themaister
32a5460ea7 Small cleanup. 2011-09-06 19:53:22 +02:00
Themaister
14ae5e397a Add CoreAudio driver. Untested. 2011-08-08 17:27:52 +02:00
Themaister
776291a137 Start working on DirectSound driver. Untested so far. 2011-08-04 18:45:40 +02:00
Themaister
69227bc1ca Alter design. Use DInput as piggyback only. 2011-06-10 17:34:04 +02:00
Themaister
851debf1e4 Start working on DInput. 2011-06-10 16:55:05 +02:00
Themaister
2144ef84fd Add fast-forward (hold) mode.
Also purge default player 2-5 binds ...
2011-05-24 02:31:21 +02:00
Themaister
7f1cd62c8a Update DSP API for config callback.
Clean up API a bit to have separate
SSNES_*_API_VERSION defines.
2011-05-17 19:20:41 +02:00
Themaister
efed98d5b6 Yay, works :) 2011-05-15 17:16:29 +02:00
Themaister
6244671b04 Small API cleanup. 2011-05-15 15:57:47 +02:00
Themaister
5d5865cfd8 Add external API for audio driver. 2011-05-15 01:46:11 +02:00
Themaister
4b9e46ff06 Update config. 2011-05-11 17:57:31 +02:00
Themaister
f2ee22d259 Start working on video interface. 2011-05-05 20:23:08 +02:00
Themaister
d317a9773f Start on SDL video driver. 2011-04-21 03:23:44 +02:00
Themaister
092fa9d531 Get initial cheat support down. 2011-04-17 13:30:59 +02:00
Themaister
1706763a4c Start supporting shaders hiding in a directory. 2011-03-29 18:04:41 +02:00
Themaister
48dcd174a7 Add resetting support. (About time, ey?! :D) 2011-03-24 20:41:28 +01:00
Themaister
adfd461c3e Start on XVideo 2011-03-13 04:51:09 +01:00
Themaister
96b978d55a Start on modular CPU filters. Abandon the old CPU filter stuff. 2011-03-07 17:22:03 +01:00
Themaister
7c16424ba3 Shader enabling, and automatic resolution detection. 2011-02-28 16:59:31 +01:00
Themaister
e49aeb1071 Remove redundant define. 2011-02-26 18:48:17 +01:00
Themaister
93202f191c Add pausing when window loses focus :p 2011-02-05 21:45:44 +01:00
Themaister
3033fb6791 Pausing support. 2011-02-05 20:46:58 +01:00
Themaister
9ad9cbd7de Build fixes for OSX. (PPC) 2011-02-04 13:49:53 +01:00
Themaister
5f8993cb83 Movie playback seems to work! :D 2011-02-02 12:45:56 +01:00
Themaister
351e098da1 Basic rewind works! 2011-01-31 16:48:42 +01:00
Themaister
25fe9b7f58 Add possibility to alter sound input rate on-the-fly. 2011-01-29 18:42:21 +01:00
Themaister
e83f3ed444 Initial PulseAudio code. 2011-01-29 01:15:09 +01:00
Themaister
8c1ef3051d Add XAudio support. Need a separate xaudio-c.dll which actually implements the interface. 2011-01-27 01:57:25 +01:00
Themaister
17663bbe46 Add save state slots. 2011-01-23 23:09:54 +01:00
Themaister
2267c7d048 Update licensing headers. 2011-01-23 20:29:28 +01:00
Themaister
2211dc73e1 Progress on font rendering. :) 2011-01-23 00:27:20 +01:00
Themaister
c7e6e73bcb Fix a blooper in headers. 2011-01-17 20:54:58 +01:00
Themaister
5c9c4f42c3 Clean up float handling a bit.
ALSA now checks if floating point is supported to avoid one extra
conversion, also clean up the driver itself a bit.
2011-01-15 20:37:42 +01:00
Themaister
6b21e6b8a3 Clean up audio a bit. Less use of nasty statics and VLAs. 2011-01-14 15:34:38 +01:00
Themaister
a365989557 Add support for joypad "hats". 2011-01-09 00:27:30 +01:00
Themaister
2a5addc79f Clean up input handling some more. Removes the hack to set fast forward
toggles.
2011-01-08 18:37:45 +01:00
Themaister
a5bbc68a84 Add SDL audio driver. 2011-01-07 15:50:16 +01:00
Themaister
ff78f74393 Should fix ssize_t issue on some platforms. 2011-01-07 12:50:14 +01:00
Themaister
86e080476a Fixes here and there... 2011-01-06 20:01:32 +01:00
Themaister
4cc3f7aaab Start moving over to SDL rather than GLFW to minimize dependencies. 2011-01-06 18:34:11 +01:00
Themaister
56e050f10d Add config option for XML shader. 2011-01-05 17:32:30 +01:00
Themaister
b47f58c338 Add Jack audio driver. 2011-01-01 03:53:30 +01:00
Themaister
fc126942e9 Fixes... Add driver ident and remove some config.h deps. 2010-12-29 20:05:57 +01:00
Themaister
2da6a4e2cc More work on configs. 2010-12-29 19:18:37 +01:00
Themaister
3fdb201710 Some refactoring. Splitting up driver logic and file logic. 2010-12-24 01:26:36 +01:00
Themaister
28ae93ed23 Should fix up some flaws with joypad support. 2010-12-24 00:58:42 +01:00
Devin J. Pohly
19a9641f59 add support for joystick axes
axes pushed farther than AXIS_THRESHOLD will be counted as button
presses
2010-12-14 14:00:17 +01:00
Themaister
c5f433f399 Update for more modern GL approach. 2010-11-08 23:38:32 +01:00
Themaister
eea6da43d7 Some preliminary 2 player support. 2010-10-01 20:15:45 +02:00
Themaister
38ae262d85 Some fast forwarding support. 2010-08-16 18:40:17 +02:00
Themaister
13c503160f Small updates. 2010-06-27 14:57:37 +02:00
Themaister
10d9a1c6ba Updates for libsnes 0.065 2010-06-27 14:40:06 +02:00
Themaister
d6128bf502 Added HQ filters. (They eat CPU!! :\) 2010-05-29 16:59:57 +02:00
Themaister
a4b6c3d1ec Configurable smoothness. 2010-05-29 14:45:40 +02:00
Themaister
3a20bb8ac4 :x 2010-05-28 18:22:57 +02:00