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/psx_gpu: use external vram
[pcsx_rearmed.git]
/
plugins
/
gpu_neon
/
psx_gpu
/
psx_gpu_main.c
diff --git
a/plugins/gpu_neon/psx_gpu/psx_gpu_main.c
b/plugins/gpu_neon/psx_gpu/psx_gpu_main.c
index
97f62ca
..
d610e8e
100644
(file)
--- a/
plugins/gpu_neon/psx_gpu/psx_gpu_main.c
+++ b/
plugins/gpu_neon/psx_gpu/psx_gpu_main.c
@@
-64,6
+64,7
@@
typedef struct
static gpu_dump_struct state;
psx_gpu_struct __attribute__((aligned(256))) _psx_gpu;
static gpu_dump_struct state;
psx_gpu_struct __attribute__((aligned(256))) _psx_gpu;
+u16 __attribute__((aligned(256))) _vram[1024 * 512];
#define percent_of(numerator, denominator) \
((((double)(numerator)) / (denominator)) * 100.0) \
#define percent_of(numerator, denominator) \
((((double)(numerator)) / (denominator)) * 100.0) \
@@
-175,7
+176,7
@@
int main(int argc, char *argv[])
screen = SDL_SetVideoMode(1024, 512, 32, 0);
}
screen = SDL_SetVideoMode(1024, 512, 32, 0);
}
- initialize_psx_gpu(psx_gpu);
+ initialize_psx_gpu(psx_gpu
, _vram
);
#ifdef PANDORA_BUILD
system("ofbset -fb /dev/fb1 -mem 6291456 -en 0");
#ifdef PANDORA_BUILD
system("ofbset -fb /dev/fb1 -mem 6291456 -en 0");