MCPcopy Create free account
hub / github.com/Stewmath/GameYob / SharedData

Class SharedData

include/common.h:4–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#pragma once
3
4typedef struct SharedData {
5 int fifosSent, fifosReceived;
6
7 // Scaling stuff
8 u8 scalingOn;
9 u8 scaleTransferReady;
10
11 // Sound stuff
12 bool hyperSound;
13 int cycles;
14 int dsCycles;
15 bool frameFlip_Gameboy;
16 bool frameFlip_DS;
17
18 u8 volControl; // NR50
19 u8 chanOutput; // NR51
20 u8 chanRealVol[4];
21 int chanRealFreq[4];
22 u8 chanPan[4];
23 int chanDuty[2];
24 u8 chanOn;
25 bool chanEnabled[4];
26 bool lfsr7Bit;
27 u8* sampleData;
28
29 bool enableSleepMode;
30
31 u32 message;
32} SharedData;
33
34enum {
35 GBSND_UPDATE_COMMAND=0,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected