Move fox32.rom into the src folder
This commit is contained in:
parent
e630e15661
commit
38f81ce4e3
3
.github/workflows/fox32-unstable-linux.yml
vendored
3
.github/workflows/fox32-unstable-linux.yml
vendored
|
@ -20,6 +20,9 @@ jobs:
|
||||||
workflow: fox32rom-unstable.yml
|
workflow: fox32rom-unstable.yml
|
||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
|
|
||||||
|
- name: Move fox32.rom into the src folder
|
||||||
|
run: cp fox32.rom/fox32.rom src/fox32.rom
|
||||||
|
|
||||||
- name: Install Rust toolchain
|
- name: Install Rust toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
|
|
4
.github/workflows/fox32-unstable-windows.yml
vendored
4
.github/workflows/fox32-unstable-windows.yml
vendored
|
@ -20,6 +20,10 @@ jobs:
|
||||||
workflow: fox32rom-unstable.yml
|
workflow: fox32rom-unstable.yml
|
||||||
workflow_conclusion: success
|
workflow_conclusion: success
|
||||||
|
|
||||||
|
- name: Move fox32.rom into the src folder
|
||||||
|
run: cp fox32.rom/fox32.rom src/fox32.rom
|
||||||
|
shell: powershell
|
||||||
|
|
||||||
- name: Install Rust toolchain
|
- name: Install Rust toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -55,7 +55,7 @@ fn read_rom() -> Vec<u8> {
|
||||||
read("fox32.rom").unwrap_or_else(|_| {
|
read("fox32.rom").unwrap_or_else(|_| {
|
||||||
read("../fox32rom/fox32.rom").unwrap_or_else(|_| {
|
read("../fox32rom/fox32.rom").unwrap_or_else(|_| {
|
||||||
println!("fox32.rom file not found, using embedded ROM");
|
println!("fox32.rom file not found, using embedded ROM");
|
||||||
include_bytes!("../fox32.rom/fox32.rom").to_vec()
|
include_bytes!("fox32.rom").to_vec()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user