X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fpico.h;h=92ba9cffcd6662b762fb56453281a26db2808e53;hb=19954be1966a04304b16d9180b003ec8ca3bc532;hp=7436a605aaf4a4ac4ae32eb3fee03b8e5322d2a9;hpb=460603fa8119a41192ebdc7012d120f6263a2bce;p=picodrive.git diff --git a/pico/pico.h b/pico/pico.h index 7436a60..92ba9cf 100644 --- a/pico/pico.h +++ b/pico/pico.h @@ -4,7 +4,7 @@ // Pico Library - Header File // (c) Copyright 2004 Dave, All rights reserved. -// (c) Copyright 2006-2008 notaz, All rights reserved. +// (c) Copyright 2006-2009 notaz, All rights reserved. // Free for non-commercial use. // For commercial use, separate licencing terms must be obtained. @@ -31,6 +31,9 @@ extern void mp3_update(int *buffer, int length, int stereo); // used by SVP dynarec extern void cache_flush_d_inval_i(const void *start_addr, const void *end_addr); +// this one should handle display mode changes +extern void emu_video_mode_change(int start_line, int line_count, int is_32cols); + // Pico.c #define POPT_EN_FM (1<< 0) // 00 000x #define POPT_EN_PSG (1<< 1) @@ -172,8 +175,7 @@ extern int PicoDrawMask; #define PDRAW_PLANE_HI_PRIO (1<<6) // have layer with all hi prio tiles (mk3) #define PDRAW_SHHI_DONE (1<<7) // layer sh/hi already processed #define PDRAW_240LINES (1<<8) // 240 line display (224 if not set) -#define PDRAW_192LINES (1<<9) // 192 line display (for SMS games) -extern int rendstatus; +extern int rendstatus, rendstatus_old; extern unsigned short HighPal[0x100]; // Draw2.c