Commit Graph

13131 Commits

Author SHA1 Message Date
twinaphex ff9a16d407 Refactor main entry iteration function 2014-09-21 08:05:35 +02:00
twinaphex bdf9df6c2e Clean up more code in frontend.c 2014-09-21 07:39:17 +02:00
twinaphex 29aed58e4e Refactor MODE_LOAD_GAME 2014-09-21 06:50:10 +02:00
twinaphex 7056c9ca39 Refactor MENU_CLEAR_INPUT 2014-09-21 06:41:47 +02:00
twinaphex 9dc35b056f Refactor MODE_MENU_PREINIT code 2014-09-21 06:33:49 +02:00
Twinaphex 213bb63a12 Merge pull request #1046 from lioncash/warnings
iOS: Use accessors instead of direct variables
2014-09-21 06:05:12 +02:00
Lioncash 965dd829b7 iOS: Use accessors instead of direct variables 2014-09-20 23:58:10 -04:00
Twinaphex 0dd4c17b93 Merge pull request #1045 from lioncash/warnings
iOS: Kill off some more warnings.
2014-09-21 05:31:29 +02:00
twinaphex 76be2aecf8 Add SD_FLAG_CMD_APPLY_AUTO to setting 'Force-disable sRGB FBO' 2014-09-21 05:26:49 +02:00
Lioncash a8345b217b iOS: Fix another signed/unsigned mismatch warning 2014-09-20 23:26:30 -04:00
Lioncash 402a08f554 iOS: Move instance variables in RetroArch_iOS over to properties. 2014-09-20 23:26:23 -04:00
twinaphex 395e2ed756 Add "Force-disable sRGB FBO" option for buggy Intel OpenGL drivers
on Windows - should hopefully fix messed up colors with it enabled (untested)
2014-09-21 05:23:51 +02:00
Twinaphex 45a31c9969 (iOS) Add HAVE_LAKKA and HAVE_GLUI 2014-09-21 05:07:47 +02:00
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 98eaaf8f5f.
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