Rename ProcureCurrentEmulationCourseInformation to GetEmulationIdentifier

This is much easier to understand in my opinion.
The old name just made me scratch my head whenever I read it.
This commit is contained in:
Megamouse 2023-06-05 23:54:53 +02:00
parent fcd6be71b0
commit 3f5bc3464d
3 changed files with 6 additions and 5 deletions

View file

@ -805,9 +805,9 @@ std::function<cpu_thread*()> debugger_frame::make_check_cpu(cpu_thread* cpu, boo
shared.reset();
}
return [cpu, type, shared = std::move(shared), emu_course = Emu.ProcureCurrentEmulationCourseInformation()]() -> cpu_thread*
return [cpu, type, shared = std::move(shared), emulation_id = Emu.GetEmulationIdentifier()]() -> cpu_thread*
{
if (emu_course != Emu.ProcureCurrentEmulationCourseInformation())
if (emulation_id != Emu.GetEmulationIdentifier())
{
// Invalidate all data after Emu.Kill()
return nullptr;