diff --git a/.gitignore b/.gitignore index 4c3ecc507..53bfc9878 100644 --- a/.gitignore +++ b/.gitignore @@ -48,6 +48,9 @@ reicast-ios.xccheckout shell/linux/.map shell/linux/nosym-reicast.elf shell/linux/reicast.elf +shell/linux/reicast_naomi.elf +shell/linux/reicast_awave.elf +shell/linux/dispframe.elf # Visual Studio generated diff --git a/core/hw/maple/maple_if.cpp b/core/hw/maple/maple_if.cpp index 416386bea..f66d56259 100644 --- a/core/hw/maple/maple_if.cpp +++ b/core/hw/maple/maple_if.cpp @@ -71,7 +71,9 @@ void maple_vblank() maple_ddt_pending_reset=false; } } +#if DC_PLATFORM == DC_PLATFORM_DREAMCAST maple_handle_reconnect(); +#endif } void maple_SB_MSHTCL_Write(u32 addr, u32 data) { @@ -277,6 +279,7 @@ void maple_Term() } +#if DC_PLATFORM == DC_PLATFORM_DREAMCAST static u64 reconnect_time; void maple_ReconnectDevices() @@ -293,3 +296,4 @@ static void maple_handle_reconnect() mcfg_CreateDevices(); } } +#endif