MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / cubo_function

Function cubo_function

src/arcadia.cpp:2246–2267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2244static uae_u8 dip_delay[16];
2245
2246void cubo_function(int v)
2247{
2248 int c = -1;
2249 switch (v)
2250 {
2251 case 0:
2252 c = 7;
2253 break;
2254 case 1:
2255 c = 15;
2256 break;
2257 case 2:
2258 c = 0;
2259 break;
2260 case 3:
2261 c = 8;
2262 break;
2263 }
2264 if (c < 0 || dip_delay[c])
2265 return;
2266 dip_delay[c] = 5;
2267}
2268
2269static void cubo_vsync(void)
2270{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected