15 lines
470 B
C++
15 lines
470 B
C++
// SPDX-License-Identifier: GPL-3.0-only
|
|
#pragma once
|
|
#include "formats/le.hpp"
|
|
#include "game/schedule.hpp"
|
|
|
|
namespace bmh::test {
|
|
// Standalone engine tests explicitly install the supplied edition's scheduling
|
|
// content. CareerSession performs the same installation for normal app callers.
|
|
inline LeImage load_executable(const std::filesystem::path& path) {
|
|
auto executable = bmh::load_le(path);
|
|
install_fixture_tables(executable);
|
|
return executable;
|
|
}
|
|
}
|