Formatting all code. Too gnarly to rebase properly.

This commit is contained in:
Ben Vanik
2015-12-29 13:13:34 -08:00
parent 4e7dfa477b
commit 948aa2400d
16 changed files with 27 additions and 30 deletions

View File

@@ -403,7 +403,8 @@ bool Emulator::RestoreFromFile(const std::wstring& path) {
}
// Update the main thread.
auto threads = kernel_state_->object_table()->GetObjectsByType<kernel::XThread>();
auto threads =
kernel_state_->object_table()->GetObjectsByType<kernel::XThread>();
for (auto thread : threads) {
if (thread->main_thread()) {
main_thread_ = thread->thread();