Twinaphex
4cde17457a
Merge pull request #1426 from cxd4/master
...
removed fixed file I/O dependencies from `rpng_load_image_argb_init`
2015-02-20 02:01:16 +01:00
unknown
391e9bc150
moved file I/O out of rpng_load_image_argb_init
2015-02-19 19:54:20 -05:00
unknown
857d0b1009
rpng_load_image_argb_init
should write file size to ssize_t, not long.
2015-02-19 19:36:17 -05:00
Twinaphex
17c0861947
Merge pull request #1425 from cxd4/master
...
some more error tracking in common `read_generic_file` function
2015-02-20 00:15:11 +01:00
unknown
24cbff147b
additional error tracking after file reads, when closing the stream
2015-02-19 18:03:57 -05:00
unknown
a8fea21f11
additional error tracking on reading file streams if fseek
fails
2015-02-19 17:57:49 -05:00
unknown
586c620609
Also treat file reading as an error if ftell
reports invalid length.
...
`ftell` is documented to return -1L if the function failed to get the current position indicator in the stream. The possibility is easily set aside just by checking if the function returned a negative length.
2015-02-19 17:54:13 -05:00
Twinaphex
218c71751d
Merge pull request #1424 from cxd4/master
...
Start to simplify the RPNG interface.
2015-02-19 22:40:14 +01:00
unknown
429eb3d1d5
bool rpng_load_image_argb_init
should be a static function.
2015-02-19 16:24:28 -05:00
unknown
4429819ee7
removed unused path
parameter to rpng_load_image_argb
...
We already have a pointer to FILE of an opened file stream, so why would we need a file path string for loading one if we already had one loaded supplied to this func?
2015-02-19 16:24:03 -05:00
Alcaro
810aa8a5ed
Don't take the test code so literally.
2015-02-19 19:27:33 +01:00
twinaphex
8da734c921
(png/rpng.c) Cleanup
2015-02-19 18:13:28 +01:00
twinaphex
af91764fc8
Simplify rpng_load_image_iterate
2015-02-19 17:28:17 +01:00
twinaphex
f382aceb28
Add log for when file loading fails
2015-02-19 17:11:37 +01:00
twinaphex
58af552945
rpng_load_image_argb - simplify
2015-02-19 16:35:49 +01:00
twinaphex
67d83baa33
(rpng) Refactor file_increment_ptr
2015-02-19 16:23:23 +01:00
twinaphex
90214163a4
Call file_increment_ptr only once
2015-02-19 16:21:12 +01:00
twinaphex
bbbc797c18
Simplify video_frame_scale
2015-02-19 16:11:49 +01:00
twinaphex
f16780630b
Fix 0RGB1555 color conversion
2015-02-19 16:07:11 +01:00
twinaphex
fe8577b173
(rpng) Cleanups
2015-02-19 15:36:10 +01:00
twinaphex
57a04df37f
Create rpng_load_image_argb_init
2015-02-19 15:33:27 +01:00
twinaphex
a4c3097cdb
Create rpng_load_image_argb_process
2015-02-19 15:25:12 +01:00
twinaphex
d125fd0d0b
Create rpng_image_load_iterate
2015-02-19 15:15:13 +01:00
twinaphex
fee00be453
(rpng) Refactor #2
2015-02-19 15:01:08 +01:00
twinaphex
64ebcfba2b
(rpng) Refactor some code
2015-02-19 14:47:26 +01:00
twinaphex
e519e2f2bb
(rpng) Cleanups
2015-02-19 06:36:13 +01:00
twinaphex
b3af250e60
Move patch code to patch.c
2015-02-19 04:30:53 +01:00
twinaphex
932fc3d353
read_generic_file - add early return if rom_buf is NULL
2015-02-19 04:21:08 +01:00
twinaphex
0ea6dc0445
(MPNG) Updates
2015-02-19 04:13:58 +01:00
twinaphex
0a0d38ff78
(audio resamplers) use INLINE keyword
2015-02-19 04:00:58 +01:00
twinaphex
9c8dc6c437
(MPNG) Update
2015-02-19 03:33:01 +01:00
twinaphex
542bbd3ee9
Compile in mpng
2015-02-19 03:30:12 +01:00
twinaphex
d94679e14b
(MPNG) Add error goto label
2015-02-19 03:18:33 +01:00
twinaphex
6c98b8ab3a
Add stub MPNG image driver
2015-02-19 03:16:47 +01:00
twinaphex
2596e1c0f6
(mpng) Cleanups
2015-02-19 02:53:47 +01:00
twinaphex
6bb81b59d5
(mpng_decode.c) Style nits
2015-02-19 02:46:41 +01:00
twinaphex
41403fb3d6
Rename libretrodb to libretro-db
2015-02-19 00:47:19 +01:00
twinaphex
a33016d457
Renamed libretro-sdk to libretro-common
2015-02-19 00:04:03 +01:00
twinaphex
2697bb2230
Update mpng_decode.c
2015-02-18 23:46:26 +01:00
twinaphex
9e6d0004fd
(XMB) Set XMB_TEXTURE_RESUME instead of XMB_TEXTURE_RUN for 'Resume' action
2015-02-18 10:35:08 +01:00
twinaphex
3ee11c0374
(XMB) Set labels for general menu
2015-02-18 10:31:01 +01:00
Twinaphex
e2842d9340
Merge pull request #1422 from lakkatv/xmb
...
(XMB) Add 5 new icons for the contextual menu
2015-02-17 23:46:14 +01:00
Jean-André Santoni
e0dab75300
(XMB) Add 5 new icons for the contextual menu
2015-02-17 23:43:34 +01:00
Twinaphex
5316cb1d26
Merge pull request #1421 from lakkatv/xmb
...
Use GL_LINEAR_MIPMAP_NEAREST instead of GL_LINEAR_MIPMAP_LINEAR for a 10...
2015-02-17 23:17:09 +01:00
Jean-André Santoni
04140f7093
Use GL_LINEAR_MIPMAP_NEAREST instead of GL_LINEAR_MIPMAP_LINEAR for a 10fps gain on XMB on imx6
2015-02-17 23:13:27 +01:00
twinaphex
e44087d62a
(OSX) Set up default buildbot URLs for OSX
2015-02-17 06:35:51 +01:00
Twinaphex
cb40a28340
Merge pull request #1420 from iKarith/master
...
Don't use git -C and get rid of echo_cmd (doesn't do what it should)
2015-02-17 06:13:42 +01:00
twinaphex
0b72425f5b
(MPNG) Some build fixes
2015-02-17 06:07:42 +01:00
twinaphex
40e59507dd
Split up main loop into png_decode_iterate function - return -1
...
when we need to goto error, 1 if successful, 0 if we need to
iterate again
2015-02-17 05:57:40 +01:00
T. Joseph Carter
5b60daae3b
Don't use git -C and get rid of echo_cmd (doesn't do what it should)
2015-02-16 20:47:54 -08:00