mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 04:20:28 +00:00
Update libretro-common
This commit is contained in:
parent
877766d0ae
commit
23b0444afe
@ -588,7 +588,10 @@ void d3d9x_constant_table_set_defaults(LPDIRECT3DDEVICE9 dev,
|
|||||||
#if defined(HAVE_D3DX)
|
#if defined(HAVE_D3DX)
|
||||||
LPD3DXCONSTANTTABLE consttbl = (LPD3DXCONSTANTTABLE)p;
|
LPD3DXCONSTANTTABLE consttbl = (LPD3DXCONSTANTTABLE)p;
|
||||||
if (consttbl && dev)
|
if (consttbl && dev)
|
||||||
consttbl->lpVtbl->SetDefaults(consttbl, dev);
|
{
|
||||||
|
if (consttbl->lpVtbl->SetDefaults)
|
||||||
|
consttbl->lpVtbl->SetDefaults(consttbl, dev);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -378,13 +378,15 @@ const char *path_get_extension(const char *path)
|
|||||||
* path_remove_extension:
|
* path_remove_extension:
|
||||||
* @path : path
|
* @path : path
|
||||||
*
|
*
|
||||||
* Removes the extension from the path and returns the result.
|
* Mutates path by removing its extension. Removes all
|
||||||
* Removes all text after and including the last '.'.
|
* text after and including the last '.'.
|
||||||
* Only '.'s after the last slash are considered.
|
* Only '.'s after the last slash are considered.
|
||||||
*
|
*
|
||||||
* Returns: path with the extension part removed.
|
* Returns:
|
||||||
* If there is no extension at the end of path,
|
* 1) If path has an extension, returns path with the
|
||||||
* returns a pointer to the unaltered original path.
|
* extension removed.
|
||||||
|
* 2) If there is no extension, returns NULL.
|
||||||
|
* 3) If path is empty or NULL, returns NULL
|
||||||
*/
|
*/
|
||||||
char *path_remove_extension(char *path)
|
char *path_remove_extension(char *path)
|
||||||
{
|
{
|
||||||
|
@ -100,11 +100,15 @@ const char *path_get_extension(const char *path);
|
|||||||
* path_remove_extension:
|
* path_remove_extension:
|
||||||
* @path : path
|
* @path : path
|
||||||
*
|
*
|
||||||
* Removes the extension from the path and returns the result.
|
* Mutates path by removing its extension. Removes all
|
||||||
* Removes all text after and including the last '.'.
|
* text after and including the last '.'.
|
||||||
* Only '.'s after the last slash are considered.
|
* Only '.'s after the last slash are considered.
|
||||||
*
|
*
|
||||||
* Returns: path with the extension part removed.
|
* Returns:
|
||||||
|
* 1) If path has an extension, returns path with the
|
||||||
|
* extension removed.
|
||||||
|
* 2) If there is no extension, returns NULL.
|
||||||
|
* 3) If path is empty or NULL, returns NULL
|
||||||
*/
|
*/
|
||||||
char *path_remove_extension(char *path);
|
char *path_remove_extension(char *path);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user