24 lines
558 B
C
24 lines
558 B
C
/**
|
|
* Copyright (c) 2026 Dominic Masters
|
|
*
|
|
* This software is released under the MIT License.
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
#pragma once
|
|
#include "error/error.h"
|
|
#include "display/displaystate.h"
|
|
#include "display/render/ropbuffer.h"
|
|
|
|
#define SATURN_SCREEN_W DUSK_DISPLAY_WIDTH
|
|
#define SATURN_SCREEN_H DUSK_DISPLAY_HEIGHT
|
|
|
|
typedef struct {
|
|
int_t whichBuffer;
|
|
} displaysaturn_t;
|
|
|
|
errorret_t displaySaturnInit(void);
|
|
errorret_t displaySaturnFlush(ropbuffer_t *buf);
|
|
errorret_t displaySaturnSwap(void);
|
|
void displaySaturnDispose(void);
|