twinaphex
93fa9a0194
Add file_list_deinitialize - does everything that file_list_free
...
does except for freeing the passed struct pointer
2020-08-24 01:45:45 +02:00
twinaphex
0a69d14b11
Reimplement slang_preprocess_parse_parameters
2020-08-24 00:54:24 +02:00
twinaphex
cd6e1cf3fa
(libretro-common) string_list - add string_list_initialize
...
and string_list_deinitialize - takes a pointer to initialize
and deinitialize a string list, but importantly does not
implicitly allocate and deallocate the string list pointer
itself. This way, string lists can be put on the stack instead
of always implicitly being put on heap - the struct itself is
small enough to fit on stack
2020-08-24 00:43:55 +02:00
Alcaro
e4022ab416
libretro.h: Fix contradictory comment
...
retro_get_system_info() says it can be called even before retro_init(), which means retro_deinit() doesn't need to be called at all. Mentioning deinit() in the struct definition is misleading and incorrect.
2020-08-23 18:29:12 +02:00
Twinaphex
a175af4e6a
Cleanup some unused variables
2020-08-22 18:04:34 +02:00
twinaphex
503131de66
(RPNG) Cleanups
2020-08-22 17:37:34 +02:00
twinaphex
f4432acd06
(RPGN) Cleanups to IHDR code
2020-08-22 17:34:13 +02:00
twinaphex
73ed02b5f6
(RPNG) Cleanup read_chunk_header
2020-08-22 17:18:32 +02:00
twinaphex
d6f22a7a4c
(RPNG) Simplify png_process_ihdr
2020-08-22 16:28:50 +02:00
twinaphex
c7cf9d6df7
(RPNG) Simplify rpng_start
2020-08-22 16:11:54 +02:00
twinaphex
5cc4d0da0f
(RPNG) Make sure we don't use stdio/fprintf unless DEBUG is defined
2020-08-22 16:07:03 +02:00
twinaphex
deafd70934
(RPNG) More simplifications - get rid of png_chunk struct, just pass
...
uint32_t around to function
2020-08-22 15:37:21 +02:00
twinaphex
91345fe867
(RPNG) read_chunk_header - simplify code some more
2020-08-22 15:34:32 +02:00
twinaphex
8b5b472a2d
Optimize read_chunk_header
2020-08-22 14:24:11 +02:00
twinaphex
2e6b87d156
Simplify rpng.c - read_chunk
2020-08-22 14:20:50 +02:00
twinaphex
99873ccd8a
Reorder structs, alignment
2020-08-21 09:57:11 +02:00
twinaphex
5a8da81d07
Simplify string_set
2020-08-20 19:12:38 +02:00
twinaphex
cb0a193eea
Fix RPNG build failure
2020-08-19 18:20:55 +02:00
twinaphex
dff52d8688
Revert "(audio conversion) Optimize array accesses"
...
This reverts commit 8613ece7f55ba7528e9ebc9b30791a40f5c431be.
2020-08-19 18:18:02 +02:00
twinaphex
c4be485baf
Revert "Optimize png_reverse_filter_copy_line_rgb"
...
This reverts commit aa428cc4159364d99345f2144282f22dd9b54f95.
2020-08-19 18:17:16 +02:00
twinaphex
ae0d63ccc0
Revert "Optimize png_reverse_filter_copy_line_rgba"
...
This reverts commit ad3c67f2752e1c32be673e5447f386cf6d390fd7.
2020-08-19 18:16:57 +02:00
twinaphex
e8170a4354
Revert "Optimize png_reverse_filter_copy_line_gray_alpha"
...
This reverts commit 710226504e6d21b5334699725ec0510ff797ec67.
2020-08-19 18:16:42 +02:00
twinaphex
7c19d4d009
Revert "Optimize png_read_plte"
...
This reverts commit 107b640bc03d30277418da0aa2efcdd4c99e5caf.
2020-08-19 18:16:10 +02:00
twinaphex
ea5d134337
Revert "Optimize read_chunk_header"
...
This reverts commit 33f9ef90d8c821abbc1752c70866e97a6f17dfe3.
2020-08-19 18:15:54 +02:00
twinaphex
282d34aeb1
Revert "(RPNG) Optimize png_reverse_filter_adam7_deinterlace_pass"
...
This reverts commit a283b7126189e0f001bbf56252a5103a3a955d3c.
2020-08-19 18:15:24 +02:00
twinaphex
003ff126ce
Revert "(RPNG) optimizations to copy_line_bw"
...
This reverts commit 9b29217564b567241ed47bdd52d978d9acdf4f9e.
2020-08-19 18:15:08 +02:00
Twinaphex
e3d77d7f28
Remove unused variable
2020-08-19 17:21:22 +02:00
twinaphex
9b29217564
(RPNG) optimizations to copy_line_bw
2020-08-19 12:07:56 +02:00
twinaphex
a283b71261
(RPNG) Optimize png_reverse_filter_adam7_deinterlace_pass
2020-08-19 10:05:09 +02:00
twinaphex
33f9ef90d8
Optimize read_chunk_header
2020-08-19 09:09:38 +02:00
twinaphex
107b640bc0
Optimize png_read_plte
2020-08-19 08:58:18 +02:00
twinaphex
710226504e
Optimize png_reverse_filter_copy_line_gray_alpha
2020-08-19 08:18:09 +02:00
twinaphex
ad3c67f275
Optimize png_reverse_filter_copy_line_rgba
2020-08-19 08:14:23 +02:00
twinaphex
aa428cc415
Optimize png_reverse_filter_copy_line_rgb
2020-08-19 08:09:17 +02:00
twinaphex
5166eebcaf
for loop cleanups - use space after 'for'
2020-08-19 03:06:22 +02:00
twinaphex
8613ece7f5
(audio conversion) Optimize array accesses
2020-08-19 02:46:54 +02:00
twinaphex
b39959c985
Cleanup dylib.c
2020-08-18 15:22:46 +02:00
twinaphex
624a70f062
More strings being moved from heap to stack
2020-08-18 14:47:57 +02:00
twinaphex
216190b826
Clean up more string variables on heap - move to stack
2020-08-18 14:26:15 +02:00
twinaphex
c81d06d0a1
Reorder structs, alignment
2020-08-17 15:09:19 +02:00
Alcaro
df2db8bceb
stdstring: Delete duplicate function
2020-08-16 02:33:25 +02:00
twinaphex
b69ceaea1b
Reorder structs, alignment
2020-08-16 01:07:42 +02:00
Alcaro
37efa9d52e
rpng: delete "unused" png_chunk member
...
also fix a rather ugly buffer overflow that relies on the unused member existing and being null
2020-08-16 00:27:25 +02:00
twinaphex
982fbadd15
(RBMP) Reorder structs, alignment
2020-08-16 00:13:16 +02:00
twinaphex
3d2efdd2ef
(RJPEG) reorder structs, alignment
2020-08-16 00:09:10 +02:00
twinaphex
f48dc0ff5b
Reorder structs, alignment
2020-08-15 20:38:31 +02:00
twinaphex
3ec21b292c
Reorder structs, alignment
2020-08-15 01:18:23 +02:00
twinaphex
a8646a2610
Reorder structs, alignment
2020-08-15 00:44:35 +02:00
twinaphex
7642cf5fa5
Struct reorders/alignment
2020-08-14 22:54:46 +02:00
twinaphex
4c0d9bc68d
Struct reordering/alignment
2020-08-14 21:19:32 +02:00