From eed148b7fcde73477379388da58d12cd379a6a81 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 3 Feb 2015 01:35:33 +0200 Subject: frontend: update libpicofe --- frontend/libpicofe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend') diff --git a/frontend/libpicofe b/frontend/libpicofe index 515ac0b..9fec8a9 160000 --- a/frontend/libpicofe +++ b/frontend/libpicofe @@ -1 +1 @@ -Subproject commit 515ac0b9d2c4d45a465335d54b8c49830914fcea +Subproject commit 9fec8a91c9b19856ac0b51de53b847b38ed8dc61 -- cgit v1.2.3 From 92a5fe88a86f0a25c3bbc74f80b67b16e18608e7 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 3 Feb 2015 03:10:06 +0200 Subject: frontend: fix minor glitches on video mode changes --- frontend/plat_omap.c | 3 ++- frontend/plugin_lib.c | 12 +++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'frontend') diff --git a/frontend/plat_omap.c b/frontend/plat_omap.c index 4e3ea79..f25f31c 100644 --- a/frontend/plat_omap.c +++ b/frontend/plat_omap.c @@ -111,10 +111,11 @@ void *plat_gvideo_set_mode(int *w_in, int *h_in, int *bpp) } } - vout_fbdev_clear(layer_fb); buf = vout_fbdev_resize(layer_fb, w, h, *bpp, l, r, t, b, 3); + vout_fbdev_clear(layer_fb); + omap_enable_layer(1); return buf; diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c index 56da763..ab4d415 100644 --- a/frontend/plugin_lib.c +++ b/frontend/plugin_lib.c @@ -34,6 +34,8 @@ #include "../libpcsxcore/psxmem_map.h" #include "../plugins/dfinput/externals.h" +#define HUD_HEIGHT 10 + int in_type1, in_type2; int in_a1[2] = { 127, 127 }, in_a2[2] = { 127, 127 }; int in_adev[2] = { -1, -1 }, in_adev_axis[2][2] = {{ 0, 1 }, { 0, 1 }}; @@ -101,20 +103,20 @@ static void hud_printf(void *fb, int w, int x, int y, const char *texto, ...) static void print_msg(int h, int border) { - hud_print(pl_vout_buf, pl_vout_w, border + 2, h - 10, hud_msg); + hud_print(pl_vout_buf, pl_vout_w, border + 2, h - HUD_HEIGHT, hud_msg); } static void print_fps(int h, int border) { - hud_printf(pl_vout_buf, pl_vout_w, border + 2, h - 10, + hud_printf(pl_vout_buf, pl_vout_w, border + 2, h - HUD_HEIGHT, "%2d %4.1f", pl_rearmed_cbs.flips_per_sec, pl_rearmed_cbs.vsps_cur); } static void print_cpu_usage(int w, int h, int border) { - hud_printf(pl_vout_buf, pl_vout_w, pl_vout_w - border - 28, h - 10, - "%3d", pl_rearmed_cbs.cpu_usage); + hud_printf(pl_vout_buf, pl_vout_w, pl_vout_w - border - 28, + h - HUD_HEIGHT, "%3d", pl_rearmed_cbs.cpu_usage); } // draw 192x8 status of 24 sound channels @@ -126,7 +128,7 @@ static __attribute__((noinline)) void draw_active_chans(int vout_w, int vout_h) static const unsigned short colors[2] = { 0x1fe3, 0x0700 }; unsigned short *dest = (unsigned short *)pl_vout_buf + - vout_w * (vout_h - 10) + vout_w / 2 - 192/2; + vout_w * (vout_h - HUD_HEIGHT) + vout_w / 2 - 192/2; unsigned short *d, p; int c, x, y; -- cgit v1.2.3 From bf48d3aa5a4916f9228bc7d18a417c136fdc30a5 Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 5 Feb 2015 02:50:46 +0200 Subject: release r22 --- frontend/libretro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend') diff --git a/frontend/libretro.c b/frontend/libretro.c index 38514b5..867522d 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -283,7 +283,7 @@ void retro_get_system_info(struct retro_system_info *info) { memset(info, 0, sizeof(*info)); info->library_name = "PCSX-ReARMed"; - info->library_version = "r21"; + info->library_version = "r22"; info->valid_extensions = "bin|cue|img|mdf|pbp|toc|cbn|m3u"; info->need_fullpath = true; } -- cgit v1.2.3 From 1e0eac2348343c8a046f7a75d460f087556cf7f6 Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 6 Feb 2015 01:26:44 +0200 Subject: libretro: always use fixed samples per frame --- frontend/libretro.c | 1 + 1 file changed, 1 insertion(+) (limited to 'frontend') diff --git a/frontend/libretro.c b/frontend/libretro.c index 867522d..acc64a1 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -1255,6 +1255,7 @@ void retro_init(void) cycle_multiplier = 200; #endif pl_rearmed_cbs.gpu_peops.iUseDither = 1; + spu_config.iUseFixedUpdates = 1; McdDisable[0] = 0; McdDisable[1] = 1; -- cgit v1.2.3