8000 gateway logs · sha0coder/libscemu@236e76e · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Commit 236e76e

Browse files
committed
gateway logs
1 parent 1c06b4d commit 236e76e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/emu/winapi32.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ mod wincrt;
1919
use crate::emu;
2020

2121
pub fn gateway(addr: u32, name: String, emu: &mut emu::Emu) {
22+
log::info!("winapi32::gateway called with addr: 0x{:x}, name: {}", addr, name);
23+
2224
emu.regs.sanitize32();
2325
let unimplemented_api = match name.as_str() {
2426
"kernel32.text" => kernel32::gateway(addr, emu),

src/emu/winapi64.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ mod kernelbase;
1414
use crate::emu;
1515

1616
pub fn gateway(addr: u64, name: String, emu: &mut emu::Emu) {
17+
log::info!("winapi64::gateway called with addr: 0x{:x}, name: {}", addr, name);
18+
1719
let unimplemented_api = match name.as_str() {
1820
"kernel32.text" => kernel32::gateway(addr, emu),
1921
"kernel32.rdata" => kernel32::gateway(addr, emu),

0 commit comments

Comments
 (0)
0