Commit Graph

225 Commits

Author SHA1 Message Date
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
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 ca9f081d27 Make input overlay configurable. 2012-12-20 20:23:53 +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 a697b562f6 (PSP2) Rename to Vita 2012-11-26 03:16:20 +01:00
Themaister f6e2c190ad Fix memory leak on consoles. 2012-11-23 22:46:36 +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
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
Themaister f9693f7ea2 ARRAY_SIZE to simplify some for-loops. 2012-10-26 23:15:34 +02:00
Themaister e53dd431b4 Begin merging D3D9 driver. 2012-10-26 22:18:26 +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
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
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 be7a63932f Remove output_rate from DSP plug. 2012-10-16 12:54:58 +02:00
twinaphex 11465db9c1 (Android) We now do everything natively (including video) - so
we no longer need this
2012-10-16 12:01:00 +02:00
Themaister 11b9f039b2 Remove some useless ifdefs. 2012-10-14 23:22: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
twinaphex 7f0f6bc0a7 (Android) Video init/deinit will only be invoked frm Java side/
surface - so ifndef it out for ANDROID
2012-10-09 18:48:04 +02:00
twinaphex 8132f9fd8a (Android) Add Android context hooks 2012-10-09 00:11:11 +02:00
Themaister 5ae20a9f3c Log if graphics driver doesn't init input. 2012-09-30 15:03:53 +02:00
Themaister 74d7707875 Add dinput to input driver list. 2012-09-30 14:59:27 +02:00
Themaister c655c1d4e5 Big refactor of joypad input. 2012-09-28 23:06:16 +02:00
Themaister 704af0e0b7 x_input depends on HAVE_X11. 2012-09-25 15:14:56 +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
Toad King 012c7def7b big Raspberry Pi-related changes
* convert old rpi video driver into a generic OpenVG driver
* add VideoCore EGL context
* build GLES by default if VideoCore detected (currently does not run)
2012-09-18 19:42:17 -04:00
Twinaphex e58d9f31dd (Android) Don't compile in linux_inputraw for Android - use
pretro_get_system_info instead of retro_get_system_info
2012-09-10 01:53:42 +02:00
Themaister 29a1e7ac27 Purge some still lingering SSNES-isms. 2012-09-07 21:56:26 +02:00
Themaister 3f613882a3 Avoid using IS_LINUX. Use plain __linux__. 2012-09-03 00:08:33 +02:00
Themaister 405a901d18 Be more careful about overwriting global settings in driver init. 2012-08-15 20:43:26 +02:00
Themaister 7372509bef Revert "(Libretro) Add nonblock_state"
This reverts commit 211381bb89.
2012-08-15 19:52:48 +02:00
Twinaphex 211381bb89 (Libretro) Add nonblock_state 2012-08-15 09:44:17 +02:00
Twinaphex 0e5528796d Set nonblock_state_func argument for >60Hz emu ports/games to true 2012-08-12 11:55:52 +02:00
Twinaphex 1af593f910 (RARCH_CONSOLE) Run set_nonblock_state if an emu runs at more than
60fps/60Hz - to forcibly set vsync off
2012-08-12 09:19:42 +02:00
Themaister e14a679f83 Forcefully disable VSync if game FPS >> monitor FPS. 2012-08-12 00:40:21 +02:00
Twinaphex 5e97b86e65 (GX) Change wii_ naming conventions to gx_ 2012-08-09 03:54:27 +02:00
twinaphex ded6f69933 (Xbox) Added RARCH_CONSOLE functions for null video driver - using null video driver for Xbox 1 for now 2012-07-08 18:21:29 +03: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 5b8c426b3c (360) Xinput2 driver moved to input/ 2012-07-07 16:20:31 +02:00
Themaister b84bcc3670 Check if use_float is set while doing fixed point. 2012-07-06 18:15:14 +02:00
Themaister 7b12182a0f Add optional fixed point resampler. 2012-07-06 17:36:37 +02:00
TwinAphex51224 0faac2faf9 (Xbox 1) Don't include in the Xbox 360 drivers 2012-06-24 23:31:36 +02:00
Themaister 14f7f641f3 Refactor directory listing to greatly optimize sorting. 2012-06-23 15:32:46 +02:00
Themaister fd017b8f57 Add NULL drivers. 2012-06-20 00:43:41 +02:00
Toad King 4f3e54529b Merge branch 'master' of http://github.com/Themaister/RetroArch
Conflicts:
	qb/config.libs.sh
2012-06-18 18:50:22 -04:00
Themaister f0fab577e7 Take the slow but more correct path for directory sorting. 2012-06-19 00:16:59 +02:00
Themaister a1f5715431 Add sorting and size query to dir_list_new. 2012-06-18 01:11:03 +02:00
Themaister e455e52e06 MAJOR refactor of dir_list_new. 2012-06-18 00:34:47 +02:00
Themaister 53f645ed0b Add SET_PIXEL_FORMAT environ. 2012-06-16 15:07:31 +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
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
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 b95b101a37 Add compat to external APIs. 2012-04-21 23:36:55 +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 da4f176053 Fix segfault when audio driver fails to initialize. 2012-04-19 21:09:27 +02:00
Themaister f6ed5902c2 Fixups for aspect_ratio_auto. 2012-04-15 21:48:32 +02:00
Themaister abaa4f371d Add video_aspect_ratio_auto setting. 2012-04-15 17:36:09 +02:00
Themaister c7e6a0de06 Fix bug when maximum geometry was not POT. 2012-04-11 23:14:08 +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 5d51942f69 libretro fixups. 2012-04-09 22:04:43 +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 2178a14952 Find drivers before snes_init() to allow rotation to work properly. 2012-04-01 19:38:50 +02:00
Themaister 34bdea0f1c Add rotation to GL driver (PC). 2012-04-01 19:20:37 +02:00
Themaister eee0233abb Wrap driver calls in overridable macros. 2012-03-29 00:30:50 +02:00
Themaister 9ab02b12be Move compat functionality to compat/. 2012-03-16 23:26:57 +01:00
Themaister 49f27c68ff Style nits. 2012-03-12 21:45:43 +01:00
Themaister 6e0da33c60 Fix allocation. 2012-03-04 13:20:09 +01:00
Themaister ea0233716e Slow motion mode. 2012-03-04 12:01:07 +01:00
Themaister aecd9a1ecb Rename resampler functions to something more generic. 2012-02-23 23:22:08 +01:00
Themaister 438ac4ca4b Begin adding rate control. 2012-02-14 01:16:37 +01:00
Themaister 9c861f13be Fix additional exclamation marks. 2012-02-11 21:16:01 +01:00
Themaister 79f29a3966 Add test case and some fixes for re-entrancy. 2012-02-01 21:32:27 +01:00
Themaister ee7bacd2bc Fix critical performance regression. 2012-01-14 23:15:25 +01:00
Themaister abf34c06c1 Attempt to always return from ssnes_main_init() when errors occur. 2012-01-14 16:08:54 +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 c5d1fd32d5 Deinit audio before video. 2011-12-25 19:31:05 +01:00
Themaister 672102d377 Change asserts to ssnes_assert(). 2011-12-25 12:47:47 +01:00
Themaister 0724ab2ca1 Fix assertion bugs. 2011-12-25 12:13:19 +01:00
Themaister c272ba56ad Fix build for Release mode. 2011-12-25 11:45:27 +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 7f5db4d70f Boots up, but broken graphics. 2011-12-14 21:44:03 +01:00
Themaister 534163a57f Start adding stuff for Wii. 2011-12-14 12:49:13 +01:00