Commit Graph

1184 Commits

Author SHA1 Message Date
Twinaphex
7c92289a96 Buildfix 2016-06-09 03:54:40 +02:00
Alcaro
b70c5b7529 We're including the ctype headers already, let's use them. 2016-06-08 19:42:09 +02:00
Alcaro
152adc953c Someone forgot something... (why aren't we using normal int here?) 2016-06-08 19:40:57 +02:00
twinaphex
a877fc24fb (libretro-common/stdstring) Add string_trim_whitespace_left/string_trim_whitespace_right 2016-06-08 19:12:23 +02:00
twinaphex
f4c3a41f84 (Win32) Implement application process events 2016-06-07 17:28:51 +02:00
twinaphex
b1fe3506d7 Change preprocessor conditional 2016-06-07 04:48:06 +02:00
twinaphex
d14444e0fc Include intrin.h header for MSVC 2016-06-07 04:22:21 +02:00
twinaphex
53701a565f Add compat_clz_u16 2016-06-07 04:15:27 +02:00
twinaphex
6fc943228e Create libretro-common/include/compat/intrinsics.h 2016-06-07 04:07:12 +02:00
twinaphex
d240437f6b Update GLSM 2016-06-07 02:18:45 +02:00
twinaphex
e3919c9d49 (GLSM) Remove this -unnecessary 2016-06-07 02:09:19 +02:00
twinaphex
14fce400ce Another C89 fix 2016-06-07 00:17:00 +02:00
twinaphex
4b76f88939 Update libretro-common 2016-06-06 21:48:59 +02:00
Twinaphex
680aafe8f8 Merge pull request #3077 from aliaspider/master
(VITA) build fix for latest sdk.
2016-06-05 23:03:03 +02:00
aliaspider
5a80bd6b30 (VITA) build fix for latest sdk. 2016-06-05 22:01:25 +01:00
Alcaro
2b338651ab That's not just use after free, it's complete crazy. 2016-06-05 22:50:01 +02:00
twinaphex
7e2a077bd5 filestream_eof - prevent 'improper usage of negative value' 2016-06-05 19:20:08 +02:00
Twinaphex
810447e3ec (file_stream.c) Fix warnings 2016-06-04 07:37:54 +02:00
twinaphex
563089558b Implement filestream_getc for PSP/Vita by just calling filestream_read
instead
2016-06-04 03:42:55 +02:00
twinaphex
b7bf13ed1c Update GLSM 2016-06-04 02:35:06 +02:00
twinaphex
a759694b97 Add fxp.h 2016-06-03 22:35:12 +02:00
twinaphex
0b6578f869 Turn file_list_epand_if_needed static 2016-06-03 10:16:40 +02:00
twinaphex
6e86f3ab5b Create file_list_expand_if_needed 2016-06-03 10:15:49 +02:00
twinaphex
7d7a9a2384 Move increment of list to file_list_add 2016-06-03 10:12:35 +02:00
twinaphex
8a6f1be61c Create static function file_list_add 2016-06-03 10:10:19 +02:00
twinaphex
3ef925d692 file_list_append - use memset too 2016-06-03 10:06:48 +02:00
twinaphex
44dc3f70b4 Fix regression in file_list_prepend 2016-06-03 10:05:05 +02:00
twinaphex
0ae2e90783 Buildfix for targets that don't have HAVE_BUFFERED_IO defined 2016-06-03 09:24:34 +02:00
twinaphex
d95c421ba9 (config_file.c) Cleanups 2016-06-03 07:52:57 +02:00
twinaphex
a503db016e Create filestream_eof 2016-06-03 07:29:27 +02:00
twinaphex
d40eade52c Create filestream_getline 2016-06-03 07:09:50 +02:00
twinaphex
e9cf351c67 Move settings around for User Interface -
(config_file) Try to get rid of forward declarations
2016-06-03 06:43:11 +02:00
Twinaphex
75ad88e171 Cleanups 2016-06-03 05:09:54 +02:00
twinaphex
2b33c731d0 Create RFILE_MODE_READ_TEXT 2016-06-03 03:14:42 +02:00
twinaphex
9c8f29c1ec (features_cpu.c) Use filestream 2016-06-03 00:17:09 +02:00
twinaphex
4dc3fe9f8c Create filestream_getc 2016-06-03 00:07:00 +02:00
twinaphex
97427b343b (libretro-common) Create filestream_gets 2016-06-03 00:03:58 +02:00
Alcaro
9b2f6522a2 Fix use-after-free (thanks, Coverity) 2016-06-02 21:31:08 +02:00
twinaphex
d6430b2f5e Attempt to fix wrong sizeof argument 2016-06-02 20:45:32 +02:00
twinaphex
5eb43846da Prevent explicit NULL dereferenced warnings 2016-06-01 04:14:48 +02:00
twinaphex
bc3eb34da5 Remove unused variables 2016-06-01 04:09:59 +02:00
twinaphex
da6ac4aae7 Fix explicit NULL dereferenced warnings 2016-06-01 04:05:14 +02:00
twinaphex
2e42778f1e (task_queue.c) Prevent resource leak 2016-06-01 02:37:26 +02:00
Andre Leiradella
9cc830ecd6 fixed getting wrong alpha values from tRNS chunk 2016-05-29 11:30:04 -03:00
Andre Leiradella
88eab60b13 optimized palette decoding 2016-05-29 11:25:28 -03:00
Andre Leiradella
d9ea20727c support tRNS chunks in palettized images 2016-05-29 01:03:44 -03:00
twinaphex
e7aedb6fb9 Remove unneeded async_job - plug memory leak in cheevos.c 2016-05-27 05:19:27 +02:00
Andre Leiradella
d791da9507 undefined debug macros 2016-05-27 00:06:03 -03:00
twinaphex
03ded43280 Prevent explicit null dereferenced warnings 2016-05-26 18:09:46 +02:00
twinaphex
a98616b45b Fix explicit NULL dereferenced/dereference before null check warnings 2016-05-26 17:47:21 +02:00
twinaphex
0f954fd4c8 Resource leaks fixes (catched by Coverity) 2016-05-26 17:26:55 +02:00
twinaphex
20cc877ad3 (PS3) Cleanup warnings 2016-05-26 06:41:28 +02:00
twinaphex
7859868ffc (RPNG) Dehardcode return values 2016-05-25 15:24:18 +02:00
Sebastien Ronsse
58328fa2b0 rjpeg: Fix invalid read/writes during JPEG RGBA to ARGB conversion 2016-05-25 15:57:01 +10:00
twinaphex
d037d12faa (RJPEG) Attempt to solve defect 2016-05-24 23:43:51 +02:00
twinaphex
bfa6f49ae6 Fix logically dead code warnings 2016-05-24 22:12:51 +02:00
Alcaro
26190043eb this mmap env is way more complicated than it has any right to be. 2016-05-24 22:06:21 +02:00
twinaphex
42971febba Fix resource leaks (pointed out by Coverity) 2016-05-24 22:01:43 +02:00
twinaphex
3cc84d60c8 (RJPEG) Cleanup 2016-05-24 20:54:32 +02:00
twinaphex
fc37ef5c7d rjpeg_load_jpeg_image - cleanup 2016-05-24 20:44:46 +02:00
Twinaphex
fae5eb89df rjpeg_process_image - cleanup 2016-05-24 20:36:27 +02:00
twinaphex
d04810f5fd Reimplement rjpeg_process_image 2016-05-24 20:19:17 +02:00
twinaphex
ae4cd05690 (RPNG) Simplification 2016-05-24 20:15:09 +02:00
Twinaphex
7e6f23ea54 (RJPEG) Cleanup 2016-05-24 20:05:45 +02:00
twinaphex
8f7e253f1f (config_file.c) Fix control flow issue 2016-05-24 14:20:03 +02:00
twinaphex
ffaa32842f (libretro-common) Update 2016-05-24 14:18:29 +02:00
twinaphex
d1d46a59db Rewrite file_list_capacity 2016-05-24 04:19:36 +02:00
twinaphex
ac407588fa Include stdstring.h 2016-05-24 01:08:01 +02:00
radius
86b5b361da fix the last commit 2016-05-23 18:06:50 -05:00
radius
9300313fce fix lockup
this seems to fix a lockup that happens randomly on windows at startup, content load/content unload/controller hotplug
2016-05-23 17:57:15 -05:00
Torsten Paul
845dcef6ab Add cleanup handler for tasks to free allocated resources after the task finished. 2016-05-23 22:36:29 +02:00
twinaphex
d5d2f7f8ee Fix resource leaks 2016-05-23 22:17:28 +02:00
twinaphex
974d3245d2 Fix logically dead code warnings 2016-05-23 22:04:00 +02:00
Twinaphex
44edf684db (RPNG) Another potential leak plugged 2016-05-23 21:33:26 +02:00
twinaphex
faef7b498d (Coverity) Fix some resource leaks 2016-05-23 21:28:43 +02:00
twinaphex
0692a321c5 (GLSM )update 2016-05-22 03:49:42 +02:00
twinaphex
44bf799d36 Update GLSM 2016-05-21 23:00:39 +02:00
twinaphex
59f3e733fb (libretro-common) rthreads - PS3 buildfix 2016-05-21 13:38:07 +02:00
twinaphex
45cbe06401 rpng_process_image - cleanup resources if we fail 2016-05-20 21:05:27 +02:00
twinaphex
1fd7cf473d Initialize file_path 2016-05-20 19:17:21 +02:00
twinaphex
d02d27f92a (PNG) Cleanup 2016-05-20 15:37:36 +02:00
twinaphex
033bc60939 (RPNG) Cleanup 2016-05-19 01:00:03 +02:00
twinaphex
ceb657eba2 Cleanups 2016-05-19 00:51:34 +02:00
twinaphex
6c2e933321 rpng_process_init - free resources when failing 2016-05-19 00:46:07 +02:00
twinaphex
a0974a899d (RPNG) Rewrite initialization of process struct 2016-05-19 00:42:05 +02:00
twinaphex
e21a655dc6 (RPNG) Use image process codes 2016-05-18 17:18:36 +02:00
twinaphex
9b572d0fe4 Make RBMP optional too 2016-05-18 13:28:20 +02:00
twinaphex
7e36dcb27f move video_texture_image to libretro-common and rename it to image_texture.c 2016-05-18 12:58:00 +02:00
Alcaro
4fd3a4743a Another todo 2016-05-18 12:51:17 +02:00
twinaphex
265c931c46 (gfx/video_texture_image.c) remove dependencies 2016-05-18 12:49:52 +02:00
Alcaro
bc53d6fdc3 More TODO for this env. 2016-05-18 12:30:43 +02:00
twinaphex
1ef5eee8b3 Header cleanup 2016-05-18 11:08:09 +02:00
twinaphex
dd774bd13c Cleanups 2016-05-18 11:04:23 +02:00
twinaphex
9bc11731fb Start reimplementing TGA image load support 2016-05-18 10:52:23 +02:00
twinaphex
248b99e8e7 (BMP) Fix color conversion 2016-05-17 22:40:29 +02:00
twinaphex
492dd59164 Hook up BMP image loading - color channels swapped - RGBA to ARGB
conversion won't work here
2016-05-17 21:38:51 +02:00
twinaphex
4309793b1d Add rbmp.c 2016-05-17 21:21:45 +02:00
Alcaro
56ce7b9b22 because @leiradel wants me to 2016-05-17 21:08:28 +02:00
twinaphex
cecb50bd19 (RJPEG) Cleanups 2016-05-17 20:30:35 +02:00
twinaphex
4af31cee97 (ARM NEON) Buildfix 2016-05-17 17:00:16 +00:00
twinaphex
070b7b78b1 Create matrix_4x4_copy 2016-05-17 18:12:43 +02:00
twinaphex
8b915bbc22 Add memalloc_alloc_aligned 2016-05-17 16:56:13 +02:00
twinaphex
8c640a28c6 (RJPEG) Remove unused rjpeg_image_load 2016-05-17 16:40:11 +02:00
twinaphex
1166be62ae (gfx/video_texture_image.c) Drop more implementation details 2016-05-17 16:32:53 +02:00
twinaphex
52948b436e We can take out RPNG implementation details out of video_texture_image.c
now
2016-05-17 16:23:22 +02:00
twinaphex
99bcf5946c Take out DEBUG printfs 2016-05-17 16:04:54 +02:00
twinaphex
7a282eab23 (rbmp_encode.c) Cleanups 2016-05-17 15:58:50 +02:00
twinaphex
a64f0a24c6 (RJPEG) Cleanups 2016-05-17 14:07:05 +02:00
Twinaphex
beac855ff7 (RJPEG) Remove unused variable 2016-05-17 13:51:42 +02:00
twinaphex
ce0376e382 Remove debug printf 2016-05-17 13:50:35 +02:00
twinaphex
185050075a (RJPEG) Cleanups 2016-05-17 12:56:11 +02:00
twinaphex
6c79ecdae7 (RJPEG) Cleanups 2016-05-17 12:52:45 +02:00
twinaphex
808004a132 (RJPEG) Cleanups 2016-05-17 12:47:46 +02:00
twinaphex
609d00b3d7 (RJPEG) Image needs to be converted from RGBA to ARGB 2016-05-17 12:17:45 +02:00
twinaphex
9202256c3c Don't need rjpeg__jpeg_test 2016-05-17 12:02:24 +02:00
twinaphex
64c176288b Should fix JPEG decoding tasks 2016-05-17 10:07:40 +02:00
twinaphex
c62f8cc7f4 (algorithms/mismatch.c) __STDC_LIMIT_MACROS not necesary here 2016-05-17 09:21:30 +02:00
Alcaro
c19a39f49c Set calling convention for those pointers. (Yes, it's ugly.) 2016-05-16 23:51:11 +02:00
twinaphex
e9d29d246a (GLSM) Buildfix 2016-05-16 20:12:33 +02:00
twinaphex
2fa1c5abb2 (GLSM) Expand GLSM 2016-05-16 20:07:29 +02:00
twinaphex
3f9afce2cd (GLSM) Extend GLSM 2016-05-16 19:43:05 +02:00
twinaphex
9e9584c42d (GLSM) Add documentation 2016-05-16 19:11:38 +02:00
twinaphex
d2fc91295e Revert "(Apple) Add workarounds for Apple when not using GL core profile"
This reverts commit 1be3042ef9.
2016-05-16 18:55:06 +02:00
twinaphex
1be3042ef9 (Apple) Add workarounds for Apple when not using GL core profile 2016-05-16 18:52:53 +02:00
twinaphex
bb1d1da693 Remove runloop_iterate_data 2016-05-16 17:29:02 +02:00
twinaphex
cb801ec065 (Windows) Buildfixes 2016-05-16 15:40:08 +02:00
twinaphex
c66219846f (mismatch.h) Add another header 2016-05-16 15:39:15 +02:00
twinaphex
8cd2d1deff (Windows) Buildfix 2016-05-16 15:35:00 +02:00
twinaphex
d84be35fcc (PSP) Buildfix 2016-05-16 12:09:36 +02:00
twinaphex
cde1fb0490 Cleanups 2016-05-16 12:08:43 +02:00
twinaphex
65d33700d4 Move audio_utils to libretro-common as s16_to_float 2016-05-16 11:33:49 +02:00
Twinaphex
0c1d639911 (iOS) Buildfix 2016-05-16 11:15:46 +02:00
twinaphex
2422dfbbbe (libretro-common) Create libretro-common/conversion/float_to_s16 2016-05-16 11:11:02 +02:00
twinaphex
1405db5b19 Move mismatch.c to libretro-common/algorithms 2016-05-16 10:27:20 +02:00
twinaphex
0d833c903a Merge remote-tracking branch 'origin/vulkan-windows' 2016-05-16 07:51:01 +02:00
twinaphex
1983604134 Remove GLSM_CTL_IS_FRAMEBUFFER_LOCKED 2016-05-16 06:02:03 +02:00
twinaphex
e5f00e8346 (PS3) Non-zipped rom file loading should work again 2016-05-15 20:45:21 +02:00
twinaphex
01777ac500 (GLSM) Add some documentation 2016-05-15 10:05:31 +02:00
twinaphex
cb73de77e9 (libretro-common) Update 2016-05-15 06:59:23 +02:00
twinaphex
f8982a89d7 Add vector_3.c 2016-05-15 06:46:41 +02:00
twinaphex
271f4b6f8d Update 2016-05-15 06:07:25 +02:00
twinaphex
b56f880c44 (memalign) Cleanups 2016-05-15 06:06:07 +02:00
Alcaro
33e9003107 This is just noise. 2016-05-14 23:20:35 +02:00
twinaphex
1e27312c25 Get rid of unused functions 2016-05-14 13:35:50 +02:00
twinaphex
d3f4be0bbc (features_cpu.c) Fix mingw error 2016-05-14 02:54:56 +02:00
twinaphex
9e1276d76f (MSVC) Buildfixes 2016-05-14 01:32:05 +02:00
twinaphex
3257ecdaef (features_cpu.c) Move _WIN32 up in priority 2016-05-14 01:27:09 +02:00
twinaphex
23f410c5fe (RPNG) Fix test 2016-05-14 01:12:05 +02:00
twinaphex
f8e99403a4 Cleanups 2016-05-14 00:48:40 +02:00
twinaphex
7a16cf8806 Revert "(RJPEG) Remove rjpeg_test"
This reverts commit 5a4b062b0d.
2016-05-13 13:31:10 +02:00