Gregory Hainaut
b68270ded1
Merge pull request #448 from PCSX2/lilypad-linux-port
...
Lilypad linux port
Basic support of Keyboard and Joystick
No gui to configure anything. Not well tested yet.
2015-03-01 16:52:23 +01:00
3kinox
4211d51f07
64 bits: solve various of type problems
2015-02-27 22:07:13 +01:00
Gregory Hainaut
f254d44030
CDVDlinuz: fix gtk header include
...
It doesn't fix GTK3 build but it allows to see the real error now.
2015-02-27 10:11:38 +01:00
Gregory Hainaut
330d14941f
gsdx-linux: support dump mode on linux
...
It could be useful to analyze GS dump. Warning it consumes a lot of
disk space.
2015-02-21 13:51:06 +01:00
Gregory Hainaut
8d76586dec
lilypad: fix windows build
...
I think lilypad used libc instead of libc++
2015-02-21 11:08:45 +01:00
Gregory Hainaut
642371996a
lilypad: add joy support based on linux evdev
...
I wanted to play with linux interface :)
It is far from perfect but joysticks are detected. The biggest issue is the correct generation of the config file!
2015-02-21 11:08:45 +01:00
Gregory Hainaut
3a2e8f38df
lilypad: removed old linux/LilyPad.cpp file
2015-02-20 23:05:21 +01:00
Gregory Hainaut
8350dc2c68
lilypad: remove debug printf
2015-02-20 23:05:21 +01:00
Gregory Hainaut
13bb1ae028
lilypad: Keep original KeyboardQueue (more ifdef)
...
It would be nice if windows support basic std::mutex
The reverse fifo queue is kept in Linux/KeyboardQueue.cpp
2015-02-20 23:05:21 +01:00
Gregory Hainaut
349bb810f0
lilypad: merge LilyPad.cpp (ifdef, ifdef)
...
Avoid duplication for linux
2015-02-20 23:05:21 +01:00
Gregory Hainaut
42b9932bd0
lilypad: add code to bind key
2015-02-20 23:05:21 +01:00
Gregory Hainaut
3096e94616
lilypad : plug a basic keyboard device
...
Add a reverse fifo to transfer event from core to plugin
Long story short, on linux there is only one event queue in core
2015-02-20 23:05:21 +01:00
Gregory Hainaut
aec43f0bee
lilypad: add x11 display pointer
...
If we move all window management hack into the core it would be useless (for input)
2015-02-20 23:05:21 +01:00
Gregory Hainaut
087f252909
lilypad: add plumbering config
...
Note: it miss interaction with any dialog
2015-02-20 23:05:21 +01:00
Gregory Hainaut
4f013a2960
lilypad: import common utility to manage config
...
Based work on spu2x equivalent file. Only convert the file to a CfgHelper object
2015-02-20 23:05:21 +01:00
Gregory Hainaut
156f66ef62
lilypad: make it compile on linux
...
* Ifdef windows code
* Add a windows crap to linux crap translation layer
2015-02-20 23:05:21 +01:00
Gregory Hainaut
3661f51bcb
lilypad: minor c++ fixes
...
Must be checked on windows
2015-02-20 23:05:21 +01:00
Gregory Hainaut
147353a177
lilypad: add cmake file
2015-02-20 23:05:21 +01:00
Gregory Hainaut
76ff56a4e3
lilypad: add a linux fork
...
Yes it is bad!
2015-02-20 23:05:21 +01:00
Gregory Hainaut
1655055f61
onepad: update old comment
2015-02-20 23:05:21 +01:00
Gregory Hainaut
e0f56282de
cmake: no preferred-stack-option in asan
...
It conflicts with the global definition
I don't remember why this option was set on GSdx. Potentially it could be dropped (or fixed correctly)
Anyway, it will help to enable Address Sanitizer on Linux Build
2015-02-20 19:44:51 +01:00
TheLastRar
80b24f8055
Fix warped read code
2015-01-27 15:16:06 +00:00
Gregory Hainaut
0bdeb8d411
Merge pull request #430 from PCSX2/win-ocl-crash-fix
...
gsdx ocl: check size of array before access
2015-01-17 12:05:52 +01:00
Gregory Hainaut
6bb945f6c8
Merge pull request #428 from pgert/master
...
Case Mapping & GitHub instead of GoogleCode.
2015-01-16 21:25:36 +01:00
Gregory Hainaut
70ad09f6ef
gsdx ocl: check size of array before access
...
Potential fix for issue #408 ?
2015-01-16 09:39:50 +01:00
pgert
ad8e800aa5
Update Cfg.c
2015-01-12 13:27:09 +01:00
uyjulian
446977d126
GSdx forward compatible bit
2015-01-09 19:39:59 -06:00
Miguel A. Colón Vélez
c8c22cf6a0
Notify about cross build option upon failure.
...
Tell the user to use CMAKE_TOOLCHAIN_FILE upon failure.
.
Cleanup detectOperatingSystem. Should be the same but adding
GNU and kFreeBSD from Debian and filtering out pre OS X Apple.
.
libaio is linux only. Also check for the correct header since
aio.h is the POSIX one. Both are in /usr/include/ anyway.
Only build core if (Linux AND NOT AIO_FOUND) == false.
.
Use Unix for GTK and X11. Macs has gtk-quartzs and xquartz or native X11.
*BSD, linux, etc should have both.
2015-01-03 14:51:04 +01:00
Gregory Hainaut
ee34bd724f
gsdx ocl: avoid a crash if ocl is selected but not enabled
2014-12-23 19:39:02 +01:00
Gregory Hainaut
767b841fea
gsdx ocl: disable it on windows
...
Until we found a way to fix a couple of crashes
2014-12-22 19:02:35 +01:00
Gregory Hainaut
66d7aa75e2
cmake: move -DNDEBUG to global option
2014-12-20 13:43:25 +01:00
Gregory Hainaut
a99f3ea321
cmake: remove duplicate flags
...
also use the lighter elseif structure to reduce a bit the size of cmakefile
2014-12-20 13:43:25 +01:00
Gregory Hainaut
4773bcf0ea
cmake: s/_LINUX/__linux__/
2014-12-20 10:54:24 +01:00
Gregory Hainaut
4f957feacd
onepad: use union instead of stange cast
...
Nicer this way. Beside it removes the strict aliasing issue.
2014-12-20 10:54:18 +01:00
Gregory Hainaut
43e854fece
spu2x: remove duplicated function
2014-12-20 10:54:18 +01:00
Gregory Hainaut
ff24a5f702
gsdx linux: disable std::thread
...
Threads are not killed properly therefore GS crashes on reloading (aka F9)
See issue #392
2014-12-14 12:22:40 +01:00
Gregory Hainaut
b9297c6158
Merge pull request #377 from PCSX2/tlb_goemon_v2
...
goemon gamefix improvement
2014-12-14 11:47:37 +01:00
Gregory Hainaut
63ba78b664
remove zzogl-pg-cg
...
superseeded by zzogl-pg
2014-12-13 12:28:37 +01:00
Gregory Hainaut
7d21497c11
clang: no support of f-abi-version=6 option
2014-12-13 12:28:37 +01:00
Gregory Hainaut
18405e2598
gsdx: add goemon comment on some assertion
...
If someone want to trigger them
2014-12-12 22:31:31 +01:00
Gregory Hainaut
cebccea81c
gsdx: disable some gl extensions when VMware driver is detected
...
It is likely the Mesa driver, code seems to have the same issue (separate shader)
2014-12-12 20:44:58 +01:00
Gregory Hainaut
35f26f00bc
Merge pull request #386 from PCSX2/remove-tls
...
spu2x:zzogl: disable TLS
2014-12-11 09:55:17 +01:00
Gregory Hainaut
3d071e50ad
gtk3: gtk_hscale_new_with_range => gtk_scale_new_with_range
2014-12-10 22:09:21 +01:00
Gregory Hainaut
5d8b2d8044
gtk2: GtkNotebookPage is useless
...
And not supported by gtk3
2014-12-10 22:09:21 +01:00
Gregory Hainaut
e9233f4698
gtk2: use text rather than image
...
Require by GTK3
2014-12-10 22:09:21 +01:00
Gregory Hainaut
7fb548d7c5
gtk2: GTK_OBJECT is useless
2014-12-10 22:09:21 +01:00
Gregory Hainaut
d1389db2f4
gtk2: keyboard macro update
2014-12-10 22:09:21 +01:00
Gregory Hainaut
ba9e998ff5
gtk2: port gtk_combo_box to gtk_combo_box_text
...
The former was deprecated on gtk2.24 (and removed from gtk3)
2014-12-10 22:09:21 +01:00
Gregory Hainaut
a52f598369
spu2x:zzogl: disable TLS
...
builds an Utilies_NO_TLS.a archive of the common Utilities code. It replaces native TLS by a slower reimplementation
Rational: number of TLS slot is very limited by the GLIBc on linux. I hope it doesn't impact performance.
* Zzogl don't requires TLS AFAIK
* spu2x will likely use it for assertions only.
TLS exhaustion creates issue to dlopen plugins
issue #384 : https://github.com/PCSX2/pcsx2/issues/384
But also for profiled build (-fprofile-generate)
http://forums.pcsx2.net/Thread-WORKAROUND-build-with-fprofile-generate
If someone have a better idea, please raise your hand!
2014-12-08 22:26:46 +01:00
Gregory Hainaut
0a4f9e43d9
cmake: clean sdl management
...
* sdl is mandatory for spu2x
* cmake will include either /usr/include/SDL or /usr/include/SDL2 so no
need to add extra ifdef
2014-12-07 21:06:21 +01:00