Commit Graph

3891 Commits

Author SHA1 Message Date
twinaphex aa9f9004c5 Cleanups 2016-01-13 07:03:14 +01:00
twinaphex 772558921f Cleanups 2016-01-13 07:01:29 +01:00
twinaphex 58f01fed90 Cleanup 2016-01-13 06:59:01 +01:00
twinaphex 8fbd59b690 Cleanups 2016-01-13 06:38:20 +01:00
twinaphex 8257cb638a Remove this header 2016-01-13 06:32:57 +01:00
twinaphex 06812cc988 (PS3) Setup default RDB dir 2016-01-12 09:01:57 +01:00
twinaphex c9dd3ca621 Cleanup 2016-01-11 07:15:57 +01:00
twinaphex d3c82f433b Add more logs 2016-01-10 13:23:02 +01:00
twinaphex eeb7a33e7b Set extract_version_current instead of extract_version_last 2016-01-10 09:48:27 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
Twinaphex 948544ec42 Start setting up bundle assets extraction - looks for an assets.zip file 2016-01-10 02:21:35 +01:00
twinaphex 243487dd56 N/A 2016-01-10 01:53:45 +01:00
twinaphex 814838badf N/A 2016-01-10 01:52:54 +01:00
twinaphex fdb5f10c71 Check for assets.zip inside bundle 2016-01-10 01:48:41 +01:00
twinaphex 59cdd64267 (platform_wii.c) Remove this line 2016-01-02 20:14:36 +01:00
twinaphex 624ed06a37 Cleanups 2016-01-02 01:38:02 +01:00
twinaphex c7eeb557fa (frontend) Start using string_is_empty 2015-12-26 07:45:19 +01:00
ctult cebb95b0e3 a bit of static analysis
possible memory leaks and null pointer dereferences
2015-12-24 23:04:15 -07:00
twinaphex 7a3df7cd90 remove this obsolete code 2015-12-25 06:20:53 +01:00
twinaphex 8b130b3866 Add RETRO_SIMD_POPCNT and RETRO_SIMD_MOVBE 2015-12-25 06:14:57 +01:00
twinaphex 8ecae597e9 reuse x86_cpuid from performance.c 2015-12-25 06:10:29 +01:00
twinaphex 8da07f277b Fix some bad typos from Google engineers 2015-12-25 06:03:16 +01:00
aliaspider 40ac911a05 build fix. 2015-12-24 21:17:44 +01:00
twinaphex f2911269d5 Create driver_ctl 2015-12-11 10:43:53 +01:00
twinaphex a8c6fc150b Add RUNLOOP_CTL_DATA_ITERATE 2015-12-11 10:17:18 +01:00
twinaphex fc6505e408 Get rid of rarch_system_info_get_ptr 2015-12-10 22:30:25 +01:00
twinaphex 23c13c0043 Delay reinit, gets rid of the remaining concurrency errors 2015-12-09 20:30:55 +01:00
twinaphex 94e1148d51 Cleanups 2015-12-09 20:15:55 +01:00
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 8ab15e7ef8 Create RARCH_CTL_DESTROY 2015-12-07 15:03:54 +01:00
twinaphex cad237231e Create RARCH_CTL_PREINIT 2015-12-07 15:01:53 +01:00
twinaphex c62f6ed26d Create RARCH_CTL_DEINIT and RARCH_CTL_INIT 2015-12-07 14:59:09 +01:00
twinaphex 0d52b8ec3a Header include nits 2015-12-06 22:48:57 +01:00
twinaphex f54476fdd8 Remove unused variables 2015-12-06 18:39:48 +01:00
twinaphex d33f0b5239 Don't make async_jobs dependent on global state anymore 2015-12-06 18:37:57 +01:00
Higor Eurípedes aa08f3ba58 (frontend.c) Fix async job leak 2015-12-06 14:28:06 -03:00
twinaphex a3033c2f66 Buildfixes 2015-12-06 18:12:49 +01:00
twinaphex 783881941a Create menu_driver_ctl 2015-12-05 13:00:45 +01:00
twinaphex c8d8176c0c Get rid of unused variables 2015-12-05 12:50:56 +01:00
twinaphex 63c12b0083 Don't include ui_companion_driver.h inside driver.h 2015-12-05 10:04:06 +01:00
twinaphex de97726323 Take out ui companion state from driver_t 2015-12-05 10:01:20 +01:00
twinaphex 29dcf06a2e Move ui_companion_driver code all to ui_companion_driver.c 2015-12-05 09:55:13 +01:00
twinaphex 4cad9deb81 (frontend_driver.c) Buildfix 2015-12-05 09:13:14 +01:00
twinaphex 70e5283d66 no longer make frontend driver dependent on driver_t 2015-12-05 09:06:43 +01:00
twinaphex c36b8e1ae9 Don't touch driver->frontend outside of frontend_driver.c anymore 2015-12-05 08:52:01 +01:00
twinaphex f16fc89b1b Replace more driver->frontend instances 2015-12-05 08:36:16 +01:00
twinaphex 5ed7c3abed Simplify call to main_load_content 2015-12-05 08:10:01 +01:00
twinaphex 26cd1a3702 Create frontend_driver_set_fork 2015-12-05 07:57:45 +01:00
twinaphex f38cdd1a64 Create frontend_driver_content_loaded 2015-12-05 07:53:02 +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 99d3ddf998 Cleanups 2015-11-29 02:02:34 +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 f95be06f13 Buildfix 2015-11-27 23:39:43 +01:00
twinaphex a8d868f187 (Android) Implement 'focused' callback for androidegl_ctx 2015-11-27 20:38:29 +01:00
twinaphex 86f0bdd3d8 ifdef certain code with HAVE_LIBRETRODB 2015-11-23 23:45:01 +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
twinaphex ea189e5fe5 Remove main_exit_save_config 2015-11-11 02:58:21 +01:00
twinaphex 38f30c8f10 Add Save Current Config to Menu 2015-11-11 02:57:20 +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
Andre Leiradella b6f995a1d7 moved the async job queue to the global_t scope 2015-11-08 22:53:17 -02: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
twinaphex 02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +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
radius a0fe04ead5 cleaner implementation of save file / save state sorting 2015-10-19 19:55:41 -05: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 3fb709ef4c Remove unused variable 2015-10-03 22:05:59 +02: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 1f52b81a28 add screenshot dir 2015-10-03 11:24:17 -05:00
radius 13f2cce9a1 check for default dirs after loading config 2015-10-03 11:10:36 -05:00
radius 8556fe08f5 fix some nits 2015-10-03 11:10:00 -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
twinaphex 3db688d477 Create retro_stat.c/retro_stat.h 2015-09-22 01:45:30 +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 4784371a90 Revert "[WIP] don't create default folders if other folders are set already" 2015-09-17 22:05:14 +02:00
Twinaphex 2f1e3e4cf3 Merge pull request #2131 from fr500/master
[WIP] don't create default folders if other folders are set already
2015-09-17 22:04:19 +02:00
Jorge Suarez 978205c8c0 [all] verify if paths are already configured before creating defaults 2015-09-17 15:00:47 -05:00
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