13118 Commits

Author SHA1 Message Date
Twinaphex
44970a95a9 Merge pull request #1044 from lioncash/warnings
Fix a few iOS/misc warnings.
2014-09-21 05:01:55 +02:00
Lioncash
3f8d11e6b7 iOS: Minor cleanup
- Clean up trailing whitespace.
- Get rid of a redundant initialize call.
- Access variables through their property equivalents.
2014-09-20 22:56:44 -04:00
twinaphex
1e4cd8abe0 Move frame_time_last= 0 to rarch_set_action_state 2014-09-21 04:49:10 +02:00
Lioncash
f618b6de66 iOS: Fix mismatching types in iOS 7 keyboard code 2014-09-20 22:16:42 -04:00
Lioncash
1c62c36e3b shader_parse: Fix missing enum identifier warning 2014-09-20 22:07:52 -04:00
Twinaphex
bd8b5be03f Merge pull request #1043 from lioncash/warnings
iOS: Get rid of unsigned/signed comparison warnings.
2014-09-21 03:49:45 +02:00
Lioncash
1e02afcbdf iOS: Get rid of some unsigned/signed comparison warnings. 2014-09-20 21:48:36 -04:00
Twinaphex
68e1e3add8 Merge pull request #1041 from lioncash/ioswarn
iOS: Fix switch warning in RAGameView.m
2014-09-20 23:37:12 +02:00
twinaphex
9e362a4f35 Revert "Add stub functions for get_video_driver in frontends"
This reverts commit 98eaaf8f5fa64b71a53f18aab6e999cdbc0d63a9.
2014-09-20 23:35:55 +02:00
Lioncash
c4034080ac iOS: Fix switch warning in RAGameView.m 2014-09-20 17:31:03 -04:00
Twinaphex
c37e1505ae Check if driver.frontend_ctx is not NULL in find_video_driver 2014-09-20 23:30:54 +02:00
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