all repos — mgba @ d9b645b2098cc4ccb5662d0705d3f3a3d37b7486

mGBA Game Boy Advance Emulator

src/core/lockstep.c (view raw)

 1/* Copyright (c) 2013-2016 Jeffrey Pfau
 2 *
 3 * This Source Code Form is subject to the terms of the Mozilla Public
 4 * License, v. 2.0. If a copy of the MPL was not distributed with this
 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 6#include <mgba/core/lockstep.h>
 7
 8void mLockstepInit(struct mLockstep* lockstep) {
 9	lockstep->attached = 0;
10	lockstep->transferActive = 0;
11#ifndef NDEBUG
12	lockstep->transferId = 0;
13#endif
14}
15
16// TODO: Migrate nodes