Files
pspsdk/src/dmac/pspdmac.h
Sophie Kirschner 87232db654 Add DMAC definitions
2020-09-02 11:44:38 +03:00

25 lines
662 B
C

/*
* PSP Software Development Kit - http://www.pspdev.org
* -----------------------------------------------------------------------
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
*
* dmac.c - A DMAC function
*
* Copyright (c) 2016 173210 <root.3.173210@live.com>
*/
#include <psptypes.h>
/**
* Copy data in memory using DMAC
*
* @param dst - The pointer to the destination
* @param src - The pointer to the source
* @param n - The size of data
*
* @return 0 on success; otherwise an error code
*/
int sceDmacMemcpy(void *dst, const void *src, SceSize n);
int sceDmacTryMemcpy(void *dst, const void *src, SceSize n);