Commit Graph

13272 Commits

Author SHA1 Message Date
twinaphex
3892c8326d Use macro functions to hide away some of the ugliness 2014-09-17 07:38:49 +02:00
twinaphex
92938fe45f Optimizations - prevent static bools everywhere in check_* functions
- input_keys_pressed_func takes a pointer and sets it to the last
input state. We then pass this around functions and use it where
necessary
2014-09-17 06:55:03 +02:00
twinaphex
4a84e0e609 Refactor input_keys_pressed_func 2014-09-17 00:46:16 +02:00
twinaphex
d8d9b35a57 (menu_driver.h) Fix relative paths 2014-09-17 00:36:31 +02:00
twinaphex
310438f15b Refactor away input_key_pressed_func 2014-09-17 00:29:47 +02:00
Twinaphex
ac41067df5 Merge pull request #1034 from heuripedes/master
(qb) Fix bashism in Cg checks
2014-09-17 00:12:45 +02:00
Higor Eurípedes
9d69f81db9 (qb) Fix bashism in Cg checks 2014-09-16 19:11:02 -03:00
Twinaphex
c1cd4ad37a Merge pull request #1033 from heuripedes/master
Build fixes
2014-09-16 23:02:44 +02:00
Higor Eurípedes
25b09cdc78 Fix typedef redefinition 2014-09-16 18:01:24 -03:00
Higor Eurípedes
b66cf0967b (qb) Always set CG_LIBS 2014-09-16 18:00:12 -03:00
Twinaphex
91a8fc6a07 Merge pull request #1032 from heuripedes/master
Use -lcg on Win32-targeted builds
2014-09-16 22:51:50 +02:00
Higor Eurípedes
399718fd18 Use -lcg on Win32-targeted builds 2014-09-16 17:45:45 -03:00
Twinaphex
560341ec02 Merge pull request #1028 from heuripedes/cross-compile
Cross compile improvements
2014-09-16 21:52:51 +02:00
Higor Eurípedes
600af88507 (qb) Make $CROSS_COMPILE affect target OS detection 2014-09-16 16:48:08 -03:00
Higor Eurípedes
8620cef48a (qb) Prefix the pkg-config path with $CROSS_COMPILE 2014-09-16 16:48:08 -03:00
Twinaphex
58332c8dda Merge pull request #1027 from timostrunk/have_compression_back
Readded HAVE_COMPRESSION define
2014-09-16 21:46:45 +02:00
twinaphex
28a47cf1b0 Add HAVE_PYTHON=0 to Makefile.win 2014-09-16 19:25:51 +02:00
Timo Strunk
b172697ced Merge branch 'have_compression_back' 2014-09-16 19:23:18 +02:00
twinaphex
25237f8612 (Makefile.common) Fixes 2014-09-16 19:20:33 +02:00
Timo Strunk
c02a4d5af1 Readded HAVE_COMPRESSION define 2014-09-16 19:20:15 +02:00
twinaphex
7a66467161 Create macro BIND_PRESSED - wrapper around BIT64_GET 2014-09-16 18:08:44 +02:00
twinaphex
709ecbfa67 Get rid of some redundant function pointer checks for driver.input 2014-09-16 17:50:38 +02:00
twinaphex
a5e367d2f0 More of aforementioend 2014-09-16 09:48:47 +02:00
twinaphex
c391249e3f Optimizations -
* reduce amount of calls to input_key_pressed_func all throughout
rarch_main_iterate - call input_keys_pressed_func only once and
then pass an input state value around to all subsequent functions
* define retro_input_t typedef - simply an uint64_t for now since
meta binds don't exceed 64 entries yet
2014-09-16 09:26:08 +02:00
twinaphex
2f06612133 (retroarch.c) refactors 2014-09-16 07:20:09 +02:00
twinaphex
eeda9df418 input_common.c - small cleanups 2014-09-16 07:06:23 +02:00
twinaphex
191f0b6383 Move input_key_pressed to input_common.h 2014-09-16 07:02:57 +02:00
twinaphex
29d533773c rpng.c - cleanup 2014-09-16 06:18:51 +02:00
twinaphex
d363bdf24e Take out frame_buf_show in menu_driver.h 2014-09-16 06:09:23 +02:00
twinaphex
4550f3707b Cleanups 2014-09-16 06:01:49 +02:00
twinaphex
5188b3cc56 (Menu) Don't need menu_type_is anymore in menu display drivers 2014-09-16 04:21:31 +02:00
Twinaphex
8071be73d9 Merge pull request #1026 from heuripedes/master
More Windows fixes
2014-09-16 03:17:08 +02:00
Higor Eurípedes
df6a6155c1 (Makefile) Pass -static-libgcc to the linker on Win32 2014-09-15 22:15:00 -03:00
Higor Eurípedes
92e49bcbdd Make sure SDL1 is disabled when SDL2 is active 2014-09-15 22:13:54 -03:00
Higor Eurípedes
0c0241dae7 Fix xinput autoconfig support in MSYS2 builds 2014-09-15 22:13:05 -03:00
Twinaphex
0a9eadd336 Merge pull request #1025 from heuripedes/master
Windows builds fixes
2014-09-16 02:32:40 +02:00
Higor Eurípedes
380c1a7724 (string_list.c) Include posix_string.h 2014-09-15 21:30:04 -03:00
Higor Eurípedes
1331e50bf2 (d3d_ctx.cpp) Add HAVE_EGL check 2014-09-15 21:16:36 -03:00
twinaphex
b857890d1e (Lakka) Fixes 2014-09-16 01:36:28 +02:00
twinaphex
272e4d41a1 Don't rely on retro_time_t typedef for menu_driver API 2014-09-16 01:29:33 +02:00
twinaphex
fffed52892 Silence warning 'variable is used before its value is set' 2014-09-16 01:09:10 +02:00
twinaphex
bd4f28af21 Move audio_frame_float typedef struct to resampler.h 2014-09-16 00:54:18 +02:00
twinaphex
a09e04f679 Split up driver_menu.h into three separate header files -
for menu display API, menu backend API, and menu driver general API
2014-09-16 00:52:07 +02:00
Twinaphex
18e20b0975 Merge pull request #1023 from heuripedes/frontend
(frontend.c) Fix include
2014-09-16 00:27:59 +02:00
Twinaphex
62e78c930e Merge pull request #1024 from lakkatv/lakka
(Lakka) Display a black background if no png background supplied
2014-09-16 00:27:50 +02:00
twinaphex
8dc95da1ac (Nearest Resampler) C89 build fixes 2014-09-16 00:27:23 +02:00
Jean-André Santoni
2836d19052 (Lakka) Display a black background if no png background supplied 2014-09-16 00:18:14 +02:00
Higor Eurípedes
e15c683b44 (frontend.c) Fix include 2014-09-15 17:48:11 -03:00
twinaphex
46055eb47b (GLUI) Silence warnings 2014-09-15 22:29:30 +02:00
Twinaphex
994c2d6db5 Merge pull request #1022 from heuripedes/frontend-drivers
(frontend) Add support for frontend specific video drivers
2014-09-15 22:12:39 +02:00