Commit Graph

109 Commits

Author SHA1 Message Date
Twinaphex 6eedfd5a14 (iOS) Menu - reimplementation/build fixes 2014-10-18 08:07:56 +02:00
Twinaphex 8856ed59a7 (iOS) Reimplement / get building again 2014-10-18 07:58:17 +02:00
Twinaphex 3866fba3a7 (iOS) Add more #if 0 blocks indicating code that needs to be reimplemented
in iOS menu
2014-10-18 07:11:09 +02:00
Twinaphex 967edbb0e8 (iOS) Stub out core_info_get_custom_config code for now 2014-10-18 07:08:09 +02:00
Twinaphex c82145ff48 (iOS) menu.m - use g_defaults.history 2014-10-17 05:12:57 +02:00
Twinaphex 9357b86fe1 (iOS) Get rid of apple_run_core invocations in apple/iOS/menu.m and
move over to new way of loading core. TODO: might need some kind
of explicit return to game in case main menu doesn't get shut down
when we invoke this
2014-10-17 02:49:25 +02:00
twinaphex 81824f213d (iOS) Add TODO notes 2014-10-16 23:53:58 +02:00
Twinaphex a84d11abda (iOS) Take out 'Close Content' 2014-10-16 21:43:49 +02:00
Cristian Sandu 1ecc9093d5 Fix crash on iOS; was crashing when init with nil core 2014-10-14 22:47:57 +03:00
Twinaphex 22ad0d5d03 (iOS) Add to iOS solution as well 2014-10-09 05:20:13 +02:00
Twinaphex 060ce68405 (iOS) Build fixes 2014-10-09 04:04:11 +02:00
Twinaphex 1898bd93b1 (iOS) Menu - cleanup 2014-10-08 02:50:54 +02:00
Twinaphex 3ce378d264 (OSX/iOS) Build fixes for changes in setting_data_get_list 2014-10-08 02:42:41 +02:00
twinaphex 8dbe11613d Add need_refresh parameter to setting_data_get_list 2014-10-07 02:49:04 +02:00
Twinaphex 099b3f6fd7 (iOS) Menu - some cleanups 2014-09-28 18:18:26 +02:00
Lioncash 965dd829b7 iOS: Use accessors instead of direct variables 2014-09-20 23:58:10 -04:00
Lioncash 1e02afcbdf iOS: Get rid of some unsigned/signed comparison warnings. 2014-09-20 21:48:36 -04: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 72e556083c Rename core_info_has_custom_config to core_info_get_custom_config 2014-08-18 13:01:31 +02:00
Twinaphex f8ebcd3530 (iOS) Build fix 2014-08-17 17:46:00 +02:00
twinaphex 57dae32b66 Refactor away core_info_get_custom_config 2014-08-17 17:42:45 +02:00
twinaphex cc3835c915 Rewrite core_info_get_custom_config 2014-08-17 17:35:17 +02:00
twinaphex 21dff0771e Rewrite setting_data_get_string_representation 2014-08-17 16:20:37 +02:00
twinaphex b21a757b5e Change retroarch-game-history to retroarch-content-history 2014-08-15 19:33:53 +02:00
Twinaphex b8c5caa749 (iOS) Refactor willReloadData 2014-08-15 17:54:59 +02:00
Twinaphex 1fd2dc138a (iOS) Build fix 2014-08-15 17:43:39 +02:00
twinaphex 12471729f4 Move state_slot variable from g_extern to g_settings 2014-08-02 01:20:39 +02:00
Twinaphex 4d5e5d9a13 (iOS) Rearrange some more settings in Cocoa menu 2014-07-27 06:56:37 +02:00
Twinaphex 1818f638c9 (iOS) Rearrange settings in Cocoa menu 2014-07-27 06:51:00 +02:00
twinaphex 5cf88dd5de (Menu/Settings data) Need to expose audio_enable for iOS too 2014-07-26 17:43:01 +02:00
Twinaphex 438f2f111c (iOS) Don't do setting_data_reset in runActionSheet - retains
settings
2014-07-26 03:37:49 +02:00
Twinaphex 89220e8d12 (iOS) Add back setting_data_save_config 2014-07-26 03:32:44 +02:00
Twinaphex f88636eb2b (iOS) Take out non-existing 'audio_rate_control' option 2014-07-25 19:47:19 +02:00
Twinaphex 7baaf963c9 (iOS) Make wasSelectedonTableView more robust 2014-07-25 19:45:52 +02:00
Twinaphex a094aaf302 (iOS) runActionSheet - make it more robust 2014-07-25 19:35:09 +02:00
twinaphex 78fcd416e7 Take out input_overlay_enable 2014-07-25 18:57:07 +02:00
Twinaphex 17287000f0 (iOS) Remove setting_data_save_config 2014-07-24 06:43:47 +02:00
Twinaphex 350913daa7 (Apple) Refactor apple_run_core 2014-07-24 04:32:46 +02:00
Twinaphex 624a983d8e (Apple) Rewrite apple_run_core 2014-07-22 18:43:49 +02:00
twinaphex 87a21b2e13 Rename ROM history to Content history 2014-07-22 05:01:35 +02:00
Twinaphex 5db9e93aea (Apple) Build fix 2014-07-22 02:21:23 +02:00
Twinaphex c1fa603a0f (iOS) Menu - cleanups 2014-07-21 09:04:45 +02:00
Twinaphex 65f78b6729 (iOS) Cleanups 2014-07-21 04:56:04 +02:00
Twinaphex 95260e6b83 (Apple) Remove apple_core 2014-07-21 04:34:53 +02:00
Twinaphex cb7ad2d6e6 Refactor away core_info_get_id 2014-07-21 02:46:01 +02:00
Twinaphex f64b772ceb (Apple) Refactor away apple_get_core_id 2014-07-21 02:35:07 +02:00
Twinaphex 1754acb500 (iOS) Get rid of apple_get_core_display_name 2014-07-20 22:20:32 +02:00
Twinaphex c31b5bae41 (iOS) Use fill_pathname_join in iOS/menu.m 2014-07-20 21:38:49 +02:00
Twinaphex 05355a49ee (iOS) Cleanup dealloc in menu.m 2014-07-20 20:51:31 +02:00
Twinaphex 86fa191ae7 (Apple) Cleanups 2014-07-20 07:00:02 +02:00