summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/slot.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2023-04-06 04:49:10 +1000
committer Vas Crabb <vas@vastheman.com>2023-04-06 04:49:10 +1000
commit0f785dee8faaef359e00becdc430082cc3dfff65 (patch)
tree5316e1c74daa79bbf1b7c02064b8c82b5b665f77 /src/devices/bus/neogeo/slot.cpp
parent9922c964c93e486824eeac647713502fa931bbe9 (diff)
Fixed various bugs:
bus/nubus/nubus_image.cpp: Fixed failure to allocate memory for the image (regressed in b8c338858a101d14308c64c87b0f714db4f05326). bus/nes/karastudio.cpp, bus/nes/sunsoft_dcs.cpp: Fixed stack smash when loading loose software. Addressed some Lua engine fallout from running things in coroutines: * Don't crash accessing dead Lua thread state from callbacks. * Allow returning values via yielding functions. * Don't run address space tap and layout view callbacks in coroutines to save overhead. * Better logging of errors from callbacks.
Diffstat (limited to 'src/devices/bus/neogeo/slot.cpp')
-rw-r--r--src/devices/bus/neogeo/slot.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/devices/bus/neogeo/slot.cpp b/src/devices/bus/neogeo/slot.cpp
index 573584f5a08..aff8ea99288 100644
--- a/src/devices/bus/neogeo/slot.cpp
+++ b/src/devices/bus/neogeo/slot.cpp
@@ -303,8 +303,6 @@ std::error_condition neogeo_cart_slot_device::call_load()
// SPEED UP WORKAROUND: to speed up sprite drawing routine, let us store the sprite data in
// a different format (we then always access such alt format for drawing)
m_cart->optimize_sprites(m_cart->get_sprites_base(), m_cart->get_sprites_size());
-
- return std::error_condition();
}
}