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
frontend: add gpu_unai configuration options
[pcsx_rearmed.git]
/
plugins
/
gpu_unai
/
gpu.cpp
diff --git
a/plugins/gpu_unai/gpu.cpp
b/plugins/gpu_unai/gpu.cpp
index
9b0a0dc
..
4ee453d
100644
(file)
--- a/
plugins/gpu_unai/gpu.cpp
+++ b/
plugins/gpu_unai/gpu.cpp
@@
-901,7
+901,7
@@
static void blit(void)
old_res_horz = w0;
old_res_vert = h1;
old_rgb24 = (s16)isRGB24;
old_res_horz = w0;
old_res_vert = h1;
old_rgb24 = (s16)isRGB24;
- screen_buf = cbs->pl_
fbdev
_set_mode(w0, h1, isRGB24 ? 24 : 16);
+ screen_buf = cbs->pl_
vout
_set_mode(w0, h1, isRGB24 ? 24 : 16);
}
dest = (u8 *)screen_buf;
}
dest = (u8 *)screen_buf;
@@
-927,7
+927,7
@@
static void blit(void)
}
}
}
}
- screen_buf = cbs->pl_
fbdev
_flip();
+ screen_buf = cbs->pl_
vout
_flip();
}
void GPU_updateLace(void)
}
void GPU_updateLace(void)
@@
-951,14
+951,14
@@
void GPU_updateLace(void)
long GPUopen(unsigned long *, char *, char *)
{
long GPUopen(unsigned long *, char *, char *)
{
- cbs->pl_
fbdev
_open();
- screen_buf = cbs->pl_
fbdev
_flip();
+ cbs->pl_
vout
_open();
+ screen_buf = cbs->pl_
vout
_flip();
return 0;
}
long GPUclose(void)
{
return 0;
}
long GPUclose(void)
{
- cbs->pl_
fbdev
_close();
+ cbs->pl_
vout
_close();
return 0;
}
return 0;
}
@@
-972,6
+972,10
@@
long GPUfreeze(unsigned int ulGetFreezeData, GPUFreeze_t* p2)
void GPUrearmedCallbacks(const struct rearmed_cbs *cbs_)
{
void GPUrearmedCallbacks(const struct rearmed_cbs *cbs_)
{
+ enableAbbeyHack = cbs_->gpu_unai.abe_hack;
+ light = !cbs_->gpu_unai.no_light;
+ blend = !cbs_->gpu_unai.no_blend;
+
cbs = cbs_;
}
cbs = cbs_;
}