From 096ec49b4bae537b45c4b7178af6ad97c6bfabb2 Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 7 Dec 2011 18:34:25 +0200 Subject: gpu_neon: fix linkage for c++ code (una-i) --- plugins/gpu_neon/gpu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/gpu_neon/gpu.c') diff --git a/plugins/gpu_neon/gpu.c b/plugins/gpu_neon/gpu.c index 978f4d1..990fc52 100644 --- a/plugins/gpu_neon/gpu.c +++ b/plugins/gpu_neon/gpu.c @@ -472,15 +472,15 @@ uint32_t GPUreadStatus(void) return ret; } -typedef struct GPUFREEZETAG +struct GPUFreeze { uint32_t ulFreezeVersion; // should be always 1 for now (set by main emu) uint32_t ulStatus; // current gpu status uint32_t ulControl[256]; // latest control register values unsigned char psxVRam[1024*1024*2]; // current VRam image (full 2 MB for ZN) -} GPUFreeze_t; +}; -long GPUfreeze(uint32_t type, GPUFreeze_t *freeze) +long GPUfreeze(uint32_t type, struct GPUFreeze *freeze) { int i; -- cgit v1.2.3