iOS/libraries/allegro/allegro/src/psp/pgfx.c
/* psp_request_scroll:
 *  Attempts to initiate a triple buffered hardware scroll, which will
 *  take place during the next retrace. Returns 0 on success.
 */
Attempts to initiate a triple buffered hardware scroll, which will
take place during the next retrace. Returns 0 on success.
Attempts to initiate a triple buffered hardware scroll which will take place during the next retrace . Returns 0 on success .
static int psp_request_scroll(int x, int y)
{
   uintptr_t new_addr;
   new_addr =  BMP_EXTRA(screen)->hw_addr + (y * framebuf_width + x) * BYTES_PER_PIXEL(bitmap_color_depth(screen));
   vcount_start = sceDisplayGetVcount();
   sceDisplaySetFrameBuf((void *)new_addr, framebuf_width, gu_psm_format, PSP_DISPLAY_SETBUF_NEXTFRAME);
   return 0;
}
static int psp_request_scroll ( int x , int y ) { uintptr_t new_addr ; new_addr = BMP_EXTRA ( screen ) -> hw_addr + ( y * framebuf_width + x ) * BYTES_PER_PIXEL ( bitmap_color_depth ( screen ) ) ; vcount_start = sceDisplayGetVcount ( ) ; sceDisplaySetFrameBuf ( ( void * ) new_addr , framebuf_width , gu_psm_format , PSP_DISPLAY_SETBUF_NEXTFRAME ) ; return 0 ; }
psp_request_scroll:
  Attempts to initiate a triple buffered hardware scroll, which will
  take place during the next retrace.
psp_request_scroll : Attempts to initiate a triple buffered hardware scroll which will take place during the next retrace .