all repos — mgba @ 511261b0ffbac7af94d5c33c17f255b74003da5c

mGBA Game Boy Advance Emulator

src/platform/python/mgba/gba.py (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/.
 6from _pylib import ffi, lib
 7
 8class GBA:
 9    def __init__(self, native):
10        self._native = ffi.cast("struct GBA*", native)