Commit Graph

3718 Commits

Author SHA1 Message Date
Jorge Suarez
6aad439160 [all] verify if paths are already configured before creating defaults 2015-09-17 14:59:39 -05:00
twinaphex
82e15d1377 CLeanups/fixes 2015-09-17 20:24:49 +02:00
twinaphex
2b2767017c (platform_linux.c) CXX_BUILD fix 2015-09-17 10:14:57 +02:00
twinaphex
a8acf720dd Properly implement cpu_inited_once 2015-09-16 11:17:52 +02:00
twinaphex
2ea2c90983 (platform_linux.c) Get rid of pthread_once usage 2015-09-16 09:28:25 +02:00
twinaphex
92a566e87f (platform_linux.c) Refactor - create load_generic_file 2015-09-16 07:38:23 +02:00
twinaphex
458a0f3a27 Merge performance_linux.c with platform_linux.c 2015-09-16 05:42:16 +02:00
twinaphex
842c580028 Stub commit 2015-09-15 21:53:14 +02:00
twinaphex
95a7331d01 Remove reference to frontend_ctx_android 2015-09-15 21:07:27 +02:00
twinaphex
8116d118dd (Android/Linux) platform_linux.c now also used for Android 2015-09-15 20:43:54 +02:00
twinaphex
e314cc3dce (platform_linux.c) cleanups 2015-09-15 20:12:59 +02:00
Twinaphex
cf178fc63a Merge pull request #2120 from fr500/master
[linux] fix cheats dir
2015-09-15 20:09:19 +02:00
Jorge Suarez
0273c36039 [linux] fix cheats dir 2015-09-15 13:08:16 -05:00
Twinaphex
2cdc055c67 Merge pull request #2118 from fr500/master
Linux, implement sane default paths
2015-09-15 20:06:33 +02:00
twinaphex
04c7069f2a (platform_android.c) Cleanups 2015-09-15 19:41:47 +02:00
twinaphex
81302d56cf (platform_android.c) Indenting nits 2015-09-15 19:39:06 +02:00
twinaphex
e512c0c601 Start adding ANDROID ifdefs to platform_linux.c 2015-09-15 19:37:26 +02:00
Jorge Suarez
713ed76659 [linux] add cheats 2015-09-15 12:18:33 -05:00
Jorge Suarez
7476ff61da [linux] add screenshots, downloads 2015-09-15 12:18:32 -05:00
Jorge Suarez
9cdb94fd51 [linux] implement more paths 2015-09-15 12:18:32 -05:00
Jorge Suarez
5740e52bed [linux] implement default core path 2015-09-15 12:18:32 -05:00
radius
b6207b9b76 [3ds] add remap dir to defaults 2015-09-15 10:19:48 -05:00
radius
2b829a3c47 [3ds] add remap dir to defaults 2015-09-15 10:17:01 -05:00
twinaphex
e0c7d0905d Header cleanups 2015-09-15 04:49:10 +02:00
twinaphex
ad1b433d57 (platform_linux.c) Refactors 2015-09-14 06:56:32 +02:00
twinaphex
33d4612716 (platform_linux) Get rid of alloca usage 2015-09-14 06:49:02 +02:00
twinaphex
87ece39443 (Linux) Add ACPI sys code 2015-09-14 06:35:11 +02:00
twinaphex
ea6119c1c7 (Vita) Add forward declaration for scePowerSetArmClockFrequency 2015-09-14 03:50:34 +02:00
aliaspider
3733956fd0 (CTR/3DS) update makefile.ctr
- move per-core build settings to a seperate file.
- make the griffin build optional (enabled by default).
2015-09-13 22:33:35 +01:00
Francisco José García García
1aeb74a055 (Vita) Set ARM CPU at 444 Mhz 2015-09-09 18:37:24 +02:00
twinaphex
8e9f5d89f2 (platform_linux.c) Turn some functions static 2015-09-06 14:50:21 +02:00
Alcaro
9554597160 Add missing header includes, fixes CXX_BUILD. 2015-09-06 14:46:25 +02:00
twinaphex
4d8b125c4f Cleanups 2015-09-05 20:40:11 +02:00
twinaphex
f88575633e Cleanups 2015-09-05 20:34:22 +02:00
twinaphex
90be3f052f Don't use _WIN32 ifdef in platform_win32.c 2015-09-05 14:36:56 +02:00
twinaphex
603f95cbf4 Remove frontend_xenon.c - implement platform_xenon.c instead 2015-09-04 20:45:02 +02:00
twinaphex
f7f32f522d (platform_linux.c) Use retro_dirent.h 2015-09-04 20:37:18 +02:00
twinaphex
5e2c998b9c Integrate platform_vita.c into platform_psp.c 2015-09-02 13:07:13 +02:00
twinaphex
97dae69f28 Cleanups 2015-09-02 12:54:31 +02:00
twinaphex
a28dd3944c (platform_null.c) Another Emscripten fix 2015-09-02 12:47:44 +02:00
twinaphex
0676738140 Console build fixes 2015-09-01 12:10:26 +02:00
Sergi Granell
5d920aa045 (Vita) vita2d_gfx_free: Set textures to NULL 2015-09-01 01:36:27 +02:00
Sergi Granell
96146e5313 (Vita) Update vita2d driver
(Vita/PSP) Name some stuff to vita
2015-08-31 15:26:37 +02:00
Sergi Granell
5deceb35ba (Vita) Update Vita frontend 2015-08-30 22:48:44 +02:00
Twinaphex
ade4f86200 Merge pull request #2077 from xerpi/master
(Vita) Start vita2d_gfx video driver
2015-08-30 20:38:16 +02:00
CautiousAlbino
173dcd3e4c Retry implementation of include_compressed to dir_list_new.
Problem was that if ext_list wasn't used, an empty list would be
created.
2015-08-30 20:19:41 +02:00
Sergi Granell
3b54e81d00 (Vita) Start vita2d_gfx video driver 2015-08-30 20:12:16 +02:00
Sergi Granell
d29c242655 (Vita) Add vita frontend driver
(PSP) Remove vita frontend from PSP frontend
2015-08-30 19:47:00 +02:00
Twinaphex
aa382a5c7c Revert "Add include_compressed param to dir_list_new." 2015-08-30 18:36:25 +02:00
Twinaphex
0f60388533 Merge pull request #2069 from CautiousAlbino/hang-fix
Add include_compressed param to dir_list_new.
2015-08-30 17:09:20 +02:00
twinaphex
bbeb4d4298 (Vita) parse_drive_list - add cache0 path 2015-08-30 17:05:14 +02:00
CautiousAlbino
c4691b2668 Add include_compressed param to dir_list_new.
Do not try to load in compressed archives unless we expect them.
Fixes hang in input autodetect where it tried to parse a zip file as an
archive.
2015-08-30 16:57:34 +02:00
twinaphex
f95049e99c Add wiiusb_hid driver courtesy of @xerpi 2015-08-30 09:48:38 +02:00
radius
0cd3a9ec63 [android] add defaults for keyboard overlay 2015-08-27 22:16:52 -05:00
twinaphex
fdd1d3ee9f Pass sleep_ms argument to rarch_main_iterate 2015-08-27 14:52:02 +02:00
twinaphex
4b0ee4b9c2 Move rarch_sleep outside of rarch_main_iterate so that caller
can implement the idle step itself
2015-08-27 13:13:14 +02:00
Twinaphex
f87425ef9a Re-enable UI Companion Start on Boot again 2015-08-23 09:20:24 +02:00
twinaphex
760ff5fa30 (Emscripten) Build fixes 2015-08-20 00:32:24 +02:00
twinaphex
a5547aded9 (Emscripten) Fix another header include 2015-08-20 00:27:49 +02:00
twinaphex
f908fffac4 (Emscripten) Include headers 2015-08-20 00:25:12 +02:00
twinaphex
27d345c77c (Vita) Add Vita ifndef 2015-08-12 19:30:30 +02:00
twinaphex
0975097ccf Add specific ifdef rule for Vita 2015-08-12 19:29:16 +02:00
twinaphex
536b7fad0b (platform_psp.c) Add some Vita ifdefs 2015-08-12 12:33:27 +02:00
Alcaro
ee2ad0c4bd These aren't executable. 2015-08-12 01:31:03 +02:00
radius
828734e007 don't try to autoconfigure GPIO devices 2015-08-11 17:13:25 -05:00
twinaphex
ef53ec3d90 Add some Vita ifdefs to platform_psp.c 2015-08-10 23:29:50 +02:00
twinaphex
77aa7535c9 MOve all 'define' headers to central place ' defines' 2015-08-10 23:11:40 +02:00
twinaphex
c8dfa27338 (Darwin) Cleanups 2015-08-10 18:12:11 +02:00
Twinaphex
0a324c6021 (iOS) Add Documents directory 2015-08-10 18:11:28 +02:00
twinaphex
65aa759ab8 (iOS) There's currently a problem with enabling the UI companion
driver at startup to boot, so launch into GLUI/RGUI mode first
and allow the user himself to switch to CocoaTouch mode
2015-08-06 08:57:20 +02:00
twinaphex
4410c52d68 Use sceNpDrmProcessExitSpawn instead of sceNpDrmProcessExitspawn2 -
makes it work
2015-07-27 20:12:24 +02:00
twinaphex
ad3a53520d Cleanups 2015-07-27 19:28:41 +02:00
Twinaphex
1faa62e902 Remove two unused variables 2015-07-27 17:22:43 +02:00
twinaphex
a70f09a90d Rearrange structs 2015-07-27 17:18:10 +02:00
twinaphex
cdef82b185 Make late binding possible for frontend drivers
(PS3) Fix shutdown/quit hang - now we have to fix exitspawn instead
2015-07-27 03:44:28 +02:00
twinaphex
4787c463b6 Backport this - 58748da89d 2015-07-27 00:08:25 +02:00
radius
4b234a4ed9 clean-up System/BIOS in content dir, should now just use the basename instead of actually overwriting the setting 2015-07-26 16:23:41 -05:00
twinaphex
b9569296d5 (platform_darwin.m) Add unistd.h 2015-07-25 14:50:40 +02:00
Toad King
866970fb1c small changes to hotplugging support 2015-07-20 21:01:11 -05:00
Toad King
248e8ad1ca [GX] properly shut down dev thread 2015-07-20 20:08:13 -05:00
twinaphex
0bbb0d6913 (Darwin) Cleanups 2015-07-18 23:49:58 +02:00
twinaphex
c56f1403e5 (Darwin) Setup default shader dir 2015-07-18 23:41:42 +02:00
Twinaphex
6cb42bde29 Set all paths to bundle dirs when RELEASE_BUILD is defined 2015-07-18 17:36:30 +02:00
Twinaphex
34c2791fa4 Revert "(OSX) Add default dirs for Pictures and Downloads"
This reverts commit b9831cdc14.
2015-07-18 15:16:56 +02:00
twinaphex
b9831cdc14 (OSX) Add default dirs for Pictures and Downloads 2015-07-18 15:14:40 +02:00
twinaphex
67c5d14900 (OSX) Fix some paths 2015-07-18 15:05:22 +02:00
radius
a06dd9c3a2 fix system dir resetting on each startup 2015-07-17 02:53:59 -05:00
twinaphex
b298b2d4f0 platform_android.h - cleanup 2015-07-16 10:54:59 +02:00
radius
b717828cf0 fix setting and clearing system directory when using content dir 2015-07-16 01:46:11 -05:00
radius
9992a22e10 create dirs in the internal sd too 2015-07-14 22:38:55 -05:00
Andrés
8bf2b8a309 Fix cleanup of test dir 2015-07-14 20:36:38 -05:00
twinaphex
793e7483ad (platform_ps3.c) Cleanups 2015-07-15 02:09:05 +02:00
twinaphex
89be56a9ae (Android) Some build fixes 2015-07-13 19:50:21 +02:00
fr500
6f645f2cf9 make sure internal dirs are created too 2015-07-12 21:19:10 -04:00
fr500
22b3bc3243 add internal sd status to system info 2015-07-12 20:55:44 -04:00
fr500
39fb39f5f6 improve debug logging 2015-07-12 18:48:32 -04:00
radius
01ce2eaf31 shaders go in a subfolder now 2015-07-12 03:53:09 -04:00
Twinaphex
7f9bd9bd8a Merge pull request #1950 from fr500/master
fix a few issues with savestate sorting and system dir
2015-07-12 09:39:40 +02:00
radius
48068f147a same as the previous commit but when the user exits without unloading content 2015-07-12 02:35:28 -05:00
radius
06f656004b make system directory restore correctly when closing content in case it was set to content dir 2015-07-12 02:35:27 -05:00
twinaphex
10c8c0198b (platform_android.c) Style nits 2015-07-11 23:02:22 +02:00
radius
d9b125a645 if using app dir and paths do not exist, create them 2015-07-11 16:32:48 -04:00
radius
5bd889ac02 create directories that do not exist and add savestate dir 2015-07-11 15:25:56 -04:00
radius
a1ffbfdec9 make android defaults smarter 2015-07-11 15:16:04 -04:00
twinaphex
34414b5919 Menu toggle should be properly saved now with custom bind - the
forced hack broke all sorts of behavior
2015-07-09 22:16:27 +02:00
twinaphex
d7db50e4eb (Android) Cleanups 2015-07-09 21:50:48 +02:00
twinaphex
cbc79e0d67 Start adding preliminary bundle extraction code 2015-07-08 16:45:04 +02:00
twinaphex
a59fd029b1 Send APK path as param too 2015-07-08 02:42:19 +02:00
radius
610d316852 path had been changed to app_dir 2015-07-07 15:38:00 -05:00
radius
5cb8a0793c make screenshots save in the pictures folder 2015-07-07 15:36:37 -05:00
twinaphex
6a6b419ddb (Android) Add screenshot dir default dir 2015-07-07 22:04:25 +02:00
radius
cccc221e8c fix search & replace error 2015-07-07 14:56:01 -05:00
radius
3c5fe79df8 rename a few variables 2015-07-07 14:48:09 -05:00
radius
57ee3c0c33 rename a few variables 2015-07-07 14:38:39 -05:00
radius
6801a0de28 move variable declaration 2015-07-07 13:58:15 -05:00
radius
161a7166c5 set default downloads path to internal sdcard Downloads folder if available 2015-07-07 13:54:32 -05:00
radius
3d348edcb3 add functions to look for certain extra folders that may be useful to set sane defaults 2015-07-07 13:31:59 -05:00
radius
827f32b2d1 make saving to <content dir> possible again 2015-07-05 14:54:15 -04:00
twinaphex
a9f398c0c4 (Android) Change default autoconfig dir to 'autoconfig' 2015-07-05 02:30:49 +02:00
radius
394cdf9c7c psp buildfix 2015-07-04 18:11:48 -05:00
radius
b0b9ff8d8d add default paths for remaps and cheats 2015-07-04 17:08:32 -05:00
twinaphex
e8914563d8 Change "core_assets" dir to "downloads" 2015-07-04 21:44:02 +02:00
twinaphex
c32f3926b2 (platform_android.c) Fix typo 2015-07-04 06:40:21 +02:00
twinaphex
362d8025d8 Add g_defaults.core_assets_dir 2015-07-04 04:47:14 +02:00
twinaphex
7c1a5d3e31 (platform_android.c) Use msg_hash_calculate 2015-07-03 22:36:18 +02:00
twinaphex
5de19ed6c2 (Android) Implement parse_drive_list 2015-07-03 22:33:44 +02:00
twinaphex
e030aee324 (Android) Add default dirs for playlists, wallpapers, remaps 2015-07-03 22:26:08 +02:00
radius
5abadccb3d add additional android paths 2015-07-03 09:38:54 -05:00
twinaphex
96c119bb1d Move retroarch_logger.h to libretro-common/include 2015-06-30 00:38:10 +02:00
Alcaro
59b35bbc21 Fix printf mismatch. 2015-06-26 20:41:56 +02:00
Alcaro
febcbc5ce4 C89 cleanups part 2 2015-06-26 17:48:43 +02:00
twinaphex
a132fa0fba Some C89 build fixes 2015-06-26 15:53:18 +02:00
twinaphex
1efaaab53d (main_exit) Don't set shutdown to false 2015-06-25 14:54:40 +02:00
twinaphex
0fa871a296 Use rarch_system_info_get_ptr 2015-06-25 13:46:32 +02:00
twinaphex
f5dbf50ebc (frontend.c) Use rarch_system_info_get_ptr 2015-06-25 13:38:46 +02:00
twinaphex
6ee5029bb0 (android_input.c) Use rarch_system_info_get_ptr 2015-06-25 13:20:53 +02:00
twinaphex
42fcb4490c Change signature of rarch_system_info_get_ptr 2015-06-25 12:36:55 +02:00
twinaphex
850d6b0274 (frontend.c) Use rarch_system_info_get_ptr 2015-06-25 11:06:02 +02:00
twinaphex
6f1bc69fc7 Refactor libretro_dummy mechanics 2015-06-20 23:42:30 +02:00
twinaphex
225187dbd0 (platform_darwin.m) Include "../../menu/menu.h" 2015-06-18 10:13:29 +02:00
Higor Eurípedes
1bec7fbaef (platform_win32.c) Add menu.h include 2015-06-17 10:40:23 -03:00
twinaphex
0d400d027b (Salamander) Update 2015-06-15 22:47:20 +02:00
twinaphex
a2c8f89137 Create frontend->parse_drive_list 2015-06-15 22:45:02 +02:00
twinaphex
bc592859cc Cleanups 2015-06-15 06:01:54 +02:00
twinaphex
23263e2f97 (Android) Use djb2 2015-06-15 04:18:17 +02:00
Twinaphex
c5958e2d49 (OSX) Buildfix 2015-06-14 19:28:20 +02:00
twinaphex
f32173c007 (platform_darwin.m) Use hashing 2015-06-14 19:26:53 +02:00
twinaphex
d3803d0d05 (platform_linux.c) Use hashing 2015-06-14 19:22:22 +02:00
twinaphex
413230d77d (Frontend) Cleanups 2015-06-12 23:38:46 +02:00
twinaphex
b70c1c134f (Android) Cleanups 2015-06-12 23:32:23 +02:00
twinaphex
29e3f5ff66 Expand playlist format - rename it to 'lpl' 2015-06-08 23:38:03 +02:00
twinaphex
7f8a2bef79 (Salamander) Some spurious code where it tries to use 'len'
instead of 's'
2015-06-08 00:33:49 +02:00
twinaphex
7979198f08 (Android) Build fix #2 2015-06-02 20:41:14 +02:00
twinaphex
c8c4dcfda7 Define NS_INLINE if it does not exist 2015-06-02 18:47:08 +02:00
twinaphex
0cfeff8e1e Cleanups 2015-06-02 18:28:51 +02:00
twinaphex
a4812c955f Get rid of 'Gets here' messages 2015-06-01 17:06:28 +02:00
Twinaphex
99099c34ef Fix two serious warnings 2015-05-26 09:06:53 +02:00
radius
51dad5c922 make sure to reset paths when exiting too 2015-05-25 20:54:51 -05:00
radius
cc5b069494 make sure to reset paths when exiting too 2015-05-25 20:54:00 -05:00
twinaphex
8fb8887c34 Create new playlist format 2015-05-26 00:12:49 +02:00
twinaphex
be6ce5fb34 Get rid of some more useless casts 2015-05-24 05:10:09 +02:00
twinaphex
74ee699d5c Split up rarch_main_data_iterate outside of rarch_main_iterate 2015-05-16 17:00:50 +02:00
twinaphex
7242693e69 (Android) Go back to old input code 2015-05-09 09:38:45 +02:00
twinaphex
87d9834d06 Move dylib.c to libretro-common 2015-05-08 09:49:49 +02:00
twinaphex
ff6babc22a (Android) Start using android_main_poll 2015-05-02 07:06:57 +02:00
twinaphex
9a1c90a554 (Android) android_run_events - change signature 2015-05-02 03:52:28 +02:00
twinaphex
fed293b6e7 (Android) ALooper_prepare - hook up poll source 2015-05-02 03:00:35 +02:00
twinaphex
14acead3db (Android) Remove deinit function callback 2015-05-02 02:56:33 +02:00
twinaphex
bc0a933114 Get rid of APP_CMD_DEAD hack 2015-05-02 02:55:51 +02:00
twinaphex
681f88948b Remove unused onRetroArchExit 2015-05-02 02:36:33 +02:00
twinaphex
421fad50a2 (Android) (android_native_app_glue.c) Should now be identical to mainline 2015-05-02 02:22:20 +02:00
twinaphex
ec319a2c76 (Android) Start preparing engine_handle_input and engine_handle_cmd for
input sources
2015-05-02 02:13:16 +02:00
twinaphex
78fcd0312f (Android) Change signature of android_main_poll 2015-05-02 01:05:21 +02:00
twinaphex
2f08c143ec (Android) Cleanups 2015-05-02 00:43:24 +02:00
twinaphex
a9aab62169 (Android) Create prototypes for functions 2015-05-02 00:27:33 +02:00
twinaphex
2161b03cf0 Move variables to platform_android.c 2015-05-02 00:25:55 +02:00
twinaphex
e16e55cb9b (Android) Backport more functions 2015-05-02 00:22:29 +02:00
twinaphex
1699e877fb (Android) Backport some functions 2015-05-02 00:16:06 +02:00
twinaphex
fe5d4e34ab (Android) Native app glue - use pthread again 2015-05-02 00:13:28 +02:00
twinaphex
5a2c6aa5d6 (Android) Create android_app_read_cmd 2015-05-01 23:59:23 +02:00
twinaphex
7bc4a69a4a (Android) Create android_native_app_glue.h 2015-05-01 23:52:36 +02:00
twinaphex
6c94be41a9 (Android) Create android_native_app_glue.c 2015-05-01 23:46:55 +02:00
twinaphex
2cc348a75b (Android) Create android_app_userdata 2015-05-01 20:21:52 +02:00
twinaphex
50ab97d304 (Android) Add back native app glue missing details 2015-05-01 19:56:44 +02:00
twinaphex
349a5890e4 (Android) Set lookup name function pointer at the beginning of the app's
start
2015-05-01 18:20:52 +02:00
twinaphex
8ec5db66cf (Android) Move state around 2015-05-01 18:11:34 +02:00
twinaphex
5e5453488f (Android) Move thread state to android_app 2015-05-01 17:25:26 +02:00
twinaphex
4b289e361d Revert "(Android) Put input event queue on separate thread"
This reverts commit 828421b46b.
2015-04-29 05:59:40 +02:00
twinaphex
828421b46b (Android) Put input event queue on separate thread 2015-04-29 05:43:05 +02:00
twinaphex
201b1d4ec7 (Android) Initialize some code directly in android_app_entry 2015-04-29 03:24:57 +02:00
twinaphex
4cf9227640 (Android) Move all input to android_input.c 2015-04-29 02:48:17 +02:00
Twinaphex
af00b958d5 (iOS) Move ios_get_powerstate code to platform_darwin.m 2015-04-21 12:15:42 +02:00
twinaphex
f435958371 (Android) Implement display metric DPI 2015-04-21 00:57:51 +02:00
twinaphex
e1b697937a (Android) Implement get_architecture function 2015-04-20 22:53:56 +02:00
twinaphex
26d5ee8b4d (Android) Implement frontend_android_get_os 2015-04-20 22:43:46 +02:00
twinaphex
166cfdf211 Cleanup frontend.h 2015-04-20 21:35:51 +02:00
twinaphex
52bf335dd8 (Android) Cleanups 2015-04-20 21:35:31 +02:00
twinaphex
d224b5c21d (Android) Buildfix 2015-04-20 21:34:54 +02:00
twinaphex
14505cc222 Create new rarch_main signature 2015-04-20 21:31:25 +02:00
twinaphex
4e187ad642 Refactor around HAVE_MAIN and do away with HAVE_MAIN_LOOP 2015-04-20 21:12:39 +02:00