X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fpandora%2Fplat.c;h=5f10b17b5aff09d747fcf2b1ad78d97a96678166;hb=fda2f31020bf0d6cf7b5dd70ec01cf390b7e1483;hp=9cd5fc5b5a5dec02ae8274fbac1a0bb0472df91e;hpb=9db6a54485501b56b0f2f5db4d093c38fe495bda;p=picodrive.git diff --git a/platform/pandora/plat.c b/platform/pandora/plat.c index 9cd5fc5..5f10b17 100644 --- a/platform/pandora/plat.c +++ b/platform/pandora/plat.c @@ -168,7 +168,7 @@ void pemu_finalize_frame(const char *fps, const char *notice) emu_osd_text16(2, g_osd_y, notice); if (fps && fps[0] && (currentConfig.EmuOpt & EOPT_SHOW_FPS)) emu_osd_text16(g_osd_fps_x, g_osd_y, fps); - if ((PicoAHW & PAHW_MCD) && (currentConfig.EmuOpt & EOPT_EN_CD_LEDS)) + if ((PicoIn.AHW & PAHW_MCD) && (currentConfig.EmuOpt & EOPT_EN_CD_LEDS)) draw_cd_leds(); } @@ -442,6 +442,11 @@ void plat_wait_till_us(unsigned int us_to) */ } +void *plat_mem_get_for_drc(size_t size) +{ + return NULL; +} + void plat_early_init(void) { } @@ -483,7 +488,7 @@ void plat_init(void) exit(1); } - g_menuscreen_w = w; + g_menuscreen_w = g_menuscreen_pp = w; g_menuscreen_h = h; g_menuscreen_ptr = vout_fbdev_flip(main_fb);