twinaphex
6f32841647
Rename g_extern.verbose to g_extern.verbosity to avoid
...
collisions on OSX
2014-07-18 00:39:31 +02:00
Lioncash
30ae571729
platform_android: Fix duplicate condition checks
2014-07-11 13:20:56 -04:00
Twinaphex
c65af98255
(Apple) Reduce dependencies on apple_is_running global variable
2014-07-10 21:47:26 +02:00
twinaphex
a22807cb60
(Apple) Build fixes
2014-07-09 13:08:56 +02:00
aliaspider
ba7cefc529
(PSP) add BIG_STACK makefile option
...
fix overflow in VFPU resampler when input_frames is 0
add support for GU_PSM_5551 pixel format when using hardware rendering
2014-06-29 05:45:36 +01:00
twinaphex
1fc83d6952
(PSP) Fix Salamander
2014-06-23 04:48:05 +02:00
Themaister
09443d88c2
Android: Remove useless getDisplayRefreshRate
...
Interferes with detection in native activity.
2014-06-21 17:05:04 +02:00
twinaphex
e0736d8d90
(Android) Set Shield refresh rate to 59.90
2014-06-21 16:21:22 +02:00
Themaister
9a8147fe93
Actually read back RetroArch config.
...
onDestroy() is never called for some unknown reason, probably exit() in
NDK. Even so, finish() from UI thread via JNI doesn't work either <_<.
2014-06-20 14:26:26 +02:00
Themaister
67917bd1d8
Redirect some defaults to g_defaults instead of "" string.
2014-06-20 12:09:16 +02:00
Toad King
bb40fff99d
fix emscripten build
2014-06-18 20:31:41 -04:00
twinaphex
616427eddd
(GX) Fix Wii build
2014-06-17 18:27:20 +02:00
twinaphex
a7cddecb2c
(Android) Cleanup default settings in environment_get
2014-06-14 04:21:16 +02:00
twinaphex
16e6ac6fd5
(Android) Add JXD S7800 to device_is_game_console
2014-06-14 04:16:56 +02:00
twinaphex
23e95d9064
(Android) Add better Xperia Play detection
2014-06-14 04:10:33 +02:00
twinaphex
cd049bde2b
(Android) Add device_is_game_console helper function
2014-06-14 03:50:17 +02:00
Themaister
f1d1c62bfc
Fix derp.
2014-06-13 19:01:28 +02:00
twinaphex
ece82786db
(PS3) Cleanup callback_sysutil_exit
2014-06-13 18:18:10 +02:00
twinaphex
f2e4625858
(GX/PS3/PSP/XDK) Don't use strdup anymore for setting wrap arguments
2014-06-13 18:11:08 +02:00
Themaister
6536401c1e
Fix memory leak in platform_android.c.
...
Use static storage instead.
2014-06-13 18:00:49 +02:00
twinaphex
6cbf2f8bb0
(Android) Get_environment_settings - Set args->sram_path/args->savestate_path
2014-06-13 04:27:47 +02:00
twinaphex
94cd38f628
(Android) Sets default savedir/savestate/system directory paths now to internal sandboxed
...
app dir (Android 4.4.2 and so on no longer allow writing to SD card)
2014-06-13 03:52:17 +02:00
twinaphex
ddf0dcb165
(Android) Build fixes/cleanups to frontend
2014-06-13 01:10:14 +02:00
twinaphex
2f3af72501
Build fixes
2014-06-12 22:31:25 +02:00
twinaphex
c90a3f5a89
(Android) Set default out latency based on Android model
2014-06-12 18:59:55 +02:00
twinaphex
97a262dd60
Rename default_paths to g_defaults
2014-06-12 18:06:29 +02:00
twinaphex
0b076883d6
Add get_name function to frontend context
2014-06-12 16:26:33 +02:00
twinaphex
febdd2bc8a
(Android) Start implementing frontend_android_get_rating
2014-06-12 14:53:20 +02:00
Themaister
e8d123fdf5
Some more robustness in platform_android.
2014-06-11 15:48:15 +02:00
Themaister
ee916bf2f1
Some Android fixes.
...
Dump config with RARCH_LOG instead of fprintf.
2014-06-11 15:48:15 +02:00
twinaphex
8193eb4b3d
(Android) Input - Move files around
2014-06-10 22:15:23 +02:00
Twinaphex
19d3efe7f9
Merge pull request #735 from aliaspider/master
...
(PSP) add icon/background to launcher / update dist-script
2014-06-06 05:26:40 +02:00
aliaspider
b96d21ef8d
(PSP) update dist-script
2014-06-06 04:14:02 +01:00
twinaphex
ce412a7c8b
(XDK/GX) Cleanups to exitspawn implementations
2014-06-05 06:45:31 +02:00
twinaphex
48961b246e
(PSP) Cleanup frontend_psp_exitspawn
2014-06-05 06:36:30 +02:00
twinaphex
faea453a0b
(Salamander) Refactorings - Salamander should be easier to get to
...
work now on new console platforms
2014-06-05 06:12:41 +02:00
twinaphex
7676de50ce
(Salamander) Use EXT_EXECUTABLES
2014-06-05 02:12:42 +02:00
aliaspider
8b88439261
(PSP) rebase and sync with upstream changes.
2014-06-05 00:57:50 +01:00
aliaspider
329b5d8a13
(PSP) rebase and sync with upstream changes.
2014-06-05 00:43:38 +01:00
aliaspider
37878bd4ce
(PSP) implemented salamander and added support for switching between
...
cores.
2014-06-05 00:20:19 +01:00
aliaspider
ac38559017
(PSP) implemented salamander and added support for switching between
...
cores.
2014-06-05 00:17:37 +01:00
twinaphex
137ce497bd
Move find_and_set_first_file to frontend_salamander.c
2014-06-05 00:51:47 +02:00
twinaphex
c86281e5b8
(PS3/GX/XDK) Refactor find_and_set_first_file
2014-06-04 23:42:40 +02:00
twinaphex
413822c32c
(GX) Make find_and_set_first_file the same as code for PS3
2014-06-04 23:30:48 +02:00
twinaphex
d0fff4a625
(XDK) Some cleanups to find_and_set_first_file
2014-06-04 23:20:16 +02:00
twinaphex
3c7124dd0c
Take out cell/pad.h include in platform_ps3.c
2014-06-04 23:14:25 +02:00
twinaphex
a8aa91e03f
(Salamander) Clean up Wii/Xbox implementations too
2014-06-04 22:48:38 +02:00
twinaphex
1374226c6a
(PS3) Clean up Salamander implementation
2014-06-04 22:44:37 +02:00
twinaphex
353bbb5f83
(GX) Make gx_audio.c and platform_gx.c more generic
2014-06-04 18:54:40 +02:00
Toad King
19cbaaeba4
[GX] buildfix for salamander
2014-06-03 20:58:42 -04:00
twinaphex
d9c7d9f9bd
(PSP) Add HAVE_KERNEL_PRX ifdef
2014-06-04 02:52:29 +02:00
Twinaphex
f394dcc52a
Merge pull request #731 from aliaspider/master
...
(PSP) add support for kernel-mode functions through a loadable module.
2014-06-04 02:42:08 +02:00
Toad King
8f6775a790
[GX] change usleep to timed cond wait in device thread
2014-06-03 20:39:49 -04:00
aliaspider
b185fc3901
(PSP) add support for kernel-mode functions through a loadable module.
2014-06-04 01:35:26 +01:00
twinaphex
d9502fb2b4
(PSP) Typo fix
2014-06-04 01:42:39 +02:00
twinaphex
97c6ae0911
Change return type of process_args to void
2014-06-03 20:03:56 +02:00
twinaphex
27cbd74564
(Android) Change platform_android.c to new argc/argv system
2014-06-03 19:48:44 +02:00
twinaphex
fe72d42a0e
Remove process_args where we can
2014-06-03 19:21:49 +02:00
twinaphex
cdbdc524a5
(XDK) Changed to new argc/argv system
2014-06-03 19:14:07 +02:00
twinaphex
ac30fcab60
(PSP) Update platform_psp to use new argc/argv system
2014-06-03 17:34:25 +02:00
twinaphex
6443d173b7
(GX) Move platform_gx over to new argc/argv system
2014-06-03 07:57:20 +02:00
twinaphex
bcb8e39d05
(PS3) Cleanup - this can go now
2014-06-03 06:51:18 +02:00
twinaphex
483b07b4c3
(PS3) Fixed Core selection
2014-06-03 06:50:55 +02:00
twinaphex
b5ab16fa53
(PS3) Starts working with new argc/argv building - only
...
broken usecase right now is Core Selection - we'll have to
mess directly with argc/argv for fixing that one - pretty
similar issue to the one on the Wii
2014-06-03 06:37:57 +02:00
twinaphex
2c5bde4f84
(GX) Add new code for correcting argc/argv - doesn't work yet
2014-06-03 04:49:01 +02:00
twinaphex
29a3a46e73
Setup main_entry and environment_get for proper building of
...
argc/argv for console/mobile ports with non-conformant argc/argv
input values
2014-06-03 03:35:12 +02:00
twinaphex
83174b51c4
Correct 'ret' return of process_args at least - 0 is for content
...
being loaded, 1 is if content is not loaded
2014-06-02 22:58:28 +02:00
twinaphex
ae6688465c
(Menu) Add more info descriptions
2014-06-02 15:48:21 +02:00
twinaphex
2e430a9438
(Android) Should resume now from sleep again
2014-06-02 10:36:52 +02:00
twinaphex
537db4929c
(Android) Fix ROM parameter passing from Android frontend to
...
RetroArch native activity
2014-06-02 10:23:48 +02:00
twinaphex
a26bb62a56
(PS3) Add some HAVE_OPENGL ifdefs for platform_ps3.c
2014-06-02 09:37:26 +02:00
twinaphex
f224c21b7f
(Android) platform_android.c - reduce reliance on g_extern.lifecycle_state
...
for pausing
2014-06-02 09:31:14 +02:00
twinaphex
d04f86814d
(Android) More changes to platform_android.c
2014-06-02 09:24:06 +02:00
twinaphex
a55379c35b
(Android) Change some params to default_paths in environment_get
...
function
(Default paths) Add default_paths.core_path
2014-06-02 08:55:47 +02:00
twinaphex
b51b0d1e62
(Android) platform_android - cleanups
2014-06-01 22:51:52 +02:00
twinaphex
908164868f
Make 'argc' into int pointer so that we can modify argc inside
...
get_environment callback
2014-06-01 05:56:38 +02:00
twinaphex
4f27c4b56d
(Salamander XDK1) Fix build
2014-06-01 05:35:28 +02:00
twinaphex
6fa7e1894e
(GX) Move Wii-specific hack done to argc/argv to environment_get
...
function (platform_gx.c)
2014-06-01 04:42:32 +02:00
twinaphex
08c8e5fb5f
Reduce amount of includes for rarch_console.h
2014-06-01 03:08:26 +02:00
Toad King
500c3aac30
[GX] code cleanup
2014-05-31 16:27:35 -04:00
twinaphex
aaab33c014
(PS3 Salamander) Build fix
2014-05-31 18:45:08 +02:00
twinaphex
327be0af85
(PS3) frontend_ps3_process_args - properly sets verbosity back to original verbosity
...
before returning
2014-05-31 18:43:49 +02:00
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