Refactor context start/pause/step interface

This commit is contained in:
Scott Mansell authored and Stefanos Kornilios Mitsis Poiitidis committed 2020-03-06 07:56:01 +02:00
1 parent 545b542f9b
commit e050eace1d
8 files changed
+170 -53

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ int main([[maybe_unused]] int argc, [[maybe_unused]] char **argv) {
FEXCore::Context::AddGuestMemoryRegion(CTX, SHM);
FEXCore::Context::InitCore(CTX, &Test);
auto ShutdownReason = FEXCore::Context::RunLoop(CTX, true);
auto ShutdownReason = FEXCore::Context::RunUntilExit(CTX);
LogMan::Msg::D("Reason we left VM: %d", ShutdownReason);
FEXCore::Context::DestroyContext(CTX);