all repos — mgba @ 0723646354a46d5ad6ef33089af288684f350b41

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)