13107 Commits

Author SHA1 Message Date
twinaphex
98eaaf8f5f Add stub functions for get_video_driver in frontends 2014-09-20 23:25:46 +02:00
Twinaphex
19df1d3197 Merge pull request #1040 from lioncash/ios-fix
iOS: Directly synthsize RAMenuItemBasic properties
2014-09-20 23:09:07 +02:00
Lioncash
ed192392f0 iOS: Directly synthsize RAMenuItemBasic properties
On iOS, when properties are not explicitly synthesized in their implementation, the compiler will attempt to do something that is called "autosynthesis", which is essentially it synthesizing the properties for you. However this problem with this is that it can trip up the compiler if you have a subclass of a base class that has a property with the same name as one in the base class.

Also consider how properties work. Say we have a property like so:

@property int someVar;

This is telling the compiler to make a getter and a setter for a class member variable named someVar which is of type int. So the following functions will be created.
+(int) someVar(), which is the getter.
+(void) setSomeVar:(int) var, which is the setter.

In this case, RAMenuItemBasic inherits from NSObject, which already has a function named "description", yet we were trying to generate a getter/setter for our own variable named that, which leads to clashing. This is why the property was never being synthesized correctly. Directly declaring the synthesizing calls ourself fixes this.
2014-09-20 16:54:06 -04:00
Twinaphex
cfd078812e (Apple) iOS Xcode 6 build fix 2014-09-20 05:26:33 +02:00
Alcaro
ef4fbc752d Merge branch 'master' of github.com:libretro/RetroArch 2014-09-20 00:08:56 +02:00
Alcaro
af2d5ed53f Move this to the bottom for consistency with the other null drivers. 2014-09-20 00:03:35 +02:00
Twinaphex
3fcc9364a4 Add tween.c to griffin.c 2014-09-19 22:59:23 +02:00
twinaphex
e5c22e3e54 Refactor check_enter_menu 2014-09-19 22:41:40 +02:00
twinaphex
1bfc20b041 Refactor check_movie_record code some more 2014-09-19 20:06:09 +02:00
twinaphex
17088bdaf2 Split up check_movie_record into check_movie_init and check_movie_record 2014-09-19 20:00:15 +02:00
Twinaphex
e83e6275ac Merge pull request #1038 from lakkatv/lakka
(Lakka) Move tweening related functions in an external lib
2014-09-19 16:45:43 +02:00
Jean-André Santoni
c172169a9e (Lakka) Move tweening related functions in an external lib
so they can be used from another menu driver. Also add more tweening functions.
2014-09-19 13:36:18 +02:00
Jean-André Santoni
9bbd0b9825 (Lakka) Make settings values responsives 2014-09-19 11:31:06 +02:00
twinaphex
b2a63bbf29 (config_file.c) Change some control code flow 2014-09-19 09:22:25 +02:00
twinaphex
bf40faebb9 Refactor do_state_checks - returns false if paused 2014-09-19 09:14:49 +02:00
twinaphex
092ba10b1c Indent/style nits 2014-09-19 07:55:02 +02:00
twinaphex
038d397ece Minor cleanups in retroarch.c 2014-09-19 07:53:03 +02:00
twinaphex
58cfb27c5a Split up some of the code in retroarch.c to general.c 2014-09-19 07:34:34 +02:00
twinaphex
db33f26405 Set savestate_auto_load to false by default - certain cores still
crash with this feature on so we don't want to leave this enabled
by default
2014-09-18 08:39:06 +02:00
twinaphex
94a269dbca (Android) Build fix 2014-09-18 05:54:39 +02:00
twinaphex
f16a065cdd Fixes 'block hotkey enable' 2014-09-18 04:04:33 +02:00
Twinaphex
4eb80db8de Merge pull request #1037 from heuripedes/master
(qb) Fix OS detection under msys2
2014-09-17 22:39:14 +02:00
Higor Eurípedes
5ba8cbb5ef (qb) Fix OS detection under msys2 2014-09-17 17:37:39 -03:00
Twinaphex
c75f1d163b Merge pull request #1036 from timostrunk/fix_state_naming
Fix directory and naming of savestates, srm files.
2014-09-17 20:20:33 +02:00
Twinaphex
8f5e3c55ab Merge pull request #1035 from aliaspider/master
add an SSE optimized version of the CC resampler
2014-09-17 20:18:22 +02:00
twinaphex
4c4ae11ab6 Optimizations to input handling in rarch_main_iterate - pass
'trigger' state around
2014-09-17 20:15:56 +02:00
aliaspider
493a8aea2d fix resampler tests. 2014-09-17 19:07:40 +01:00
aliaspider
d1a785823d add a faster (approximated) version of the CC resampler using SSE
intrinsics
2014-09-17 19:06:53 +01:00
Timo Strunk
757f7d96c2 Now path is also correctly sanitized. g_extern.basename of /path/to/file.zip#game.img is now /path/to/game 2014-09-17 19:46:59 +02:00
Timo Strunk
dd892712ad if want_miniz is 0, zlib is compiled in regardless. Fixes makefile to allow that. 2014-09-17 18:44:48 +02:00
Timo Strunk
95f02d12f4 Basenames should now be correct also when using zipfiles. It is now always only the basename of the file in the zipfile. So if zipname == internalname, its zipname, like requested here: https://github.com/libretro/RetroArch/issues/1030#issuecomment-55810822 2014-09-17 18:41:23 +02:00
Timo Strunk
125377b528 Merge remote-tracking branch 'upstream/master' into fix_state_naming 2014-09-17 18:08:05 +02:00
twinaphex
82806dcd85 Hide away last BIND_PRESSED invocations with check_quit_key_func 2014-09-17 17:48:41 +02:00
twinaphex
f7061e7233 Rewrite check_pausegp 2014-09-17 17:45:44 +02:00
Timo Strunk
d6c5347197 Merge remote-tracking branch 'upstream/master' 2014-09-17 11:02:38 +02:00
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