Adding some comments.

This commit is contained in:
Ben Vanik
2015-12-02 17:37:48 -08:00
parent 66cab7b76e
commit 249b952de9
6 changed files with 178 additions and 14 deletions

View File

@@ -95,9 +95,8 @@ X_STATUS Emulator::Setup(
// Create memory system first, as it is required for other systems.
memory_ = std::make_unique<Memory>();
result = memory_->Initialize();
if (result) {
return result;
if (!memory_->Initialize()) {
return false;
}
// Shared export resolver used to attach and query for HLE exports.