X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pandora%2Femu.c;h=1d0b33bcf38d90b1d378f12dee20848b6672659f;hb=f11bad75edc8966e9f84b040163cc86e830c46c6;hp=0c6935b1b84e55f982eb9ae4bf61b6cebbf07827;hpb=61f66fe0ab7ab4047a2c005fc52afeb50c26fc12;p=libpicofe.git diff --git a/pandora/emu.c b/pandora/emu.c index 0c6935b..1d0b33b 100644 --- a/pandora/emu.c +++ b/pandora/emu.c @@ -24,9 +24,9 @@ #include "../common/common.h" #include "asm_utils.h" -#include -#include -#include +#include +#include +#include #include //#define PFRAMES @@ -294,8 +294,8 @@ static int EmuScanEnd16(unsigned int num) len = 256; } - if (!sh && (rendstatus & PDRAW_ACC_SPRITES)) - mask=0x3f; // accurate sprites, upper bits are priority stuff + if (!sh && (rendstatus & PDRAW_SPR_LO_ON_HI)) + mask=0x3f; // messed sprites, upper bits are priority stuff #if 1 clut_line(pd, ps, pal, (mask<<16) | len); @@ -775,6 +775,11 @@ void emu_forcedFrame(int opts) currentConfig.EmuOpt = eo_old; } +void emu_platformDebugCat(char *str) +{ + // nothing +} + static void simpleWait(int thissec, int lim_time) { struct timeval tval;