// Stub sprite codegen. Used by ports that don't yet have a per-CPU
// emitter so the link still resolves. jlSpriteCompile always returns
// false (sprite stays interpreter-only); spriteCompiledDraw is
// unreachable because the dispatcher in src/core/sprite.c gates the
// call on sp->slot != NULL.

#include "joey/sprite.h"
#include "joey/surface.h"
#include "spriteInternal.h"


bool jlSpriteCompile(jlSpriteT *sp) {
    (void)sp;
    return false;
}


void spriteCompiledDraw(jlSurfaceT *dst, const jlSpriteT *sp, int16_t x, int16_t y, uint16_t routeOffset) {
    (void)dst;
    (void)sp;
    (void)x;
    (void)y;
    (void)routeOffset;
    // unreachable: jlSpriteDraw guards on sp->slot != NULL, which the
    // stub never sets. Body is here only to satisfy the linker.
}
