diff --git a/.vscode/settings.json b/.vscode/settings.json index 7726307a..a3fc0b2f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -54,6 +54,7 @@ "mgba", "normalise", "normalised", + "nostack", "Optimisation", "optimise", "optimised", diff --git a/agb/src/sync/locks.rs b/agb/src/sync/locks.rs index ce93465d..a1a0cf3f 100644 --- a/agb/src/sync/locks.rs +++ b/agb/src/sync/locks.rs @@ -26,7 +26,7 @@ impl RawMutex { /// Locks the mutex and returns whether a lock was successfully acquired. fn raw_lock(&self) -> bool { if self.0.replace(true) { - // value was already true, opps. + // value was already true, oops. false } else { // prevent any weird reordering, and continue