Skip to content

Commit 6926e59

Browse files
authored
dmac: fix name mangling
1 parent 166bd49 commit 6926e59

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/dmac/pspdmac.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,15 @@
88
* Copyright (c) 2016 173210 <[email protected]>
99
*/
1010

11+
#ifndef __DMAC_H__
12+
#define __DMAC_H__
13+
1114
#include <psptypes.h>
1215

16+
#ifdef __cplusplus
17+
extern "C" {
18+
#endif
19+
1320
/**
1421
* Copy data in memory using DMAC
1522
*
@@ -22,3 +29,9 @@
2229
int sceDmacMemcpy(void *dst, const void *src, SceSize n);
2330

2431
int sceDmacTryMemcpy(void *dst, const void *src, SceSize n);
32+
33+
#ifdef __cplusplus
34+
}
35+
#endif
36+
37+
#endif

0 commit comments

Comments
 (0)