aboutsummaryrefslogtreecommitdiff
path: root/source/display.h
blob: 213955be71b4fdd2afa4c0c4c0d4cf187a3a3b2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "../copyright"

#ifndef _DISPLAY_H_
#define _DISPLAY_H_

/* Routines the port specific code has to implement */
uint32_t S9xReadJoypad(int32_t port);
bool S9xReadMousePosition(int32_t which1_0_to_1, int32_t* x, int32_t* y, uint32_t* buttons);
bool S9xReadSuperScopePosition(int32_t* x, int32_t* y, uint32_t* buttons);

void S9xInitDisplay(void);
void S9xDeinitDisplay(void);
void S9xToggleSoundChannel(int32_t channel);
void S9xNextController(void);

const char* S9xGetFilename(const char* extension);
#endif