all repos — mgba @ ceea51b55ea2f112c49b4ad22e6d70b08ad430e7

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 "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