mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 00:01:34 +11:00
use portable atomic from agb
This commit is contained in:
parent
c632eb4ea3
commit
a0895635ab
|
@ -6,7 +6,6 @@ edition = "2021"
|
|||
|
||||
[dependencies]
|
||||
agb = { version = "0.19.1", path = "../../agb" }
|
||||
portable-atomic = { version = "1.6.0", default-features = false }
|
||||
|
||||
[profile.dev]
|
||||
opt-level = 3
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use agb::external::portable_atomic::{AtomicU32, Ordering};
|
||||
use agb::save::{Error, SaveManager};
|
||||
use agb::Gba;
|
||||
use portable_atomic::{AtomicU32, Ordering};
|
||||
|
||||
static HIGH_SCORE: AtomicU32 = AtomicU32::new(0);
|
||||
|
||||
|
|
|
@ -10,7 +10,6 @@ edition = "2021"
|
|||
agb = { version = "0.19.1", path = "../../agb" }
|
||||
agb_tracker = { version = "0.19.1", path = "../../tracker/agb-tracker", default-features = false, features = ["xm"] }
|
||||
slotmap = { version = "1", default-features = false }
|
||||
portable-atomic = { version = "1.6.0", default-features = false }
|
||||
|
||||
[profile.dev]
|
||||
opt-level = 3
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
use agb::external::portable_atomic::{AtomicU32, Ordering};
|
||||
use agb::{
|
||||
save::{Error, SaveManager},
|
||||
Gba,
|
||||
};
|
||||
use portable_atomic::{AtomicU32, Ordering};
|
||||
|
||||
static MAXIMUM_LEVEL: AtomicU32 = AtomicU32::new(0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue