32442 Commits

Author SHA1 Message Date
radius
7421059521 (ems) fix nit 2016-09-09 00:27:24 -05:00
radius
b883597272 (psp) add comment 2016-09-09 00:26:20 -05:00
radius
5dcfe3bb24 (ems) simplify code 2016-09-09 00:25:27 -05:00
radius
ff6861fc77 emscripten and psp frontend driver refinement 2016-09-09 00:12:48 -05:00
radius
9d7bb72c00 (psp) add missing paths as reference for vita 2016-09-09 00:06:13 -05:00
radius
d551b00787 emscripten and psp frontend driver cleanups 2016-09-08 23:56:43 -05:00
radius
8b2434a408 (ems) override F1 and other keys, use paths relative to the base url 2016-09-08 23:37:30 -05:00
twinaphex
934bd2d018 (Emscripten) Set pause_nonactive to false by default 2016-09-09 06:06:12 +02:00
twinaphex
1cc55dcae3 (FFT) fft_render - cleanup 2016-09-09 04:05:11 +02:00
twinaphex
0ceffb87f2 matrix_4x4_ortho - cleanup 2016-09-09 04:02:41 +02:00
twinaphex
8649852e18 (fft) Start making this more readable 2016-09-09 03:17:00 +02:00
Nicolas Guillaumin
05df632bd8 WIP: Fixes #2026 Screensaver suspend on Linux via Dbus
One some systems (tested with Gnome 3 on Arch Linux) the current method
of using `xdg-screensaver` to suspend the screensaver does not work.
Instead, using DBus to issue an `Inhibit` request is recommended.

The request returns a cookie that needs to be re-used to un-inhibit the
screensaver later. Additionally if the DBus connection is closed the
current inhibition is discarded. Thus, the DBus connection needs to stay
connected for the duration of the screenshot inhibition.

The code is heavily inspired from the [SDL 2.x
code](http://hg.libsdl.org/SDL/file/default/src/core/linux/SDL_dbus.c#l172).
I didn't call the SDL 2 code though since this it to fix the issue with
the GL driver, and I assume one would want to have screensaver inhibited
even when SDL 2 is not available (but GL is).

I've set "WIP" because:
* I haven't done C in a long time so my code is probably not great
* There's a dependency on DBus which I don't know is acceptable or
not
* I've put my code where I could to check it works, but `x11_common` may
not be the best place
* The code need and "init" and "deinit" kind of method as it needs to
initialise the DBus connection, and on deinit close it properly. I've
used `x11_connect` and `x11_window_destroy` but they don't sound like
the best choices.
* I'm a bit unclear as to what happens when "suspend screensaver" is
ticked on/off in the menu. This doesn't seem to call
`x11_suspend_screensaver` everytime, so I'm not sure if there's a hook
somewhere (as disabling screensaver suspend in the menu should cause a
DBus unhinibit request to be sent).
* Should I just call the SDL 2.x code (meaning that the GL driver would
depend on SDL 2.x at runtime)?

So, first of all are you ok with the approach, and if yes I'd gladly get
feedback about the code, how to architecture it and the best place to
put it.

Thanks!
2016-09-08 15:23:41 -07:00
Alcaro
ea9793a17c Merge pull request #3546 from libretro/revert-3539-_debug
Revert "Append _debug to debug builds and add file to .gitignore"
2016-09-08 18:23:34 +02:00
Alcaro
c9e4511e37 Revert "Append _debug to debug builds and add file to .gitignore" 2016-09-08 18:23:26 +02:00
twinaphex
e10fb993ff (core_impl.c) Cleanups 2016-09-08 16:25:40 +02:00
twinaphex
59363d2631 (PS3/PSP) Cleanups 2016-09-08 16:18:30 +02:00
twinaphex
2a1c93c718 (CTR) Cleanup 2016-09-08 16:16:28 +02:00
twinaphex
7bb93478db (HAVE_MENU) Buildfix 2016-09-08 14:28:59 +02:00
twinaphex
8e4683fa10 Compiles without HAVE_MENU defined again 2016-09-08 14:25:14 +02:00
twinaphex
dc0666555f Cleanups 2016-09-08 14:17:38 +02:00
twinaphex
4cf20fd2c3 (dynamic.c) Cleanups 2016-09-08 14:11:32 +02:00
twinaphex
cbba2f593f Cleanups 2016-09-08 13:29:50 +02:00
twinaphex
bc5c7571b5 (Wii) Cleanup 2016-09-08 13:20:50 +02:00
twinaphex
ebf04dab4f (PS3 Salamander) Fix build 2016-09-08 13:17:14 +02:00
twinaphex
e045ec237a Cleanup audio/test/snr.c 2016-09-08 12:10:38 +02:00
twinaphex
db6171676a Use retro_assert everywhere 2016-09-08 11:59:44 +02:00
twinaphex
ea4f85d860 (drivers_resampler) Style indent cleanups 2016-09-08 11:46:59 +02:00
twinaphex
60cdd730b1 (audio/drivers) Cosmetic cleanups 2016-09-08 11:41:58 +02:00
twinaphex
87e33c56f1 Add HAVE_CONFIG_H ifdefs 2016-09-08 11:22:08 +02:00
twinaphex
b15ec2f0d2 (Emscripten) Add PicoDrive 2016-09-08 10:44:40 +02:00
Twinaphex
2c9f56932c Merge pull request #3541 from frangarcj/master
(VITA) Fix build
2016-09-08 09:18:01 +02:00
frangarcj
cf478647a1 (VITA) Fix build 2016-09-08 09:16:42 +02:00
twinaphex
f5b282c422 (Emscripten) Add Desmume 2016-09-08 09:02:40 +02:00
twinaphex
f5f2cfda3a Cleanups 2016-09-08 08:16:49 +02:00
twinaphex
b43f786f89 Cleanups 2016-09-08 08:15:40 +02:00
twinaphex
34022605aa Cleanups 2016-09-08 08:13:09 +02:00
twinaphex
8a9ae155a2 Cleanups 2016-09-08 08:10:31 +02:00
twinaphex
74c186c184 Cleanups 2016-09-08 08:08:50 +02:00
radius
21f83a89ad (ems) add libretro-logo 2016-09-08 00:52:54 -05:00
radius
2e17af781f (ems) rework storage 2016-09-08 00:49:36 -05:00
twinaphex
2f9dbd2541 (Emscripten) If SDL2 is defined, use it as default input driver 2016-09-08 07:37:27 +02:00
twinaphex
413d786e12 (Emscripten) Add mupen64plus 2016-09-08 07:10:53 +02:00
twinaphex
f148194dab (ffmpeg) Add more extensions 2016-09-08 06:32:57 +02:00
twinaphex
7a36ea7d1c Silence warnings 2016-09-08 06:11:02 +02:00
twinaphex
5aaebcfa62 Header include cleanups 2016-09-08 06:07:43 +02:00
twinaphex
0732626797 Add header includes 2016-09-08 06:02:41 +02:00
twinaphex
c35d763990 Cleanups 2016-09-08 06:00:54 +02:00
Twinaphex
ac2676b25f (glcapabilies.h) Add HAVE_CONFIG_H ifdef 2016-09-08 05:51:20 +02:00
twinaphex
229e0dd640 Cleanups 2016-09-08 05:48:43 +02:00
twinaphex
83194ff235 (menu) Cleanups 2016-09-08 05:43:10 +02:00