X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplugin_lib.c;h=9f9e958cd00322d911ef578a606aa7361958ad5d;hp=0ca45ce602deb9e7bd78509d1e8a5d3228a6f9d0;hb=201c21e2ad6be25a4b843d1434eabb432ce72884;hpb=f932e54bc49d2b211a9100f8b6f5385e0eafe64c diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c index 0ca45ce6..9f9e958c 100644 --- a/frontend/plugin_lib.c +++ b/frontend/plugin_lib.c @@ -189,3 +189,15 @@ void pl_text_out16(int x, int y, const char *texto, ...) pl_text_out16_(x, y, buffer); } +static void pl_get_layer_pos(int *x, int *y, int *w, int *h) +{ + *x = g_layer_x; + *y = g_layer_y; + *w = g_layer_w; + *h = g_layer_h; +} + +const struct rearmed_cbs pl_rearmed_cbs = { + pl_get_layer_pos, +}; +