skmp / reicast-emulator

Reicast was a multiplatform Sega Dreamcast emulator
https://reicast.emudev.org
Other
1.11k stars 346 forks source link

Non-local variable 'dma_count_out' will use pointer to local variable 'out_len' #1938

Closed UnrealKaraulov closed 3 years ago

UnrealKaraulov commented 3 years ago

u32 out_len = 0; dma_count_out = &out_len;

https://github.com/reicast/reicast-emulator/blob/0bd6ea371e0293f3c8e02b5ac1344c89b1e60bee/libswirl/hw/maple/maple_devs.cpp#L2083