cococart.cpp: Fix copy-and-paste mistake

This commit is contained in:
AJR 2021-10-27 16:43:15 -04:00
parent 6c9d8a51ab
commit 6ccae2148d

View File

@ -609,7 +609,7 @@ std::string cococart_slot_device::get_default_card_software(get_default_card_sof
// RPK file
rpk_file::ptr file;
util::core_file::ptr proxy;
std::error_condition err = util::core_file::open_proxy(image_core_file(), proxy);
std::error_condition err = util::core_file::open_proxy(*hook.image_file(), proxy);
if (!err)
err = read_coco_rpk(std::move(proxy), file);
if (!err)