Commit Graph

1445 Commits

Author SHA1 Message Date
twinaphex 5ac4a8b3f6 Remove APP_CMD_DEAD 2015-12-09 20:10:22 +01:00
twinaphex 959b781c06 (Android) Implement input_alive 2015-12-08 13:47:46 +01:00
twinaphex 5b1e1592cb Rename rarch_main_iterate and rarch_main_data_iterate 2015-12-07 15:22:36 +01:00
twinaphex a3033c2f66 Buildfixes 2015-12-06 18:12:49 +01:00
twinaphex 29dcf06a2e Move ui_companion_driver code all to ui_companion_driver.c 2015-12-05 09:55:13 +01:00
twinaphex c0a1a6a3fe Move system->shutdown to runloop_ctl, turn it into a local
static variable
2015-12-04 12:44:12 +01:00
twinaphex 923433ead7 Move engine_handle_dpad code to android_input.c - copy
hat and analog state to intermediary on android_app during
poll time
2015-12-02 22:33:27 +01:00
twinaphex e859fae4ee (Android) Move sensorManager and sensorEventQueue to android_app 2015-12-02 21:38:21 +01:00
twinaphex b7d7dcef1c Expand android_app 2015-12-02 19:28:15 +01:00
twinaphex d6b5dd6ac4 Flesh out android_native_app_glue.c implementation some more 2015-12-02 17:46:20 +01:00
twinaphex 986e4bf40d (Android) Native activity updates 2015-12-02 08:54:24 +01:00
twinaphex 9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex 4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex 4e0a4150b5 Merge runloop and runloop_data.c 2015-11-30 15:35:57 +01:00
twinaphex 5d52f4856a Get rid of INLINE qualifier for some functions 2015-11-30 05:13:12 +01:00
twinaphex 383f24005e Fixup other platform's Salamander versions 2015-11-29 01:59:41 +01:00
twinaphex ac6b705666 (PS3) Buildfix 2015-11-29 01:58:15 +01:00
twinaphex 6a6b230d8e (Wii) Fixups 2015-11-29 01:57:16 +01:00
radius f7b3059dcd change default filter location 2015-11-27 22:01:26 -05:00
twinaphex da8c36b0c3 Don't need sleeping argument anymore for rarch_main_data_iterate 2015-11-28 03:26:01 +01:00
twinaphex a1226004f5 Revert "Don't render menu if unfocused - reimplement this"
This reverts commit ce7ec0681b.
2015-11-28 03:05:37 +01:00
twinaphex ce7ec0681b Don't render menu if unfocused - reimplement this 2015-11-28 03:03:26 +01:00
twinaphex 99ca95a100 (Android) Buildfix 2015-11-28 00:16:31 +01:00
twinaphex a8d868f187 (Android) Implement 'focused' callback for androidegl_ctx 2015-11-27 20:38:29 +01:00
twinaphex a9cb970d0d Move log_file code to verbosity.c 2015-11-23 15:45:02 +01:00
twinaphex b434689d39 (Win32) Buildfixes 2015-11-23 12:14:53 +01:00
Twinaphex 5974f81ed8 (OSX) Buildfixes 2015-11-23 12:07:00 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex 6f0425bdc3 Make calls to event_command(EVENT_CMD_LOG_FILE_DEINIT) 2015-11-22 22:04:33 +01:00
twinaphex 8a16897aea Update verbosity checks 2015-11-22 21:55:06 +01:00
Twinaphex 0223290fad Revert "(iOS) Use the sandboxed Documents directory"
This reverts commit 13b8b957b2.
2015-11-19 02:38:33 +01:00
twinaphex 00127979d2 (XDK) Buildfix 2015-11-18 14:27:27 +01:00
twinaphex 9d98bfbe6b (GX) Move defines to defines/gx_defines.h 2015-11-18 12:55:28 +01:00
twinaphex a4ae655ff4 Start going through rarch_main_ctl for grabbing fullpath 2015-11-18 11:43:25 +01:00
twinaphex 13b8b957b2 (iOS) Use the sandboxed Documents directory 2015-11-18 03:27:50 +01:00
twinaphex 50c00b5172 (platform_xdk.cpp) Remove RARCH_LOG 2015-11-17 22:51:50 +01:00
twinaphex 406d37eb88 Convert xdk360_fonts.c to C++ 2015-11-17 22:48:11 +01:00
twinaphex 81ab687713 (platform_xdk.h) Buildfixes 2015-11-17 22:28:05 +01:00
twinaphex ff03f83994 (Xbox 1) Some preliminary build fixes 2005-04-23 20:22:55 +02:00
twinaphex 2fd6843a18 (XDK) Buildfixes 2015-11-17 11:35:46 +01:00
twinaphex b4432f7a0c (GX) Rename to official SDK functions through macros 2015-11-15 20:22:19 +01:00
twinaphex e4ba9efae1 Should fix Wii boot.dol regression - apparently some problem
with retro_file ?
2015-11-15 03:13:34 +01:00
aliaspider bf407606bc (3DS) allow reading content path from argv. 2015-11-14 22:21:24 +01:00
twinaphex 91192f4aca Make popen no longer Android-specific 2015-11-14 19:53:54 +01:00
twinaphex e5af70e091 system_property_get - add goto error 2015-11-14 19:52:12 +01:00
twinaphex 63924971aa (Android) Refactor away system_property_get_density - make regular calls to
system_property_get instead
2015-11-14 19:22:33 +01:00
aliaspider dfe5c33f34 (3ds) set a default video filter dir. 2015-11-12 15:15:40 +01:00
thedax b46ae033ab 3DS: Fix compilation for great-refactor.
exitCfgu/initCfgu changed to cfguInit/cfguExit.
2797540a3d
2015-11-09 15:23:36 -05:00
aliaspider 9d17abf131 (3ds) fix service calls enabling hack for new 3DS. 2015-11-05 06:11:39 +01:00
aliaspider d262361b97 (3DS) enable access to all service calls when possible. 2015-11-04 15:27:30 +01:00
Andrés d638a12c87 Merge pull request #2328 from aliaspider/master
(3DS) implement dynamic memory management.
2015-11-01 19:27:27 -05:00
aliaspider 8741ec48d5 (3DS) implement dynamic memory management.
heap/linear heap and stack sizes can now change dynamically at runtime,
depending on usage, no need to specify those on a per-core basis
anymore.
2015-11-02 01:24:11 +01:00
twinaphex 7091e23254 (PS3) Copy GLUI/XMB assets 2015-11-01 11:28:25 +01:00
twinaphex 61a67f0938 Cleanups 2015-10-31 21:41:31 +01:00
twinaphex f8fae2914f (iOS) Should set buildbot_server_url to correct URL now if iOS 9 is detected 2015-10-31 17:54:31 +01:00
aliaspider 39c5b683b8 (3DS) auto-extract /3ds/dspfirm.cdc from /3ds/code.bin when needed/ 2015-10-27 19:50:39 +01:00
Twinaphex 0447c1b442 Merge pull request #2293 from aliaspider/master
(3DS) - add an audio driver using the DSP.
2015-10-27 01:38:38 +01:00
aliaspider aeeb2a62d6 (3DS) - add an audio driver using the DSP.
- add some hooks to inspect memory usage.
2015-10-27 01:06:34 +01:00
twinaphex 0dc9c8df95 Rename extraction_directory to cache_directory 2015-10-27 00:48:35 +01:00
aliaspider 04c79791e8 (CTR/3DS) fix for hbl 2.5 2015-10-26 04:58:39 +01:00
aliaspider ac119b04f6 (CTR/3DS) improve memory management.
- use a custom crt0 to allow overriding __heap_size and
__linear_heap_size
- add a setting for maximum heap size. unallocated memory can be freely
mapped by the core.
- add better detection of the extra memory available when running from
the HBL.
2015-10-22 20:35:22 +01:00
Twinaphex 9302ce939b Only use RELEASE_BUILD on OSX 2015-10-21 23:40:23 +02:00
aliaspider 9fbb790404 (CTR/3DS) heap_size can't be bigger than 0x6000000. 2015-10-21 01:38:04 +01:00
Twinaphex 6fc6f681f5 Merge pull request #2270 from aliaspider/master
(CTR/3DS) allow changing cpu speed on n3DS at runtime.
2015-10-21 01:11:22 +02:00
aliaspider 3e4f38a38e (CTR/3DS) allow changing cpu speed on n3DS at runtime.
set cpu speed to max by default.
2015-10-20 23:52:52 +01:00
Twinaphex 257fed3228 Merge pull request #2264 from aliaspider/master
(CTR/3DS) update
2015-10-20 17:32:47 +02:00
aliaspider 8cc805c38a (CTR/3DS) reduce memory usage.
build fix.
2015-10-20 12:34:53 +01:00
Andrés 93696ad8bc Update platform_darwin.m 2015-10-19 15:48:50 -05:00
twinaphex 776707577b Use menu_entries_push 2015-10-17 17:14:41 +02:00
jakcron e798377492 (CTR/3DS) Enabled access to more memory.
o3DS can get access to 80MB max, and n3DS can get access to 124MB
(actually 110MB due to ctrulib issues). Since 80MB triggers a reboot for
o3DS, it is only set in titles that need it.
2015-10-17 14:13:07 +08:00
Francisco Jose Garcia Garcia 398ba9e42a (Vita) Fixes #2216 - exiting back to the homebrew menu 2015-10-06 11:56:17 +02:00
aliaspider b7be1862a3 (CTR/3DS) increase the default size of the linear heap.
makefile: allow changing stack/linear heap size without requiring a
clean.
2015-10-05 21:45:17 +01:00
aliaspider b9978317cc (CTR/3DS) video driver: increase texture width. 2015-10-04 19:22:23 +01:00
Twinaphex b1f946ea75 Merge pull request #2208 from fr500/master
don't use $HOME/downloads or $HOME/pictures
2015-10-03 21:59:08 +02:00
aliaspider 71efe15bce (CTR/3DS) don't turn off the LCD for 2DS models. 2015-10-03 19:37:01 +01:00
radius a92dfd4668 fix downloads dir 2015-10-03 11:30:13 -05:00
radius 300617b190 set defaults always to XDG dirs 2015-10-03 11:24:44 -05:00
radius 7798be9f6e [android] add a default config dir 2015-10-03 10:56:19 -05:00
aliaspider 6528c71e3a (CTR/3DS) don't query APPMEMALLOC when started from the HBL. 2015-10-02 01:45:34 +01:00
aliaspider 5e05ad443a (CTR/3DS) allow access for more RAM. (.cia builds only)
124MB are used by default for n3DS.
80MB can be used on o3DS with a build option.
2015-10-01 23:18:59 +01:00
aliaspider 63ab3b02b8 (CTR/3DS) shut down the LCD backlight when toggling the buttom display
off.
courtesy of @thedax.
2015-10-01 18:12:59 +01:00
radius d4a8d97ed3 [windows] build fix 2015-09-29 21:44:38 -05:00
twinaphex 084217fa42 (win32) Move gfx_set_dwm call 2015-09-29 03:19:48 +02:00
Francisco José García García 7fa6a796be (Vita) First Networking Code and Download Overlays 2015-09-29 00:40:53 +02:00
twinaphex 02a5d738fe Static code analysis cleanups 2015-09-28 23:00:22 +02:00
Twinaphex b1f6c88626 Merge pull request #2177 from aliaspider/master
(CTR/3DS) update
2015-09-28 16:21:57 +02:00
twinaphex a79b571d7b Static code analysis fixes 2015-09-28 16:20:26 +02:00
aliaspider e2037c477e (CTR/3DS) build fix. 2015-09-28 14:55:23 +01:00
twinaphex f22436e39f Possible ARM Linux buildfix 2015-09-24 23:11:24 +02:00
twinaphex 364034f1b2 (Vita) Remove unused variable 2015-09-24 21:27:36 +02:00
radius 0e69f5bcb0 workaround to disable OSD fonts without restarting 2015-09-24 00:33:25 -05:00
twinaphex 5465da0139 Rename rarch_sleep to retro_sleep 2015-09-22 18:55:14 +02:00
aliaspider 4c34badf8b (CTR/3DS) improve memory management.
only stacksize and linear heap size need to be specified now.
regular heap size will be determined automatically.
2015-09-20 21:46:10 +01:00
twinaphex 7ad32fc8aa (XDK) Move files around 2015-09-20 15:39:59 +02:00
twinaphex 919220751c (PSP) Move files around 2015-09-20 15:33:54 +02:00
twinaphex 07f5d2e399 (Wii) Buildfixes 2015-09-20 15:03:49 +02:00
Francisco José García García 78c90d8bb2 (Vita) Increase heap size 2015-09-20 13:07:12 +02:00
Andrés 88db140c32 Merge pull request #2146 from aliaspider/master
(CTR/3DS) fix build.
2015-09-20 01:58:27 -05:00
aliaspider a5b61354f0 (CTR/3DS) fix build. 2015-09-20 07:48:16 +01:00
Andrés 53741a8252 Merge pull request #2145 from aliaspider/master
(CTR/3DS) memory allocation can now be configured from the makefile.
2015-09-20 01:33:16 -05:00
aliaspider d968731c70 (CTR/3DS) memory allocation can now be configured from the makefile.
defaults to 48MBytes for the heap instead of 24MBytes.
2015-09-20 07:28:11 +01:00
Francisco José García García 06a9b8c441 (Vita) Fix remaps and cheats dirs 2015-09-19 17:31:25 +02:00
twinaphex 57cf177286 (Wii) Use retro_read_file 2015-09-19 12:34:52 +02:00
Twinaphex 6ca5145150 Merge pull request #2139 from aliaspider/master
(CTR/3DS) update
2015-09-19 12:26:44 +02:00
aliaspider e2c9b19faa (CTR/3DS) implement some missing toolchain functions required by some
cores.
will be moved to a seperate file later.
2015-09-19 11:12:48 +01:00
twinaphex 2945bb9f50 (Android) Buildfix 2015-09-19 04:37:38 +02:00
twinaphex 958dcc3c02 Get rid of retro_fmemcpy - and use retro_read_file 2015-09-19 01:03:52 +02:00
twinaphex 71c54c607c (Linux/sysfs) Don't need to iterate ac_adapter 2015-09-18 21:22:06 +02:00
twinaphex 270ec2403c Take out printf 2015-09-18 21:19:54 +02:00
twinaphex 1ea6c2691a (platform_linux.c) Fix path for sysfs_ac_adapter 2015-09-18 21:19:33 +02:00
twinaphex 08456c8541 Remove fcntl header includes from more files 2015-09-18 02:48:15 +02: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 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
twinaphex 4d8b125c4f Cleanups 2015-09-05 20:40:11 +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
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 bbeb4d4298 (Vita) parse_drive_list - add cache0 path 2015-08-30 17:05:14 +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 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 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 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
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 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 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 0fa871a296 Use rarch_system_info_get_ptr 2015-06-25 13:46:32 +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 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 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 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 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 7e95712015 (platform_darwin.m) Style nits 2015-04-20 21:00:40 +02:00
twinaphex 445bf04892 Cleanups to rarch_main - and also fix Android platform struct 2015-04-20 20:53:17 +02:00
twinaphex 7ed40b4401 Rename frontend_ctx_apple to frontend_ctx_darwin 2015-04-20 17:19:51 +02:00
twinaphex aa54f7fb41 Move apple_rarch_exited to UI companion drivers 2015-04-20 17:10:28 +02:00
twinaphex b310e82def Remove HAVE_COCOA/HAVE_COCOATOUCH ifdef in platform_apple.m 2015-04-20 14:09:57 +02:00
twinaphex 5154538ac1 (platform_apple.m) Style nits 2015-04-20 14:07:45 +02:00
Twinaphex a554b1647c Move code around - turn platform_apple.c into platform_apple.m 2015-04-20 14:05:55 +02:00
Twinaphex 6beaa824cd (platform_apple.c) Buildfix 2015-04-20 13:00:44 +02:00
twinaphex a29e97677e Fix CFExtensions.h include 2015-04-20 12:54:04 +02:00
twinaphex 0cbc577324 Cleanups 2015-04-20 12:33:35 +02:00
Twinaphex 425783672e (platform_apple.c) Add some more defines so that it can compile
and link without HAVE_COCOA or HAVE_COCOATOUCH
2015-04-19 17:12:20 +02:00
twinaphex a1eb931455 (OSX/Apple) Create main() function if HAVE_COCOA and HAVE_COCOATOUCH
are not defined
2015-04-19 17:02:36 +02:00
Twinaphex 6bbe6203a6 (Apple) Cleanups 2015-04-18 21:52:45 +02:00
Twinaphex a642092cb5 (iOS) Fixup frontend_apple_get_name 2015-04-18 21:20:04 +02:00
Twinaphex c03f61152b (Apple) Fixup get_os 2015-04-18 21:14:30 +02:00
twinaphex 0608ea17b8 (Linux) Frontend OS - major/minor now gets properly set 2015-04-18 20:49:05 +02:00
twinaphex 5bc364c1fb (Win32) Buildfix 2015-04-18 20:44:28 +02:00
twinaphex f9adf6ee9d (Win32) Implement OS name 2015-04-18 20:41:17 +02:00
twinaphex b4549d4bf4 Expand frontend_linux_get_architecture some more 2015-04-18 20:16:59 +02:00
twinaphex 5cfc0bb723 (Linux) Implement frontend_linux_get_os - still needs major/minor
set
2015-04-18 20:08:47 +02:00
twinaphex a2195e8cdf Create frontend get_architecture function callback 2015-04-18 20:03:59 +02:00
twinaphex b83a03bad6 (Linux) Start implementing get_powerstate 2015-04-18 19:43:48 +02:00
twinaphex ac2743b842 Create stub frontend/drivers/platform_linux.c 2015-04-18 19:12:14 +02:00
twinaphex 88692cbb07 (CTR) Use rarch_sleep and some style nits 2015-04-18 17:34:14 +02:00
twinaphex 8d4f6a172c (Win32) Implement get_powerstate 2015-04-18 17:16:55 +02:00
Twinaphex 99894c831e (iOS) Implement get_powerstate 2015-04-18 16:42:49 +02:00
twinaphex b810f7579d (PSP) Implement get_powerstate 2015-04-18 15:28:06 +02:00
twinaphex ba69d2ba59 (Apple) Style nits 2015-04-18 15:09:03 +02:00
Twinaphex 9b4d2769f3 (OSX) Start implementing get_powerstate - based on SDL implementation 2015-04-18 15:07:04 +02:00
twinaphex b721389234 Create 'get_powerstate' function for frontend driver 2015-04-18 13:56:40 +02:00
twinaphex 335097f98f (Emscripten) Buildfixes 2015-04-14 22:01:41 +02:00
Twinaphex 146acb62d3 (iOS) Implement frontend_apple_get_os 2015-04-13 18:25:04 +02:00
twinaphex d6d8d32edd Implement stub function apple_get_os 2015-04-13 18:05:55 +02:00
twinaphex 0818b178f9 Rename rarch_main_command to event_command 2015-04-13 11:26:02 +02:00
Twinaphex de2eb5f972 Rename RARCH_CMD_* to EVENT_CMD_* 2015-04-13 10:29:15 +02:00
Twinaphex 7674084904 frontend_apple_load_content - buildfix 2015-04-12 17:07:17 +02:00
Twinaphex bd31320612 (Apple) Buildfix 2015-04-12 05:45:28 +02:00
Twinaphex 3e35593f59 (iOS) Implement UI companion driver for iOS CocoaTouch 2015-04-12 03:18:37 +02:00
twinaphex 7dcbeef98f (platform_android.c) Turn some C++ comments into C comments 2015-04-12 00:03:03 +02:00
twinaphex 867ee391dd (GX) Start using sthread wrapper functions for device notification thread 2015-04-11 23:37:00 +02:00
twinaphex 19260898eb Replace dynamic.h header dependencies to dylib.h header dependencies 2015-04-11 10:38:10 +02:00
Twinaphex 16f20400fa Merge pull request #1618 from aliaspider/master
(3DS) implement the audio driver.
2015-04-10 20:15:14 +02:00
aliaspider 301309304a (3DS) implement the audio driver. 2015-04-10 19:10:34 +01:00
twinaphex 1989f9a0da (Win32) Buildfix 2015-04-09 23:03:24 +02:00
twinaphex 18801c8449 Move gfx_set_dwm call to platform_win32.c 2015-04-09 22:58:57 +02:00
twinaphex edda6bac9e (platform_psp.c) Turn function static 2015-04-09 05:53:58 +02:00
twinaphex c0bd6874cd (platform_android.h) Style nits/cleanups 2015-04-09 05:52:23 +02:00
twinaphex 033ab0891c (platform_win32.c) Cleanups 2015-04-09 05:43:30 +02:00
twinaphex 69762dd339 (platform_win32.c) Cleanup 2015-04-08 08:02:26 +02:00
twinaphex 9f44dcd12c (platform_win32.c) Add dynamic.h 2015-04-08 08:01:54 +02:00
twinaphex 5e905cf526 (Win32) Cleanup frontend_win32_init 2015-04-08 07:44:18 +02:00
twinaphex a72434e945 (Win32) Set DPI Aware for Windows Vista and higher 2015-04-08 07:20:28 +02:00
twinaphex 656d49c12d (Frontend Win32) Update 2015-04-08 02:11:23 +02:00
twinaphex 1c2a96ac0b (Win32) Add 'major' and 'minor' arguments to 'get_os' function
pointer
2015-04-07 23:28:45 +02:00
twinaphex a707c24232 Add 'get_os' function pointer to frontend driver 2015-04-07 22:49:00 +02:00
twinaphex 2fbc79e9f3 Cleanup some header includes 2015-04-07 22:21:08 +02:00
twinaphex 052086b9d4 (platform_apple.c) Include "frontend_driver.h" 2015-04-07 22:17:41 +02:00
twinaphex b20a14de81 (platform_win32.c) Buildfix 2015-04-07 22:15:40 +02:00
twinaphex 20fbe6876e (platform_win32.c) Update header 2015-04-07 21:52:26 +02:00
twinaphex 935218f8a8 (Win32) Create platform_win32.c 2015-04-07 21:51:57 +02:00
twinaphex 401693ff0a Make iPad Air level 16 and iPad Mini 2/3 level 15 2015-04-07 21:07:09 +02:00
twinaphex 86a47b7dd8 (Apple) Change iPad Air / Mini 2 and 3 rating levels 2015-04-07 21:02:34 +02:00
twinaphex 0734b14266 Make 'iPad Air 2' RetroRating level 18 2015-04-07 20:59:06 +02:00
twinaphex cd148b9540 (Apple) Style nits 2015-04-07 20:57:43 +02:00
twinaphex 23071b6131 (Apple) Style nits 2015-04-07 20:57:20 +02:00
Twinaphex 4bc43fae53 (Apple) Style nits 2015-04-07 20:51:47 +02:00
Twinaphex e836691a20 (iOS) Start implementing frontend_apple_get_rating 2015-04-07 20:42:48 +02:00
Twinaphex fcbea1acb6 (Apple) Cleanup 2015-04-07 19:31:10 +02:00
Twinaphex e54c06150a (Apple) CopyModel - make it work for iOS too 2015-04-07 19:30:24 +02:00
Twinaphex 4c2aa42fce (platform_apple.c) Implement 'get_name' for OSX 2015-04-07 19:18:36 +02:00
Twinaphex a7504510ce (Apple) use autoconfig/hid from now on 2015-04-07 07:25:53 +02:00
twinaphex baafcd2817 (platform_wii.c) Style nits 2015-04-07 05:07:30 +02:00
twinaphex 88b98b568c (Android) Style nits 2015-04-05 21:57:32 +02:00
aliaspider 14ac3fe250 (3DS) use touch for menu toggle.
keep console visible on exit until start is pressed.
2015-04-05 20:39:18 +01:00
twinaphex 5612545b25 (CTR/3DS) Update copyright headers 2015-04-02 01:43:28 +02:00
aliaspider 2045cee432 preliminary 3DS port. 2015-04-01 22:14:13 +01:00
Twinaphex a599b399da (iOS) Buildfix 2015-03-21 22:30:58 +01:00
twinaphex f689702727 (Android) Build fixes 2015-03-21 22:29:44 +01:00
Twinaphex 726c64369f (Apple) Buildfix 2015-03-21 22:28:12 +01:00
twinaphex e6f0d366cb Go through global_get_ptr 2015-03-21 04:43:18 +01:00
twinaphex 5d8ce54a9f Updates pt. 4 2015-03-20 22:22:06 +01:00
twinaphex 7378299282 Create rarch_main_get_ptr 2015-03-18 06:47:22 +01:00
twinaphex 84e9f2fa7d Use retro_inline throughout 2015-03-15 04:52:46 +01:00
Twinaphex b5b6435ab9 (OSX) Set default shader dir to 'shaders_cg' if HAVE_CG is defined 2015-03-13 03:49:42 +01:00
Twinaphex 49f9fbd00c (OSX) Uses CFTemporaryDirectory now too for extraction directory 2015-03-13 03:47:25 +01:00
Twinaphex 55e187748c (platform_apple.c) Cleanups 2015-03-13 02:33:32 +01:00
Twinaphex 309128f7ed (iOS/OSX) Bring the two closer together - for OSX, everything gets
saved now to NSDocumentDirectory/RetroArch - should be compatible
with sandboxed Mac Apps too
2015-03-13 01:33:45 +01:00
Twinaphex 4ad2bd97dc (OSX) get rid of warning for unused variable 2015-03-13 01:22:20 +01:00
twinaphex aa289e3879 (OSX) Add more alterations for OSX 2015-03-13 01:21:20 +01:00
twinaphex 277f8c9ea3 (OSX) Set default extraction dir for OSX too 2015-03-13 00:57:37 +01:00
Twinaphex c9175bbf81 (iOS) Hook up temporary dir for extraction directory 2015-03-13 00:54:44 +01:00
twinaphex ae62c8a477 (iOS) Add default dir for cheats 2015-03-13 00:25:23 +01:00
twinaphex 67720e9e52 (iOS) Set up default rdb directory/cursor directory 2015-03-13 00:04:38 +01:00
Twinaphex 2ac4e0248e (iOS) Set up autoconfig and assets dir 2015-03-12 23:40:51 +01:00
Twinaphex 29d546e49d (iOS) Set up all the path to 'Documents' - you can access these with
iTunes File Sharing now - no need to add assets prior to deployment
2015-03-12 23:33:20 +01:00
twinaphex f87f3596ef (Android) Set g_runloop.is_idle to conserve on CPU usage while
idle
2015-03-09 01:59:01 +01:00
Twinaphex f34ae15f3f Cleanup header in platform_apple.c 2015-03-08 02:01:50 +01:00
Twinaphex 75b6bd21c3 (iOS/OSX) Total reimplementation of game loop - does away with
observer callback
2015-03-07 21:33:17 +01:00
Twinaphex 2d0701b1f6 Revert "(iOS/OSX) Only call CFRunLoopWakeUp if menu framebuffer is dirty or the menu"
This reverts commit 0146bf15db.
2015-03-07 17:54:29 +01:00
Twinaphex 0146bf15db (iOS/OSX) Only call CFRunLoopWakeUp if menu framebuffer is dirty or the menu
currently has an animation effect running
2015-03-07 17:37:26 +01:00
Twinaphex 1a62614c78 (Apple) Refactor do_iteration 2015-03-07 17:27:17 +01:00
Twinaphex 37271a0d13 Start debugging do_iteration 2015-03-07 16:17:48 +01:00
twinaphex a74cb0574b Create g_runloop and start moving variables there 2015-03-07 12:36:50 +01:00
aliaspider af9ad56268 (PSP) disable forcing g_extern.verbosity to true on program entry to
speed up the startup process a bit (it disables dumping retroarch.cfg to
stdout).
2015-02-25 13:36:32 +01:00
twinaphex e3844f409d (Android) Get rid of some forward decls 2015-02-24 20:42:29 +01:00
twinaphex 85f70e971a (Android) Cleanups to system_property_get 2015-02-24 19:07:44 +01:00
Googer fe176fc01b Fixed silly repeated calls to strlen() 2015-02-24 12:41:23 -05:00
Googer 03b4ace443 (Android) Fix pad input detection for pre-KitKat.
Also update getting system properties to use getprop command instead of
__system_property_get.  Use sdk level to determine which gamepad
detection method to use (only use vendorId and productId if at least
KitKat - i.e., SDK version 19+).
2015-02-24 12:20:21 -05:00
T. Joseph Carter 4bcaf40551 New project file should work. xmb still doesn't 2015-02-10 05:34:28 -08:00
twinaphex 03ec380f56 (PS3) Build fix 2015-01-30 00:29:23 +01:00
twinaphex 756a9bf214 (Android) Add default path for extraction_directory on Android - needed
now ever since increased limitations on SD external storage
2015-01-28 09:29:11 +01:00
twinaphex 6a7268d3cb (OSX) Update default core directory and core info directory for
OSX
2015-01-28 04:45:39 +01:00
Twinaphex e8528d83e0 (Apple) Build fixes 2015-01-26 11:17:38 +01:00
twinaphex 0c8eec085c (iOS) Setup some default dirs 2015-01-17 06:52:54 +01:00
twinaphex 46402deb04 Use PATH_MAX_LENGTH instead of PATH_MAX.
Refactor OSX settings menu code somewhat
2015-01-17 05:47:52 +01:00
twinaphex 2a73d1a85f Cleanups in screenshot code. 2015-01-16 07:03:26 +01:00
twinaphex e82c439d81 Rename menu/disp to menu/drivers_display and menu/backend to
menu/drivers_backend
2015-01-12 23:52:45 +01:00
twinaphex ca67f9c317 Rename frontend/platform/ to frontend/drivers/ 2015-01-12 21:47:01 +01:00