PabloMK7 / citra

A Nintendo 3DS Emulator
GNU General Public License v2.0
3.74k stars 636 forks source link

pica: Move mutex lock below tracing check on register write #210

Closed PabloMK7 closed 4 months ago

PabloMK7 commented 4 months ago

A mutex was being unnecessary locked on every GPU register write, even if the debug tracing feature was disabled. Fixed by moving the lock below the tracing enabled check.