Commit Graph

229 Commits

Author SHA1 Message Date
twinaphex 25faefefac (Android) get_environment_settings - make it more readable 2013-11-24 17:02:38 +01:00
twinaphex 47c8c26511 (Android) Simplify intent grabbing with JNI 2013-11-24 16:43:57 +01:00
twinaphex 37fce3c56e (Android) Move engine_handle_cmd from input_android.c to platform_android.c 2013-11-22 21:12:13 +01:00
twinaphex d66d4f7263 (Android) have engine_handle_cmd take as argument void* 2013-11-22 17:41:45 +01:00
twinaphex afb2419235 (Apple) Move rarch_main_spring from ObjC source file to C (platform_apple.c) 2013-11-22 01:36:35 +01:00
Squarepusher 3f47951d3d (Apple) Build fix 2013-11-22 01:10:35 +01:00
twinaphex b1003b7640 (Apple) Move code out of main.m (ObjC) and into platform_apple (C) 2013-11-22 00:57:39 +01:00
twinaphex fb9eca8c69 (Android) Fix jni_get_intent_variable 2013-11-20 18:26:42 +01:00
twinaphex 8e303a3159 (Android) jni_get_intent_variable - Get rid of warnings - jstring pointer maybe uninitialized 2013-11-20 18:18:37 +01:00
twinaphex ef2bf910c7 (Android) Rename jni_get to jni_get_intent_variable 2013-11-20 18:10:52 +01:00
twinaphex 868de7d4ef (Android) jni_params struct -remove class_obj 2013-11-20 18:09:50 +01:00
twinaphex 87421d477c Clean up JNI: (...)
* pthread_key_create is used to set a destructor for every thread
created through jni_thread_getenv
* To grab a JNIEnv pointer - go through jni_thread_getenv
* jni_thread_getenv sets pthread_setspecific for the JNIEnv pointer
to bind destructor
* Reuse activity->vm everywhere instead of creating local pointer
copies
* Don't use DetachCurrentThread outside of platform_android's (new)
jni_thread_destruct function - the destructor will do this for us
now
2013-11-20 17:33:19 +01:00
twinaphex 3f279a2d5c (Android) Get rid of JNI_OnLoad - unused and unneeded 2013-11-20 15:54:31 +01:00
twinaphex 20f679d201 (Android) Get rid of globalMyNativeActivityClass variable 2013-11-20 03:56:33 +01:00
ToadKing 894b2870c0 more android camera work. no longer crashes, but still no image 2013-11-19 14:20:29 -05:00
twinaphex 21bc30a44c (Android) Make RetroActivity invoke JNI_OnLoad - grab pointer to
RetroActivity class - try to use from camera/android.c
2013-11-19 14:30:45 +01:00
twinaphex 0c54da42e3 (Android JNI) jni_params - now also takes a submethod_name/submethod_signature 2013-11-18 00:52:26 +01:00
twinaphex 6c394d717c (XDK1 Salamander) Build fix 2013-11-15 04:26:38 +01:00
twinaphex 921327c7ab Add copyright to platform_apple.c 2013-11-13 12:43:28 +01:00
twinaphex d87c20feee (PS3) Get rid of ps3_input.h 2013-11-13 00:41:03 +01:00
twinaphex aec049c803 (OSK) Refactor - (Onscreen Keyboard) - PS3-only backend for now -
I will make an overlay-based backend soon too for all other platforms
2013-11-13 00:27:31 +01:00
twinaphex 8ce8051654 (OSK PS3) Refactor OSK PS3 input 2013-11-12 17:16:30 +01:00
twinaphex ec2f91f19e (platform_psp.c) use fill_pathname_join instead of snprintf 2013-11-12 15:03:50 +01:00
twinaphex 29677b7a08 (platform_gx) Use fill_pathname_join instead of snprintf 2013-11-12 14:59:06 +01:00
twinaphex d662357999 (RARCH_CONSOLE) Remove default_paths.border_dir 2013-11-12 10:36:07 +01:00
twinaphex fde4311ef5 (PS3) Refactor OSK code - next thing should be abstracting it 2013-11-11 16:58:12 +01:00
twinaphex 177af1fac2 Move display rasterizers for menu_common to frontend/menu/disp 2013-11-11 12:23:18 +01:00
twinaphex 7420012721 (RARCH_CONSOLE) Remove unneeded variables from default_paths 2013-11-11 10:37:39 +01:00
twinaphex 6997c207bd Remove HAVE_FILEBROWSER/remove file_browser.c 2013-11-11 04:12:30 +01:00
twinaphex 99f3db5c78 (Apple) platform_apple.c - process_events - returntype int
instead of void - fixes warning
2013-11-09 01:51:00 +01:00
twinaphex da8f8b6d63 Get rid of lifecycle_mode_state and use g_extern.lifecycle_state
instead
2013-11-07 21:44:44 +01:00
twinaphex abf2079920 (XDK) platform_xdk - use fill_pathname_join where appropriate 2013-11-03 17:55:59 +01:00
twinaphex 27fd78e8fa (GX/PS3) Fixes:
- Use fill_pathname_join and strlcpy where possible in platform_gx/platform_ps3
- Split up system_exec Wii code into its own separate file - platform_wii
- Salamander file path string handling should be more reliable now
2013-11-03 17:39:12 +01:00
twinaphex e3ebfbffa9 Rename frontend_android.h to platform_android.h 2013-11-03 17:02:40 +01:00
twinaphex 002c519707 Add credit where credit is due 2013-11-03 16:51:37 +01:00
twinaphex 74d1d11a65 (Android) Remove frontend_android.c - now uses frontend.c 2013-11-03 16:49:54 +01:00
twinaphex 5d52aaf3a3 (Android) Rewrite frontend_android 2013-11-03 16:38:56 +01:00
twinaphex 1bdaf62be1 Move some more default settings to config.def.h 2013-10-31 02:34:49 +01:00
twinaphex 83c89e4c92 (GX) platform_gx - Take out unused MAKE_FILE macro 2013-10-07 12:53:11 +02:00
twinaphex df3874deaf (360) Take out xfilecache 2013-10-07 12:51:24 +02:00
twinaphex 618bbf5aae (RARCH_CONSOLE) Reduce code duplication - after environment_get, default dirs are
created and config file is loaded
2013-10-01 17:06:14 +02:00
twinaphex 452dd2cad8 (RARCH_CONSOLE) Replace rarch_make_dir with path_mkdir 2013-10-01 17:00:49 +02:00
twinaphex ba837a74b4 (RMenu) remove input_presets_dir variable 2013-09-29 04:53:00 +02:00
twinaphex 8837139271 (360) Build fixes 2013-09-15 18:49:18 +02:00
meancoot cb55a1d45a (Apple) Reorganize source tree 2013-09-05 01:24:27 -04:00
Themaister 32cae444a0 Fixup new private extensions.
Moved private stuff to libretro_private.h.
Dropped use of retro_variable (redundant and wrong type).

