abse/gameboy-advance
A tscircuit package created by abse.
- Version
- 0.0.45
- License
- unset
- Stars
- 0
firmware/game-console/dirty_regions.h
#pragma once
#include <stdbool.h>
#include <stdint.h>
#define MAX_DIRTY_REGIONS 250
struct dirty_region {
uint16_t x0, y0, x1, y1;
};
unsigned find_dirty_regions(const uint8_t *before, const uint8_t *after, bool force,
struct dirty_region *regions);