Commit Graph

1204 Commits

Author SHA1 Message Date
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
twinaphex
e56abc03b3 (rjpeg_process_image) Handle error 2016-05-13 11:15:31 +02:00
twinaphex
5a4b062b0d (RJPEG) Remove rjpeg_test 2016-05-13 11:10:59 +02:00
twinaphex
19eaa05040 (RJPEG) Cleanups 2016-05-13 10:55:22 +02:00
twinaphex
101539b489 (RJPEG) more internal changes 2016-05-13 09:58:42 +02:00
twinaphex
ee95af8ae3 (RPNG) Cleanup 2016-05-13 09:51:08 +02:00
twinaphex
fa27a8447e Rename RPNG functions 2016-05-13 09:49:38 +02:00
twinaphex
1623d538d5 Add rjpeg_set_buf_ptr 2016-05-13 09:42:02 +02:00
twinaphex
1512d36220 rjpeg_process_image should not set the texture image's width/height -
that is done later
2016-05-13 09:34:42 +02:00
twinaphex
1e872108b7 (RJPEG) Add back rgba to bgra routines 2016-05-13 09:27:58 +02:00
twinaphex
8efe2de0ec (RJPEG/RPNG) Add debug logs and change function signatures 2016-05-13 09:08:32 +02:00
twinaphex
5068accc4e Start preparing image transfer for RJPEG 2016-05-13 08:50:50 +02:00
twinaphex
17d39fd54f Add rjpeg_free 2016-05-13 08:16:13 +02:00
twinaphex
d3df016005 (RJPEG) Add rjpeg_alloc 2016-05-13 08:13:21 +02:00
twinaphex
13f49e1d9a Split up image transfer code to separate file 2016-05-13 04:38:21 +02:00
twinaphex
f20b969165 (libretro-common) features_cpu - reimplement ARM cpu features code 2016-05-13 04:02:08 +02:00
Andre Leiradella
bc8b75148e updated with upstream 2016-05-12 22:36:49 -03:00
twinaphex
3bdfbb6318 features_cpu.c - cleanups 2016-05-12 12:22:32 +02:00
twinaphex
597102e863 Remove __ARM_ARCH__ ifdefs 2016-05-12 12:15:53 +02:00
twinaphex
6b33c19802 Fix CXX_BUILD 2016-05-12 09:31:25 +02:00
twinaphex
2321ee829f Add glsym_es3 2016-05-11 23:17:42 +02:00
twinaphex
377f09f12a Change back retro_dirent_is_dir to hopefully avoid sshfs issues
- more rigorous testing should be applied before changing these
functions
2016-05-11 18:54:22 +02:00
twinaphex
1ac30884c4 (RJPEG) Prevent warnings 2016-05-11 03:40:25 +02:00
twinaphex
eec4218ebb (RJPEG) Use features_cpu 2016-05-10 20:36:05 +02:00
twinaphex
9aed52ac65 Move performance.c to libretro-common/features/features_cpu.c 2016-05-10 20:31:27 +02:00
twinaphex
4a7ab8366b Move libretro.h headers to libretro-common/include 2016-05-10 19:03:53 +02:00
twinaphex
35ea37b37f Revert "Move cpu_features to libretro-common"
This reverts commit 2b8ff3bf38.
2016-05-10 09:32:24 +02:00
twinaphex
2b8ff3bf38 Move cpu_features to libretro-common 2016-05-10 09:27:29 +02:00
twinaphex
ea8715ca92 (RJPEG) Cleanup 2016-05-10 07:16:27 +02:00
twinaphex
f3af0263ed Remove RJPEG_NO_JPEG 2016-05-10 07:15:23 +02:00
twinaphex
bb063fb692 Cleanups 2016-05-10 07:13:52 +02:00
twinaphex
8d3f6c39ac Replace STBI_ with RJPEG_ 2016-05-10 07:10:42 +02:00
Twinaphex
b59b56d2fc (RJPEG) Last buildfixes 2016-05-10 07:09:27 +02:00
twinaphex
3c4329aa1f (RJPEG) uniquely namespace all functions 2016-05-10 07:08:45 +02:00
Twinaphex
88f259d3ef (RJPEG) Mass renaming (pt. 1) 2016-05-10 07:05:52 +02:00
twinaphex
c321c161a8 Update rjpeg 2016-05-10 06:51:58 +02:00
twinaphex
f931ce7606 Adds conversion when color shifts are BGRA 2016-05-10 06:02:00 +02:00
twinaphex
7462988f33 Use stb_image jpeg code 2016-05-10 05:50:38 +02:00
Sebastien Ronsse
bab8935b58 rbmp encode: Fix memory leak when saving image 2016-05-10 13:09:38 +10:00
Sebastien Ronsse
3db9623809 rbmp encode: Fix saving mechanism resulting in vertically flipped screenshots. 2016-05-10 11:51:56 +10:00
twinaphex
b9c9df3a8b (GLSM) Buildfix 2016-05-10 03:48:05 +02:00
twinaphex
bca9c687a1 (RJPEG) Remove register storage class 2016-05-10 03:23:15 +02:00
twinaphex
8bcc889d90 Comment this out - makes all tasks way too slow 2016-05-09 07:54:45 +02:00
twinaphex
87b83ecf56 (RetroPad) Use socket_set_target 2016-05-09 06:40:51 +02:00
twinaphex
e87f030246 C89_BUILD fixes 2016-05-09 05:50:08 +02:00
twinaphex
e1d04737cb (OSX PPC) Add line to libretro-common/include/compat/zlib.h 2016-05-09 04:51:18 +02:00
twinaphex
3f3adf0c0e Add return value for inet_aton 2016-05-09 02:50:02 +02:00
twinaphex
510c804781 (Win32) Provide inet_aton implementation 2016-05-08 19:12:01 +02:00
twinaphex
4791c37039 (Vita) Reimplement inet_ptrton for Vita 2016-05-08 18:09:03 +02:00
twinaphex
60789e0141 Cleanups 2016-05-08 16:25:26 +02:00
twinaphex
e2090dc02d Vita doesn't support inet_pton either 2016-05-08 16:13:55 +02:00
twinaphex
11ec23bc18 Create inet_ptrton 2016-05-08 15:41:34 +02:00
Hans-Kristian Arntzen
8faa6231db Fix some warnings. 2016-05-08 09:37:27 +02:00
twinaphex
2f6baffe45 Expand net_socket.c 2016-05-08 07:24:10 +02:00
twinaphex
eb689fdd24 C89_BUILD fix 2016-05-08 04:21:56 +02:00
twinaphex
1968b0a333 Dunno where this came from 2016-05-08 04:06:07 +02:00
twinaphex
ae9ea8f2db (MSVC) Buildfixes 2016-05-08 04:04:50 +02:00
twinaphex
ef5da43d35 Cleanups 2016-05-07 18:35:06 +02:00
twinaphex
7f272a4bd0 Add missing parameters 2016-05-07 16:24:26 +02:00
twinaphex
0a2544c1bf (rjpeg) Try manual conversion to RGB 2016-05-07 06:55:52 +02:00
twinaphex
c5895b4aa0 (libretro-common/formats/jpeg/rjpeg.c) Allocate out_img->pixels 2016-05-07 06:49:48 +02:00
twinaphex
f86d4d400d Start adding jpeg hooks 2016-05-07 06:20:17 +02:00
twinaphex
7b79975516 Start adding rjpeg_image_load 2016-05-07 06:16:02 +02:00
twinaphex
b2df35bd7c Correct glDeleteVertexArrays 2016-05-07 05:00:14 +02:00
twinaphex
5127536217 (libretro-common) Expand GLSM 2016-05-07 04:42:18 +02:00
twinaphex
0ab61a2428 (libretro-common) Add rjpeg 2016-05-07 04:33:54 +02:00
twinaphex
268be70fe8 Cleanups 2016-05-07 04:15:39 +02:00
twinaphex
b8644536d2 (video_texture_image.c) Cleanups - we use nbio now in video_texture_image_load
for both TGA and PNG, and we remove the file I/O based RPNG function
2016-05-07 04:04:09 +02:00
twinaphex
b38e269215 (GLSM) Some buildfixes 2016-05-07 01:32:34 +02:00
twinaphex
f4553505a4 (GLSM) Update 2016-05-07 00:07:49 +02:00
twinaphex
7eef9b87b0 Add glTexSubImage2D 2016-05-06 23:54:48 +02:00
twinaphex
d997526a1d Updates 2016-05-06 22:40:11 +02:00
twinaphex
dd36a3792c (GLSM) Add new wrapper functions 2016-05-06 22:20:03 +02:00
twinaphex
5d5ad0548a Update 2016-05-06 22:15:24 +02:00
twinaphex
2e319213e3 Expand glsm 2016-05-06 22:08:49 +02:00
Twinaphex
77649b2f23 Fix memory leak in async_job_free 2016-05-06 19:14:38 +02:00
twinaphex
648da7b6e6 (task_queue) Remove unused variable 2016-05-06 18:57:11 +02:00
Sebastien Ronsse
8f6bb23f38 task queue: Implement running tasks retrieval mechanism 2016-05-06 14:41:45 +10:00
twinaphex
10fe532d29 Cleanup 2016-05-06 06:25:06 +02:00
twinaphex
5db093924c Cleanup - slock_new 2016-05-06 06:05:30 +02:00
twinaphex
b91ad3a70e (libretro-common) Update glsm 2016-05-06 05:08:42 +02:00