uint32_t *hcnt; /* hsync count */
struct {
uint32_t addr;
- uint32_t words;
+ uint32_t cycles;
uint32_t frame;
uint32_t hcnt;
} last_list;
} state;
struct {
- int32_t set:3; /* -1 auto, 0 off, 1 fixed */
+ int32_t set:3; /* -1 auto, 0 off, 1-3 fixed */
+ int32_t cnt:3; /* amount skipped in a row */
uint32_t active:1;
uint32_t allow:1;
uint32_t frame_ready:1;
extern struct psx_gpu gpu;
extern const unsigned char cmd_lengths[256];
+void flush_cmd_buffer(void);
void do_cmd_list(uint32_t *list, int count);