notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gpu_neon: fix texels vs pixels confusion
[pcsx_rearmed.git]
/
plugins
/
gpulib
/
gpu.h
diff --git
a/plugins/gpulib/gpu.h
b/plugins/gpulib/gpu.h
index
b1f4f1d
..
4637a71
100644
(file)
--- a/
plugins/gpulib/gpu.h
+++ b/
plugins/gpulib/gpu.h
@@
-8,6
+8,9
@@
* See the COPYING file in the top-level directory.
*/
* See the COPYING file in the top-level directory.
*/
+#ifndef __GPULIB_GPU_H__
+#define __GPULIB_GPU_H__
+
#include <stdint.h>
#ifdef __cplusplus
#include <stdint.h>
#ifdef __cplusplus
@@
-73,6
+76,7
@@
struct psx_gpu {
uint32_t hcnt;
} last_list;
uint32_t last_vram_read_frame;
uint32_t hcnt;
} last_list;
uint32_t last_vram_read_frame;
+ uint32_t w_out_old, h_out_old, status_vo_old;
} state;
struct {
int32_t set:3; /* -1 auto, 0 off, 1-3 fixed */
} state;
struct {
int32_t set:3; /* -1 auto, 0 off, 1-3 fixed */
@@
-119,7
+123,7
@@
struct GPUFreeze;
long GPUinit(void);
long GPUshutdown(void);
void GPUwriteDataMem(uint32_t *mem, int count);
long GPUinit(void);
long GPUshutdown(void);
void GPUwriteDataMem(uint32_t *mem, int count);
-long GPUdmaChain(uint32_t *rambase, uint32_t addr);
+long GPUdmaChain(uint32_t *rambase, uint32_t addr
, uint32_t *progress_addr
);
void GPUwriteData(uint32_t data);
void GPUreadDataMem(uint32_t *mem, int count);
uint32_t GPUreadData(void);
void GPUwriteData(uint32_t data);
void GPUreadDataMem(uint32_t *mem, int count);
uint32_t GPUreadData(void);
@@
-135,3
+139,5
@@
void GPUrearmedCallbacks(const struct rearmed_cbs *cbs_);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif
+
+#endif /* __GPULIB_GPU_H__ */