all repos — mgba @ 67905d281bfecbb06f51f2ca5ac939df378734a5

mGBA Game Boy Advance Emulator

src/gba/bios.h (view raw)

 1/* Copyright (c) 2013-2015 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#ifndef GBA_BIOS_H
 7#define GBA_BIOS_H
 8
 9#include "util/common.h"
10
11#include "arm/arm.h"
12#include "core/log.h"
13
14mLOG_DECLARE_CATEGORY(GBA_BIOS);
15
16void GBASwi16(struct ARMCore* cpu, int immediate);
17void GBASwi32(struct ARMCore* cpu, int immediate);
18
19uint32_t GBAChecksum(uint32_t* memory, size_t size);
20extern const uint32_t GBA_BIOS_CHECKSUM;
21extern const uint32_t GBA_DS_BIOS_CHECKSUM;
22
23#endif