mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-12-24 12:42:36 +00:00
25 lines
662 B
C
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);
|