X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fgpu_neon%2Fpsx_gpu%2Fpsx_gpu_main.c;h=d610e8e72bb408374d9d4efd5384f75792d469d5;hp=97f62caf7d4da6cd13f2ea0f298d7ae8a66b40e5;hb=e8c0e0bb6288aeeb2a4cb6709608340836778886;hpb=75e28f62b2a50044b58075d63d207409e0148409;ds=sidebyside diff --git a/plugins/gpu_neon/psx_gpu/psx_gpu_main.c b/plugins/gpu_neon/psx_gpu/psx_gpu_main.c index 97f62caf..d610e8e7 100644 --- 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; +u16 __attribute__((aligned(256))) _vram[1024 * 512]; #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); } - initialize_psx_gpu(psx_gpu); + initialize_psx_gpu(psx_gpu, _vram); #ifdef PANDORA_BUILD system("ofbset -fb /dev/fb1 -mem 6291456 -en 0");