mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-25 13:33:40 +01:00

For thread safety reasons, the currently inserted volume must only be accessed by the DVD thread (or by the CPU thread if it calls DVDThread::WaitUntilIdle() first). After this commit, only DVDThread.cpp can access the volume, which prevents code in other files from accessing the volume in a non-threadsafe way.