Commit Graph

228 Commits

Author SHA1 Message Date
twinaphex ff1078a98b (camera/drivers/video4linux2.c) Use path_is_character_special 2015-09-22 21:16:58 +02:00
twinaphex 385e030261 Move functions around 2015-09-22 19:34:16 +02:00
twinaphex 5465da0139 Rename rarch_sleep to retro_sleep 2015-09-22 18:55:14 +02:00
twinaphex 6779fcf4f1 (CXX_BUILD) Buildfix 2015-09-22 13:00:36 +02:00
twinaphex 3db688d477 Create retro_stat.c/retro_stat.h 2015-09-22 01:45:30 +02:00
twinaphex 9d67d48036 Create path_is_valid 2015-09-21 22:46:27 +02:00
twinaphex 9093cd4aba (libretro-db) Use retro_endianness.h functions completely 2015-09-21 11:37:31 +02:00
twinaphex c21df1eb7d Update retro_miscellaneous.h 2015-09-21 11:17:19 +02:00
twinaphex 5e71c31748 Split up BMP saving into separate file libretro-common/formats/bmp/rbmp_encode.c 2015-09-19 02:44:28 +02:00
twinaphex 958dcc3c02 Get rid of retro_fmemcpy - and use retro_read_file 2015-09-19 01:03:52 +02:00
twinaphex 32ddeb3f96 Rename retro_fmemcpy_alloc to retro_read_file 2015-09-19 00:36:27 +02:00
twinaphex 3564532564 Create retro_write_file 2015-09-19 00:34:24 +02:00
twinaphex a6e0b2f22d (retro_file) Create retro_fmemcpy_alloc 2015-09-19 00:19:51 +02:00
twinaphex aed85c1617 (C89_BUILD) Some buildfixes 2015-09-18 06:51:17 +02:00
twinaphex 611be4bc16 (file_ops) Convert some functions in file_ops over to retro_file
(retro_file.c) Fix retro_fseek and retro_ftell functions
2015-09-18 05:22:50 +02:00
twinaphex 133e85298f * Add retro_get_fd to retro_file.c
* Use retro_file in gfx/drivers_context/drm_egl_ctx.c
2015-09-18 03:47:44 +02:00
twinaphex 82e15d1377 CLeanups/fixes 2015-09-17 20:24:49 +02:00
twinaphex 55e54a30b4 Create retro_file, and have libretrodb use it 2015-09-17 19:58:06 +02:00
twinaphex da3bec58b1 (libretro-common) Start adding retro_file.c and retro_file.h 2015-09-17 11:41:48 +02:00
twinaphex 872314f910 Use UINT_FAST16_MAX/UINT_LEAST32_MAX 2015-09-15 18:59:40 +02:00
Lioncash fc64f6d82a msvc: Conditionally enable the snprintf macro
VS2015 implements the normal form of snprintf, so the define will cause compile errors.
2015-09-14 21:50:09 -04:00
twinaphex 8ca8b43545 Take out retro_endianness.h include out of retro_miscellaneous.h 2015-09-14 03:34:05 +02:00
twinaphex 7f9761afb6 Create kaiser_window_function/lanzcos_window_function 2015-09-13 03:43:59 +02:00
twinaphex 5adc85a207 Create libretro-common/include/filters.h 2015-09-12 21:04:20 +02:00
aliaspider 3b85e0dd5a (3DS) fix build to work with the latest ctrulib. 2015-09-07 18:31:30 +01:00
twinaphex 79f46c574f compat/msvc.h - define snprintf macro for _WIN32 too 2015-09-07 01:43:21 +02:00
Alcaro dbccc4f4f0 Shut up some more warnings. 2015-09-06 16:07:26 +02:00
Alcaro 5f1729dbac Fix some MSVC fails. 2015-09-06 15:36:23 +02:00
Alcaro fcbaca9b66 Fix a dozen CXX_BUILD errors under Windows. 2015-09-06 15:29:48 +02:00
Twinaphex 8d2eceaa22 (rpng) Cleanups 2015-09-06 13:02:44 +02:00
twinaphex b79c2ced37 Remove win32/compat/dirent.c 2015-09-04 20:27:41 +02:00
twinaphex 56c8a57e0c Create retro_dirent.c/retro_dirent.h 2015-09-04 18:38:29 +02:00
twinaphex 156cdd3295 Create memalign.c 2015-09-02 17:06:02 +02:00
twinaphex 679a7ee130 (rpng) Don't expose unused internal function 2015-09-01 13:39:09 +02:00
twinaphex c259b983de struct definitions now go inside rpng_common.h - move them
away from public headers
2015-09-01 13:08:10 +02:00
twinaphex 511b2c6d83 Create rpng_set_buf_ptr 2015-09-01 13:00:02 +02:00
twinaphex d5837f4b7c Don't take in as first argument rpng->buff_data - handle this internally 2015-09-01 12:56:39 +02:00
twinaphex cd79143038 (rpng) Encapsulate incrementation of buffer position 2015-09-01 12:52:04 +02:00
twinaphex 3762502112 Create rpng_is_valid 2015-09-01 12:41:31 +02:00
twinaphex 09aac8a320 Create rpng_nbio_is_valid 2015-09-01 12:39:17 +02:00
twinaphex 15ba019ea1 Don't make asserts dependent on retro_log.h 2015-09-01 11:59:27 +02:00
twinaphex aa282c5780 Reimplement memmap.c for Windows 2015-09-01 11:29:50 +02:00
twinaphex 2b80e89f13 Revert "Move zconf.h to libretro-common/include/compat"
This reverts commit 15c00bc997.
2015-08-31 19:40:07 +02:00
twinaphex 15c00bc997 Move zconf.h to libretro-common/include/compat 2015-08-31 18:07:38 +02:00
twinaphex 0b4ba8443f Create convert_argb888_rgba4444 2015-08-31 14:08:22 +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
Twinaphex aa382a5c7c Revert "Add include_compressed param to dir_list_new." 2015-08-30 18:36:25 +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
Sergi Granell 7e86e2158d (Vita) Update net and netlogger 2015-08-30 16:12:45 +02:00
twinaphex 039b4e0454 Move code back to logger.c 2015-08-29 18:57:07 +02:00
twinaphex e00ea900ed Refactor logger headers 2015-08-29 16:48:53 +02:00
twinaphex e32b99ac0c Consolidate PSL1GHT logger into logger/netlogger/logger.c
and expand net/net_compat.c
2015-08-29 16:24:38 +02:00
twinaphex 4f80afe03e Move code to net_compat.h 2015-08-29 16:02:10 +02:00
twinaphex 5b67aaaa17 Start making the logging code more portable 2015-08-29 15:40:23 +02:00
twinaphex 6edea1d9c7 Create compat versions of zlib.h and zutil.h 2015-08-28 21:35:09 +02:00
Twinaphex 05740fc55a (iOS) Buildfix 2015-08-24 01:35:52 +02:00
twinaphex 67afbea0f5 (iOS) Flesh out logger code 2015-08-24 01:32:35 +02:00
twinaphex be9f2b870a Compile in memmap.c 2015-08-22 18:38:17 +02:00
twinaphex c7c61b79e3 Add dylib_error 2015-08-20 06:21:53 +02:00
twinaphex d4c0a09a03 Make mman functions public in memmap.h header for Win32 2015-08-12 15:48:52 +02:00
twinaphex 7f615fc781 (memmap) Create wrapper functions memprotect and memsync 2015-08-12 15:45:15 +02:00
twinaphex 7031582b22 (libretro-common) Include preliminary memmap.c 2015-08-12 15:27:20 +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 fa5645b1e7 (libretro-common) Add some ifdef rules for Vita 2015-08-10 23:23:03 +02:00
twinaphex bb7960c500 Fixes 2015-07-30 03:31:48 +02:00
twinaphex 99e1a9b297 Get rid of builtin_bswap16/bswap32 - breaks on OSX 10.8 2015-07-18 20:56:47 +02:00
twinaphex bbc63f7e99 Fix CXX_BUILD 2015-07-12 08:08:27 +02:00
twinaphex 135ee2f503 Use UINT64_C(1) everywhere instead of 1ULL 2015-07-12 07:53:46 +02:00
Higor Eurípedes 3cc6e07174 (task_database) Fix leaks when scanning zip files 2015-07-05 10:23:21 -03:00
David Shah 5e0469ce40 Fix building for Android
Modified retro_log.h to prevent undefined reference to rarch_main_verbosity
2015-07-02 14:16:23 +01:00
twinaphex 84ef36ee3b Create retro_environment.h for libretro-common 2015-06-30 23:00:44 +02:00
twinaphex 79ed8b2823 Fix rthreads.h 2015-06-30 22:16:31 +02:00
twinaphex 96c119bb1d Move retroarch_logger.h to libretro-common/include 2015-06-30 00:38:10 +02:00
Alcaro 4ca6c2398c More C89 cleanups, part 3 2015-06-26 18:35:52 +02:00
Alcaro c3e111605b Fix retro_inline.h under C89. 2015-06-26 15:53:20 +02:00
twinaphex a132fa0fba Some C89 build fixes 2015-06-26 15:53:18 +02:00
twinaphex d3f0954418 Start preparing internal ffmpeg core mechanisms 2015-06-21 00:03:27 +02:00
Jools Wills 417d26ed02 GCC 4.7 does not have __builtin_bswap16 on all platforms
GCC 4.7 does not have __builtin_bswap16 on all platforms so don't try to use it unless we are on gcc 4.8 or greater
2015-06-14 20:16:48 +01:00
Higor Eurípedes 72fa1c9d36 (config_file.c) Speed up setting lookup with hashes 2015-06-14 12:36:29 -03:00
Higor Eurípedes 70c845a6b2 Rewrite file_list_copy() 2015-06-13 19:03:41 -03:00
twinaphex e514c30d0f retro_endianness.h - need to include stdlib.h for _byteswap_ulong/
_byteswap_short
2015-06-12 16:40:48 +02:00
twinaphex 087e1354ec Create file_list_set_userdata/file_list_set_actiondata 2015-06-11 23:02:17 +02:00
Twinaphex c86c40c1cd Create file_list_free_actiondata/file_list_free_userdata 2015-06-11 21:03:28 +02:00
twinaphex 5bd138b6ac (file_list) Start adding entry_idx to file_list_* functions 2015-06-10 22:43:06 +02:00
Alcaro 0aa6747285 (retro_endianess.h) That's not how the preprocessor works. 2015-06-10 02:47:29 +02:00
Higor Eurípedes 47af2e6d1c (retro_endianess.h) Small update 2015-06-09 20:13:35 -03:00
twinaphex d3102e03c8 (file_list.c) Get rid of 'alt2' 2015-06-07 00:53:00 +02:00
twinaphex fc4755bce2 (libretro-common) Move hash.c/hash.h to libretro-common 2015-06-04 21:13:13 +02:00
twinaphex 4a37c4e020 Remove duplicate strcasestr 2015-06-02 16:49:35 +02:00
twinaphex aac21b1d11 Add '__MACH__' to ifdef rule 2015-06-02 16:45:35 +02:00
twinaphex 7370095e3e Correct compat/strl.h 2015-06-02 16:39:43 +02:00
twinaphex 3746bc1351 (glsym_gl.h) Don't depend on 'OSX' define 2015-06-02 16:37:13 +02:00
twinaphex aa56b8e1e3 (Task database) Start using zlib_parse_file_iterate in task_database.c 2015-05-27 01:36:15 +02:00
twinaphex 3d924a7556 Create zlib_parse_file_iterate 2015-05-27 01:03:49 +02:00
twinaphex c94e29ed02 Create rarch_strcasestr 2015-05-26 02:31:29 +02:00
twinaphex 30aaa265e0 Create filt_list_{set/get}_alt2_at_offset 2015-05-22 23:57:48 +02:00
twinaphex 87d9834d06 Move dylib.c to libretro-common 2015-05-08 09:49:49 +02:00
twinaphex 0704c7f0c7 Create texture_image_color_convert 2015-05-04 10:16:47 +02:00
twinaphex 51920f9e5f Simplify 'get_title' 2015-04-19 12:14:20 +02:00