Commit Graph

654 Commits

Author SHA1 Message Date
Twinaphex
bbfdf52632 (Apple) Reimplement apple_gfx_ctx_bind_api 2014-10-03 21:09:58 +02:00
Twinaphex
a4f4951081 (Apple) RAGameView.m - Cleanups 2014-10-03 21:04:59 +02:00
Twinaphex
1145a87ae8 (Apple) RAGameView.m - cleanups 2014-10-03 21:00:54 +02:00
Twinaphex
af4349003e (Apple) Cleanups in apple_gfx_context.c.inl 2014-10-03 20:52:29 +02:00
Twinaphex
f3b4aa0262 (Apple) Move more code to apple_gfx_context.c.inl 2014-10-03 20:28:16 +02:00
twinaphex
e6e3a01966 (Apple) Move some code to apple_gfx_context.c.inl 2014-10-03 20:19:04 +02:00
Twinaphex
d029362dd7 (GL) Make gl_alive more robust 2014-10-03 17:17:18 +02:00
twinaphex
a0497ac50e Update apple/script/build 2014-10-01 20:50:18 +02:00
Twinaphex
807818d4c6 (Apple) Reimplement input - get rid of g_current_input_data global
and instead initialize driver.input_data
2014-09-30 15:44:40 +02:00
Twinaphex
f137f680c3 (Apple) Refactor apple_input_data_t 2014-09-30 15:03:22 +02:00
Twinaphex
099b3f6fd7 (iOS) Menu - some cleanups 2014-09-28 18:18:26 +02:00
Twinaphex
b0fb6f483d (Apple/OSX) Split up HID code into separate file 2014-09-28 08:29:45 +02:00
twinaphex
b1ac2049d7 (iOS) Get rid of apple_display_alert when no cores found 2014-09-28 07:13:40 +02:00
Twinaphex
d8100d299a (iOS) Build fixes 2014-09-28 07:01:39 +02:00
Twinaphex
89654e68ce (Apple OSX) Implement GL shared contexts (preliminary) - currently
stubbed out because it makes it very slow
2014-09-27 19:51:23 +02:00
Twinaphex
1294d10c24 (Apple) Implement apple_gfx_ctx_bind_hw_render 2014-09-27 19:04:52 +02:00
Twinaphex
df2f7021fd (Apple) Properly implement apple_gfx_ctx_init/apple_gfx_ctx_destroy 2014-09-27 17:20:05 +02:00
twinaphex
6807605e4e (Apple) Update apple_gfx_context.c.inl 2014-09-27 16:48:00 +02:00
twinaphex
ce6c884724 Take out HAVE_CC_RESAMPLER define 2014-09-24 09:39:41 +02:00
Twinaphex
55154b6e53 Add cc_resampler_neon.S to iOS solution 2014-09-23 04:52:08 +02:00
Twinaphex
6353240af4 Get rid of unused variables 2014-09-21 18:02:23 +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
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
45a31c9969 (iOS) Add HAVE_LAKKA and HAVE_GLUI 2014-09-21 05:07:47 +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
Lioncash
f618b6de66 iOS: Fix mismatching types in iOS 7 keyboard code 2014-09-20 22:16:42 -04:00
Lioncash
1e02afcbdf iOS: Get rid of some unsigned/signed comparison warnings. 2014-09-20 21:48:36 -04:00
Lioncash
c4034080ac iOS: Fix switch warning in RAGameView.m 2014-09-20 17:31:03 -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
cfd078812e (Apple) iOS Xcode 6 build fix 2014-09-20 05:26:33 +02:00
Twinaphex
9fe1a66c3a (iOS) Fix build 2014-09-15 19:08:01 +02:00
Twinaphex
416307fcd3 (OSX) Add GLUI to OSX solution 2014-09-15 01:35:23 +02:00
Twinaphex
b4de99c318 (OSX) Cleanups 2014-09-15 00:51:57 +02:00
twinaphex
3787c831e7 (Wii) Compile in 7zip support 2014-09-12 22:24:18 +02:00
Twinaphex
de582c08fa (Apple) Build fixes to solutions 2014-09-12 21:53:09 +02:00
Twinaphex
e73387ca08 Merge pull request #973 from lioncash/osx
osx: Get rid of direct instance variables in settings interfaces
2014-09-11 16:56:21 +02:00
Lioncash
cc4714ea70 osx: Get rid of direct instance variables in settings interfaces
The properties already do the same thing
2014-09-11 10:41:13 -04:00
Lioncash
bcbb4beddd osx: Remove a redundant compile flag
This is already defined
2014-09-11 10:08:15 -04:00
twinaphex
75d2e13dcb Make drivers non-const 2014-09-11 07:06:20 +02:00
Twinaphex
916367e686 (OSX) Add HAVE_LAKKA to OSX solution 2014-09-10 04:53:07 +02:00
twinaphex
660ba32d1a (iOS) Update solution 2014-09-09 21:56:01 +02:00
Lioncash
4a0f3f4581 apple: Make the project adhere to the indentation style 2014-09-08 20:39:10 -04:00
Twinaphex
5eeea034c9 (Apple) Build fix 2014-09-08 23:23:40 +02:00
Timo Strunk
38fec68fe9 Merge remote-tracking branch 'upstream/master' into compressed_file_menu 2014-09-06 17:51:54 +02:00
Timo Strunk
278799c227 Merge remote-tracking branch 'upstream/master' into compressed_file_menu 2014-09-06 08:43:14 +02:00
Lioncash
0ddea1e970 Remove some redundant casts on OSX 2014-09-06 01:05:22 -04:00
Lioncash
ca28e17e94 Fix an uninitialized variable warning on OSX 2014-09-05 23:19:40 -04:00
Timo Strunk
76d62ae7fc Restores isdirectory functionality in all guis again 2014-09-04 21:46:14 +02:00
Twinaphex
4d5e27e565 (iOS) Add HAVE_7ZIP support 2014-09-02 20:28:32 +02:00
Twinaphex
4942d268e7 (OSX) Bake in 7zip support - some compatibility/build fixes
for OSX
2014-09-02 20:09:14 +02:00
Twinaphex
2747d1bd0d (iOS) Build fixes #2 - add HAVE_FILTERS_BUILTIN 2014-08-25 01:53:20 +02:00
Twinaphex
2a77028609 (iOS) Build fixes #1 2014-08-25 01:51:37 +02: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
3497fb4d8c (OSX) Build fix 2014-08-17 16:26:27 +02:00
twinaphex
21dff0771e Rewrite setting_data_get_string_representation 2014-08-17 16:20:37 +02:00
Twinaphex
3e16335d3a (OSX) OSX version now requires that you have Cg toolkit installed.
OSX port now supports Cg AND GLSL shaders
2014-08-16 08:42:51 +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
0d4b80b010 (Apple) Move apple/common/hidpad files to input/ 2014-08-13 23:56:51 +02:00
Twinaphex
1f89d6628f (Apple) Build fixes 2014-08-09 10:25:33 +02:00
Twinaphex
8edb333195 (OSX) Define HAVE_DYLIB 2014-08-03 04:03:10 +02:00
Twinaphex
89ace6c9ba (Apple) Build fix 2014-08-02 14:06:14 +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
fbb0b57cae Use __ARM_NEON__ define instead of HAVE_NEON 2014-07-26 20:18:37 +02:00
twinaphex
5cf88dd5de (Menu/Settings data) Need to expose audio_enable for iOS too 2014-07-26 17:43:01 +02:00
Twinaphex
69175ecf5d (OSX) Bump version year 2014-07-26 08:50:28 +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
d63ba6cded (iOS) Add HAVE_THREADS 2014-07-26 03:15:37 +02:00
Twinaphex
9eb5f33459 (iOS) Build fix 2014-07-26 01:58:31 +02:00
Twinaphex
a34a7c58fb Build fixes 2014-07-25 22:07:05 +02:00
Twinaphex
89276cd634 (iOS) Fix iOS solution 2014-07-25 22:05:00 +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
ec00e42ca4 (iOS) Run apple_run_core at end of applicationDidFinishLaunching 2014-07-24 06:30:31 +02:00
Twinaphex
f0b4388eb1 (OSX) Replace apple_rarch_exited call with main_exit 2014-07-24 04:39:33 +02:00
Twinaphex
754eceb5e2 (OSX) apple_run_core - Fix build 2014-07-24 04:35:04 +02:00
Twinaphex
350913daa7 (Apple) Refactor apple_run_core 2014-07-24 04:32:46 +02:00
Twinaphex
8f14eaf0a8 (OSX) Take out _wantReload variable 2014-07-24 03:51:57 +02:00
twinaphex
0f6f14aff3 (Apple) common/main.m - some cleanups 2014-07-24 03:42:03 +02:00
Twinaphex
624a983d8e (Apple) Rewrite apple_run_core 2014-07-22 18:43:49 +02:00
Twinaphex
3f52a5558f (iOS) Build fix 2014-07-22 18:33:54 +02:00
twinaphex
d9e4760f2e (iOS/browser.m) Condense code some more in zlib_parse_file 2014-07-22 07:27:02 +02:00
twinaphex
fe4e0f4842 zlib_parse_file callbacks - some code niceties for similar functions 2014-07-22 07:25:36 +02:00
Twinaphex
2c0c4d629f (OSX) Get rid of self.file 2014-07-22 06:02:15 +02:00
twinaphex
073ded005c (Apple) Nits 2014-07-22 05:37:35 +02:00
Twinaphex
aa078cdae8 (Apple) Implement frontend_apple_shutdown 2014-07-22 05:13:48 +02:00
twinaphex
87a21b2e13 Rename ROM history to Content history 2014-07-22 05:01:35 +02:00
twinaphex
47de32450d (Apple/OSX) Setup remapping for basicEvent 2014-07-22 04:02:53 +02:00
twinaphex
78610e4d90 Add RARCH_CMD_LOAD_CONTENT 2014-07-22 03:12:56 +02:00
Twinaphex
304af2f398 (Apple) Get rid of apple_export.h 2014-07-22 02:46:58 +02:00
Twinaphex
5db9e93aea (Apple) Build fix 2014-07-22 02:21:23 +02:00
twinaphex
4b0f3584e0 Create rarch_main_command - command.c could maybe later be made
more generic so we can just do this through command.c functions
locally
2014-07-22 02:14:52 +02:00
Twinaphex
2629eb5a8c (OSX) Take out Core->Unload 2014-07-22 01:24:38 +02:00
Twinaphex
77268423d0 (OSX) Fix showCoresDirectory - opens g_settings.libretro_directory 2014-07-21 18:24:50 +02:00
Twinaphex
5c61bfec54 (OSX) Take out _wantReload path for applicationDidFinishLaunching 2014-07-21 18:10:24 +02:00
Twinaphex
5eab0ef2fb (OSX) File->Open / File->Recent now works with same core 2014-07-21 17:49:25 +02:00
Twinaphex
c1fa603a0f (iOS) Menu - cleanups 2014-07-21 09:04:45 +02:00
Twinaphex
c38d0a86d0 (Apple) Just call rarch_main instead of apple_rarch_load_content 2014-07-21 07:45:05 +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
d89b65140b (Apple) Reduce dependencies on apple_core 2014-07-21 04:21:29 +02:00
twinaphex
8e2bfb24a1 (Apple/OSX) Get rid of _loaded variable 2014-07-21 03:17:10 +02:00
twinaphex
d0cad26627 (Apple) Refactor away core_info_set_config_path 2014-07-21 03:04:19 +02:00
twinaphex
d388b49a93 (Apple) Refactor core_info_set_core_path 2014-07-21 02:58:25 +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
a160857e3b (OSX) Use fill_pathname_join 2014-07-20 21:35:11 +02:00
Twinaphex
9a06c1c125 (iOS) Use fill_pathname_join throughout iOS/browser.m/iOS/platform.m 2014-07-20 21:30:31 +02:00
Twinaphex
05355a49ee (iOS) Cleanup dealloc in menu.m 2014-07-20 20:51:31 +02:00
Twinaphex
3dc95ddd4f (iOS) Set g_defaults.sram_dir/g_defaults.savestate_dir 2014-07-20 20:19:22 +02:00
Twinaphex
de3e61a11c (Settings data) Get rid of fake_settings/fake_extern 2014-07-20 15:31:23 +02:00
Twinaphex
86fa191ae7 (Apple) Cleanups 2014-07-20 07:00:02 +02:00
Twinaphex
670ce086c6 (OSX) platform.m - cleanups 2014-07-20 06:28:46 +02:00
Twinaphex
38eb1d4d3d (iOS) Refactor away ios_set_bluetooth_mode - will be moved to settings
change handler in the long run
2014-07-20 03:47:43 +02:00
Twinaphex
aa04b48579 (Apple) Remove configDirectory 2014-07-20 01:14:16 +02:00
Twinaphex
9b8d5b95a5 (iOS) Get rid of systemDirectory 2014-07-20 00:25:43 +02:00
Twinaphex
7580058c22 (Apple) Get rid of coreDirectory 2014-07-20 00:07:40 +02:00
Twinaphex
92e67a4382 (Apple/iOS) Kill dependency on ObjC copyItemAtPath 2014-07-19 22:51:03 +02:00
Twinaphex
3242cc998a (Apple) Get rid of globalConfigFile 2014-07-19 22:17:42 +02:00
Twinaphex
ba99ec92ee (Apple) Get rid of objc_get_value_from_config 2014-07-19 17:53:24 +02:00
Twinaphex
34002c0e10 (Apple) Don't have ifdef IOS conditional in apple_run_core 2014-07-19 17:28:06 +02:00
Twinaphex
edc30665e7 (iOS) browser.m - cleanups 2014-07-19 06:41:46 +02:00
twinaphex
36350311f0 (iOS) Remove apple_refresh_frontend_config 2014-07-19 06:10:56 +02:00
Twinaphex
3d7e6d844f (OSX) settings.m - cleanup 2014-07-19 06:05:24 +02:00
twinaphex
7766ae8096 (iOS) Remove systemConfig variable 2014-07-19 04:09:16 +02:00
Twinaphex
a492364843 (iOS) Don't create frontend.cfg anymore 2014-07-19 03:58:58 +02:00
twinaphex
2682780ff9 (iOS) Get rid of logPath 2014-07-19 03:34:14 +02:00
Twinaphex
e3b7df108f (iOS) Get rid of now obsolete Diagnostic Logging 2014-07-19 02:59:03 +02:00
Twinaphex
5e4125614a (iOS) Get rid of ios_set_logging_state - we can already log through
Xcode Organizer
2014-07-19 02:28:53 +02:00
Twinaphex
e4786cfcf6 (iOS) Build fix 2014-07-19 02:26:21 +02:00
twinaphex
9ac52de4df (Apple/iOS) Remove some unused settings - apple_use_tv_mode and ios_file_log 2014-07-19 02:25:17 +02:00
twinaphex
fefc2f808c (Apple) Cleanups 2014-07-19 02:02:33 +02:00
Twinaphex
2485ee1e98 (iOS) Don't call hacky apple_refresh_config 2014-07-18 21:13:53 +02:00
Twinaphex
9f5ee4564d (iOS) Expose input_overlay_enable - need to refactor all this code
anyway and just show all settings anyways
2014-07-17 04:54:48 +02:00
twinaphex
b4312ba411 (iOS) Refactor initWithCore for iOS 2014-07-17 04:19:35 +02:00
twinaphex
5de27f85fe (iOS) change const rarch_setting_t* to rarch_setting_t* 2014-07-17 03:52:21 +02:00