mirror of
https://github.com/JetSetIlly/Gopher2600.git
synced 2025-04-02 11:02:17 -04:00
sharing of preferences between emulation instances is safe due to the nature of the underlying prefs package. however for performance purposes the TIA emulation requires plain variables rather than the goroutine-safe prefs values. this caused race-errors when two emulation instances were running side by side and when the TIA revision information was changed to remedy this, the instance package now makes a copy of the live revision preference values. the TIA emulation accesses revision information through the LiveRevisionPreferences type rather than the RevisionPreferences type directly |
||
---|---|---|
.. | ||
audio | ||
delay | ||
hmove | ||
phaseclock | ||
polycounter | ||
revision | ||
video | ||
doc.go | ||
tia.go |