mirror of
https://github.com/italicsjenga/gba.git
synced 2024-12-23 19:01:30 +11:00
travisCI fix
This commit is contained in:
parent
d6a6301815
commit
01ac3ec09e
|
@ -2,7 +2,9 @@ language: rust
|
|||
sudo: false
|
||||
|
||||
cache:
|
||||
- cargo
|
||||
# Cache ONLY .cargo, not target/ like usual
|
||||
directories:
|
||||
- $HOME/.cargo
|
||||
|
||||
rust:
|
||||
- nightly
|
||||
|
@ -17,8 +19,6 @@ before_script:
|
|||
- cargo install-update -a
|
||||
|
||||
script:
|
||||
# Travis seems to cache for some dumb reason, but we don't want that at all.
|
||||
- rm -fr target
|
||||
# Obtain the devkitPro tools, using `target/` as a temp directory
|
||||
- mkdir -p target
|
||||
- cd target
|
||||
|
|
|
@ -59,25 +59,25 @@ newtype! {
|
|||
newtype! {
|
||||
/// A screenblock for use in Affine mode.
|
||||
#[derive(Clone, Copy)]
|
||||
AffineScreenblock_16x16, [AffineScreenblockEntry; 16*16], no frills
|
||||
AffineScreenblock16x16, [AffineScreenblockEntry; 16*16], no frills
|
||||
}
|
||||
|
||||
newtype! {
|
||||
/// A screenblock for use in Affine mode.
|
||||
#[derive(Clone, Copy)]
|
||||
AffineScreenblock_32x32, [AffineScreenblockEntry; 32*32], no frills
|
||||
AffineScreenblock32x32, [AffineScreenblockEntry; 32*32], no frills
|
||||
}
|
||||
|
||||
newtype! {
|
||||
/// A screenblock for use in Affine mode.
|
||||
#[derive(Clone, Copy)]
|
||||
AffineScreenblock_64x64, [AffineScreenblockEntry; 64*64], no frills
|
||||
AffineScreenblock64x64, [AffineScreenblockEntry; 64*64], no frills
|
||||
}
|
||||
|
||||
newtype! {
|
||||
/// A screenblock for use in Affine mode.
|
||||
#[derive(Clone, Copy)]
|
||||
AffineScreenblock_128x128, [AffineScreenblockEntry; 128*128], no frills
|
||||
AffineScreenblock128x128, [AffineScreenblockEntry; 128*128], no frills
|
||||
}
|
||||
|
||||
pub const VRAM_CHARBLOCKS: VolAddressBlock<Charblock4bpp> = unsafe { VolAddressBlock::new_unchecked(VolAddress::new_unchecked(VRAM_BASE_USIZE), 6) };
|
||||
|
|
Loading…
Reference in a new issue