Didn't understand difference between EXEC_LOAD and EXEC_RELOAD at all.
Only one was used anyways ...
2013-08-25 11:10:32 +02:00
twinaphex 8aef9f4c64 Hide away g_settings.libretro mutation and do calls to environment
callback action instead - frontends should do it this way as well
2013-08-24 23:08:40 +02:00
meancoot 9e2e135d19 (Apple) Get rid of some hacks in the frontend code. 2013-08-14 00:48:58 -04:00
Themaister fe24d961e3 Add args to ps3 environment. 2013-08-11 15:21:23 +02:00
twinaphex b805efa59a (frontend) Additional param to argc/argv for iOS/OSX ports 2013-08-10 21:31:11 +02:00
twinaphex d640c16eb3 (Frontend) Move more platform-specific code into environment_get function
implementations
2013-08-10 20:59:10 +02:00
twinaphex c7d3c9e955 (Apple) Fix build 2013-07-28 23:01:16 +02:00
twinaphex 56974007ad (frontend) Cleanups to frontend.c 2013-07-28 20:57:49 +02:00
twinaphex f51e748ba8 (PS3) Fix core loading 2013-07-27 22:33:57 +02:00
twinaphex db9462bc49 (GX) Build fixes 2013-07-27 21:38:38 +02:00
twinaphex 2323cee6a7 Get rid of MODE_EXIT 2013-07-27 20:34:06 +02:00
twinaphex 29b13676c5 (Apple) Implement environment_get in Apple frontend context driver 2013-07-27 17:45:56 +02:00
twinaphex e19d2320b2 (frontend_context) Implement process_events 2013-07-27 17:42:09 +02:00
twinaphex ac8f57e679 Add platform_apple.c frontend driver 2013-07-27 17:40:21 +02:00
twinaphex a9dd629fe6 Uniquely name each frontend context driver 2013-07-27 17:32:15 +02:00
twinaphex 003635499f Add QNX frontend context file 2013-07-27 17:16:46 +02:00
twinaphex 40d5fcc472 Add shutdown to frontend_context.c - bake frontend_context in for all versions 2013-07-27 16:36:55 +02:00
twinaphex 4eb283b7e3 Cleanups to frontend_ctx 2013-07-27 12:59:23 +02:00
twinaphex 1e70a46dd8 Merge platform_ files with platform_exec.c files 2013-07-27 03:59:01 +02:00
twinaphex 2650bec798 Setup platform_xdk as context as well 2013-07-27 00:32:56 +02:00
twinaphex 69381c2735 Add frontend_context.c - use for all console platform ports
(and other possible ports in future)
2013-07-26 20:58:47 +02:00
twinaphex fe433b2322 Add new header file_ext.h - refactor out frontend_console.h 2013-07-15 14:54:40 +02:00
ToadKing 35da2fd555 (GX) re-enable IOS reloading, fixes lingering USB issues 2013-05-28 22:20:36 -04:00
twinaphex 360184d49e (PS3) Fixes 'Return To Multiman' option 2013-05-28 22:15:21 +02:00
twinaphex 823b9a6a5d (Android) Add big changelog changes to Android built-in resources
(PS3) *blind coding* hopefully fix Return To Multiman option
2013-05-26 22:41:44 +02:00
ToadKing c673c28274 (GX) fix crash on empty argv 2013-05-20 22:19:10 -04:00
ToadKing 812d78839d (GX) add hack for bad Salamander behavior 2013-05-19 20:40:48 -04:00
ToadKing f3b4fbbb2d (GX) remove IOS reloading, was messing up Salamander and threaded device insertion fixed the issue we were having anyway 2013-05-19 20:40:13 -04:00
ToadKing 57058ee25f (GX) fix potential memory corruption in rarch_console_exec 2013-05-19 20:39:08 -04:00
twinaphex 6e2fc94c5e (360) Fix Salamander build 2013-05-10 23:38:54 +02:00
twinaphex 523a27ce61 (360) Load Game History list now works on 360 as well 2013-05-10 22:44:58 +02:00
ToadKing 5290a25ccd (GX) support ROM passing through salamander
Needed on Wii since we might need to load salamander when switching cores due to memory issues
2013-05-08 19:11:52 -04:00
ToadKing 0c08726a8e (GX) workaround weird bug in file detection 2013-05-05 23:06:57 -04:00
twinaphex 0a8ee17d55 (PS3/GX/PSP) Use new default 'savefile' directory called 'savefiles'
instead of 'sram'
2013-05-06 00:31:24 +02:00
twinaphex af867b008d (XDK) Make initial 'default paths' creation of dirs work
on XDK
2013-05-06 00:30:45 +02:00
twinaphex fd27c1b7ca (RARCH_CONSOLE) Check if needed directories exist and if not,
create them
2013-05-06 00:06:08 +02:00
twinaphex 6a1eb0c0b1 (PS3/RMenu) Move oskutil_handle to menu_common.h 2013-05-05 16:12:06 +02:00
twinaphex 092b2625dd (RMenu/RGUI) Drop MODE_MENU_INGAME 2013-05-05 15:20:45 +02:00
ToadKing 0c0e4d1ddd (GX) set argv[0] when switching cores 2013-04-29 22:05:21 -04:00
ToadKing 203435487e (GX SALAMANDER) fix hang in salamander 2013-04-29 21:55:23 -04:00
ToadKing e01244acfa (GX) clear framebuffer before exit 2013-04-29 16:08:56 -04:00
twinaphex 69aa79b1e9 (RARCH_CONSOLE) When we encounter a CORE executable - rename,
save and exit app.
2013-04-29 19:37:02 +02:00
twinaphex 8f2ed9a405 (XDK1) Load Game (History) works now on Xbox 1 2013-04-29 18:05:48 +02:00
twinaphex ded204ce19 (PS3) Load Game History works on PS3 - Multiman will from now on
have to supply its own SELF path to argv[2] in order to work
2013-04-29 15:19:52 +02:00
ToadKing 455167ec19 (GX) error checking fix 2013-04-29 08:27:16 -04:00
twinaphex 51aa5b170f (RMenu) Fixes/cleanups 2013-04-29 03:59:48 +02:00
twinaphex 4a772c3fa8 (Wii) Working Load Game History 2013-04-29 03:05:46 +02:00
ToadKing 74faafff37 buildfix 2013-04-28 20:06:32 -04:00
ToadKing 887fd3c798 (GX) arg passing changes (UNTESTED) 2013-04-28 20:00:09 -04:00
twinaphex 63ba647018 Move all of the code to menu_common.c to avoid code duplication
across frontends
2013-04-28 16:38:13 +02:00
twinaphex b459d59793 Have system_process_args use MODE_LOAD_GAME from now on 2013-04-28 15:05:02 +02:00
twinaphex 05ac7919b1 system_process_args now has return type 2013-04-28 05:18:56 +02:00
twinaphex d2e1f6004f Take out XDK D3D header include in platform_xdk.c 2013-04-23 22:22:00 +02:00
twinaphex 57157d35a1 Remove some menu includes in platform files 2013-04-23 21:57:57 +02:00
twinaphex a647535df0 Move logger_init/logger_deinit to frontend_console.c and out
of platform implementations
2013-04-23 03:17:45 +02:00