twinaphex
4f29bef56e
(config_file) Cleanups
2020-08-24 21:11:41 +02:00
twinaphex
150e96144a
Cleanup
2020-08-24 20:40:49 +02:00
twinaphex
dd13e6b044
(config_file.c) Use snprintf
2020-08-24 19:39:41 +02:00
twinaphex
24910b6999
(config_file) Simplify config_sort_compare_func
2020-08-24 19:29:24 +02:00
twinaphex
8a479e6006
Create dir_list_initialize/dir_list_deinitialize
2020-08-24 18:56:25 +02:00
twinaphex
cde5d37eb2
Put this behind RPNG_TEST
2020-08-24 18:17:47 +02:00
twinaphex
91cfcd1b83
Improve string_list_deinitialize
2020-08-24 15:11:38 +02:00
twinaphex
2452769a80
Cleanup
2020-08-24 14:20:46 +02:00
twinaphex
64f8a5990c
Create fifo_initialize/fifo_deinitialize
2020-08-24 12:17:33 +02:00
twinaphex
9caf3080b1
Cleanup
2020-08-24 12:06:56 +02:00
twinaphex
71708f8ddd
(libretro-common) Add msg_queue_initialize/msg_queue_deinitialize
2020-08-24 12:04:56 +02:00
twinaphex
7a6b9fd1b2
(Ozone) Horizontal list - put on stack - it's already on heap-allocated
...
struct as is
2020-08-24 10:22:32 +02:00
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