Skip to content

Commit de9f3e4

Browse files
committed
ci update
1 parent 6819f33 commit de9f3e4

File tree

2 files changed

+12
-9
lines changed
  • .github/workflows
  • crates/libmwemu/src/winapi/winapi64

2 files changed

+12
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626
with:
2727
components: rustfmt, clippy
2828

29-
- name: Cache dependencies
30-
uses: actions/cache@v3
31-
with:
32-
path: |
33-
~/.cargo/registry
34-
~/.cargo/git
35-
target
36-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
29+
# - name: Cache dependencies
30+
# uses: actions/cache@v3
31+
# with:
32+
# path: |
33+
# ~/.cargo/registry
34+
# ~/.cargo/git
35+
# target
36+
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
3737

3838
# TODO: fail pipeline if formatting fails
3939
#- name: Check formatting

crates/libmwemu/src/winapi/winapi64/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,13 @@ pub fn gateway(addr: u64, name: &str, emu: &mut emu::Emu) {
4444
"gdi32.text" => gdi32::gateway(addr, emu),
4545
"ole32.text" => ole32::gateway(addr, emu),
4646
"msvcrt.text" => msvcrt::gateway(addr, emu),
47+
"api-ms-win-crt-runtime-l1-1-0.rdata" => wincrt::gateway(addr, emu),
48+
"api-ms-win-crt-stdio-l1-1-0.rdata" => wincrt::gateway(addr, emu),
49+
"api-ms-win-crt-heap-l1-1-0.rdata" => wincrt::gateway(addr, emu),
4750
"api-ms-win-crt-runtime-l1-1-0.text" => wincrt::gateway(addr, emu),
4851
"not_loaded" => {
4952
// TODO: banzai check?
50-
emu.pe32.as_ref().unwrap().import_addr_to_name(addr as u32)
53+
emu.pe64.as_ref().unwrap().import_addr_to_name(addr)
5154
}
5255
_ => panic!("/!\\ winapi64 gateway: trying to execute on {} at 0x{:x}", name, addr),
5356
};

0 commit comments

Comments
 (0)