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

Function dongle_potgo

src/dongle.cpp:278–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278void dongle_potgo (uae_u16 val)
279{
280 if (!currprefs.dongle)
281 return;
282 switch (currprefs.dongle)
283 {
284 case ITALY90:
285 case LOGISTIX:
286 case DAMESGRANDMAITRE:
287 dflag = (uaerand () & 7) - 3;
288 break;
289 case STRIKERMANAGER:
290 case MPSOCCERMANAGER:
291 case FOOTBALLDIRECTOR2:
292 if ((val & 0x0500) == 0x0500) {
293 dflag++;
294 } else {
295 if (dflag > 0) {
296 dflag--;
297 }
298 }
299 break;
300 }
301
302}
303
304uae_u16 dongle_potgor (uae_u16 val)
305{

Callers 1

POTGOFunction · 0.85

Calls 1

uaerandFunction · 0.70

Tested by

no test coverage detected