Search
lxdream.org :: lxdream/src/pvr2/pvr2.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/pvr2.h
changeset 736:a02d1475ccfd
prev677:3ee62740ff8f
next753:1fe39c3a9bbc
author nkeynes
date Mon Jul 14 07:44:42 2008 +0000 (13 years ago)
permissions -rw-r--r--
last change Re-indent everything consistently
Fix include guards for consistency as well
file annotate diff log raw
1.1 --- a/src/pvr2/pvr2.h Thu May 29 10:50:25 2008 +0000
1.2 +++ b/src/pvr2/pvr2.h Mon Jul 14 07:44:42 2008 +0000
1.3 @@ -24,6 +24,10 @@
1.4 #include "mem.h"
1.5 #include "display.h"
1.6
1.7 +#ifdef __cplusplus
1.8 +extern "C" {
1.9 +#endif
1.10 +
1.11 typedef unsigned int pvraddr_t;
1.12 typedef unsigned int pvr64addr_t;
1.13
1.14 @@ -140,7 +144,7 @@
1.15 * using a line length and stride.
1.16 */
1.17 void pvr2_vram64_write_stride( sh4addr_t dest, unsigned char *src, uint32_t line_bytes,
1.18 - uint32_t line_stride_bytes, uint32_t line_count );
1.19 + uint32_t line_stride_bytes, uint32_t line_count );
1.20
1.21 /**
1.22 * Read from the interleaved memory address space (aka 64-bit address space)
1.23 @@ -178,7 +182,7 @@
1.24 * counts must be a multiple of 4, and the src address must be 32-bit aligned.
1.25 */
1.26 void pvr2_vram64_read_stride( unsigned char *dest, uint32_t dest_line_bytes, sh4addr_t srcaddr,
1.27 - uint32_t src_line_bytes, uint32_t line_count );
1.28 + uint32_t src_line_bytes, uint32_t line_count );
1.29 /**
1.30 * Dump a portion of vram to a stream from the interleaved memory address
1.31 * space.
1.32 @@ -380,4 +384,8 @@
1.33 pvraddr_t punchout_ptr;
1.34 };
1.35
1.36 +#ifdef __cplusplus
1.37 +}
1.38 +#endif
1.39 +
1.40 #endif /* !lxdream_pvr2_H */
.