Commit Graph

335 Commits

Author SHA1 Message Date
twinaphex ef7e3c91de (RARCH_CONSOLE) Verbose logging is no longer enforced 2014-05-31 18:34:06 +02:00
twinaphex 7b0ce6131e (Apple) platform_apple.c - some cleanups 2014-05-31 16:30:09 +02:00
twinaphex f47b321cdf (PSP) Add default asset dir and core info dir 2014-05-31 16:27:19 +02:00
twinaphex 1bdfed187f (QNX) Remove config_load in get_environment 2014-05-31 16:25:30 +02:00
twinaphex 64d413fb68 Add screenshot_dir to default_paths 2014-05-31 16:23:45 +02:00
twinaphex 47b936aa33 (GX) Set default overlay dir 2014-05-31 16:17:59 +02:00
twinaphex da51530f0e (RARCH_CONSOLE) Setup default_paths properly 2014-05-31 08:15:57 +02:00
twinaphex c57f780d9f (Menu) Start undoing passing rgui pointer to every menu-related
function - the only functions where it should actually pass a
pointer instead of just grabbing a pointer from menu.driver should
be in the menu init/deinit functions
2014-05-30 19:34:01 +02:00
twinaphex 0fce77fd1b (GX) Fill in gx_free (move code from platform_gx.c to gx/gx_video.c) 2014-05-29 05:55:21 +02:00
twinaphex cf7b6b0c4a (BB10) Take out some ifdefs for BB10 2014-05-18 11:04:30 +02:00
twinaphex d62164c4ae (BB10) Build fixes
(General) Fix some unused variable warnings
2014-05-17 22:16:25 +02:00
twinaphex a0567c3c77 (BB10) Start cleaning up some include header references
(Android) Uniquely name symbols - platform_android.c
2014-05-17 15:45:14 +02:00
twinaphex 90b7589b5d (Platform context) Unique names per platform instance 2014-05-17 14:56:12 +02:00
twinaphex 3e667a8c07 (Playbook) Fix build 2014-05-17 14:36:15 +02:00
twinaphex fdfa41b1e0 (Frontend) Add get_rating to frontend context 2014-05-16 22:20:51 +02:00
twinaphex 1d552c42ee (Apple) Style nits/cleanups 2014-05-12 16:37:02 +02:00
twinaphex cf669f21ca * Add 'null' frontend context driver (will come into use later on in
more important ways)
* RetroArch when compiled with menu support will now cleanly exit if
menu driver cannot be initialized properly
2014-05-09 06:12:53 +02:00
twinaphex f483d862b2 (Apple) Build fix 2014-05-09 05:52:18 +02:00
twinaphex 0454ac623e (Menu) Move 'rgui' global variable to 'driver' struct 2014-05-09 05:47:32 +02:00
twinaphex de7cf52227 (Apple/General_) Turn setting_data into general code - this code
will be used for exposing a list of generic menu settings to
WIMP menus and other such things (already used by the Apple port
in tihs way)
2014-05-03 18:38:29 +02:00
twinaphex 5678a7854f (Apple) Build fix 2014-05-03 07:17:59 +02:00
twinaphex 5033a39a1d (Apple) Move some C common code from ObjC file to platform_apple.c 2014-05-03 07:11:23 +02:00
Twinaphex 4e2572bbfe (MSVC 360) Build fix 2014-04-17 17:42:41 -07:00
twinaphex 064a0c87a0 (Apple) Build fix 2014-03-28 16:10:55 +01:00
Twinaphex 7fa8920357 Merge pull request #606 from aliaspider/master
(PSP) VFPU optimized audio resampler and s16 <-> float conversions
2014-03-14 17:02:04 +01:00
twinaphex 7cdc23505c (Apple) Build fix 2014-03-10 06:00:06 +01:00
aliaspider 1d517d1846 (PSP) add VFPU flag to main thread attributes 2014-03-08 15:48:47 +01:00
twinaphex 20798433d1 (PS3) Add HAVE_RMENU ifdef to platform_ps3.c 2014-02-28 01:59:18 +01:00
twinaphex 03ec845977 (Salamander) frontend_context.h gets new member function
'salamander_init'
2014-02-24 18:23:12 +01:00
twinaphex 6a4cfc7271 (GX) Get rid of warnings while compiling Wii/NGC versions 2014-02-19 18:07:47 +01:00
twinaphex 71b6485bb5 (PSP) Fix warnings 2014-02-19 17:47:59 +01:00
aliaspider 68c7a3ad5b (PSP) change clockspeed to 333MHz/166MHz on start. 2014-02-18 18:43:23 +01:00
twinaphex e17e5aa960 (PSP) Cleanup psp_process_args 2014-02-17 15:14:48 +01:00
aliaspider 566696223f (PSP) allow game loading form the commandline (for use with pspsh) 2014-02-17 14:31:33 +01:00
aliaspider 650adef8da (PSP) added audio support 2014-02-17 14:26:03 +01:00
twinaphex 0260d51b7a (PSP) Starts up in RGUI now 2014-02-17 00:19:51 +01:00
twinaphex 63e8dfba4d (PSP) Hardcode ROM being fed right now for testing purposes 2014-02-13 11:45:22 +01:00
twinaphex b724851e93 (PSP) Hook up frontend platform driver - implement process_args
and not exec function
2014-02-12 18:17:54 +01:00
twinaphex 76a40ef066 (PSP) Add example for manually loading a ROM file so that we can
skip past the menu
2014-02-12 17:29:20 +01:00
twinaphex d4f9c211ee (PSP) Build fixes 2014-02-11 16:10:40 +01:00
twinaphex de0d0626f6 Include boolean.h instead of stdbool.h 2014-02-11 07:49:15 +01:00
twinaphex b109b9b01f (Emscripten) Rename frontend_emscripten.c to frontend/platform/platform_emscripten.c 2014-01-27 01:47:10 +01:00
twinaphex 7e9c8908f8 (PS3) Set default overlay directory 2014-01-05 19:17:13 +01:00
twinaphex b20b6525d3 (Android) PendingIntent code created bad dependencies on Java frontend and
made it impossible for external clients like Dinothawr to use RetroArch
as a library
2014-01-04 05:36:08 +01:00
twinaphex 0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
twinaphex ff036066e2 Rework frontend - separate functions now for iterating per frame
and for doing teardown - Emscripten and Apple ports can make use
of this now so we don't need separate frontend implementations
2013-12-28 21:08:30 +01:00
meancoot 55950cf009 (Apple) Update content history properly. 2013-12-26 16:18:28 -05:00
meancoot f3d5a44e76 (Apple - No Thread) Fix performance regression. 2013-12-21 21:58:19 -05:00
meancoot f069c82417 (Apple) First pass at removing UI/RetroArch thread split. 2013-12-21 19:42:10 -05:00
meancoot 8882d07f3f (iOS) Move iOS settings code into iOS specific file and fix the issue where every compile unit would get its own copy of apple_frontend_settings 2013-12-03 19:47:24 -05:00
meancoot 6943127aef (Apple) Start to refactor setting data structure; clean up iOS code some 2013-12-02 19:34:05 -05:00
twinaphex 3d18d580b6 (iOS) Add frontend/platform/platform_ios.h 2013-11-29 19:32:07 +01:00
twinaphex 3ec9581c68 (iOS) Move some cdoe from platform.m over to C 2013-11-29 19:31:39 +01:00
twinaphex 6c638f91f4 (Android) Big changes -
- both MainMenuActivity and RetroActivity are single instances now
- AKEYCODE_BACK gets eaten and onBackPressed in Java is triggered
- onBackPressed right now calls an instance of MainMenuActivity
(reuses the existing activity on the stack)
- User can switch back and forth between RetroActivity and MainMenuActivity
with AKEYCODE_BACK / Back button
- When a subsequent intent is launched after RetroActivity has already been
started up once, the pending intent gets passed to the existing RetroActivity
throug onNewIntent - in C land it will look every frame if an intent is pending - if it is, it will look up certain variables through JNI to launch a new game - or whatever it is that the intent wants to do
- With this we can now switch seamlessly between Android UI and RetroArch
itself.
2013-11-24 22:02:57 +01:00
twinaphex 1d06b07a16 (Android) Add "USED" intent extra to RetroActivity 2013-11-24 17:58:23 +01:00
twinaphex 4c4c828c02 (Android) JNI - Cache getIntent and getStringExtra jmethodIDs 2013-11-24 17:24:41 +01:00
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