all repos — mgba @ fa884d071ecaa3e05ff20b45a67bf9500dd3d6b6

mGBA Game Boy Advance Emulator

include/mgba/internal/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 <mgba-util/common.h>
10
11CXX_GUARD_START
12
13#include <mgba/core/log.h>
14
15mLOG_DECLARE_CATEGORY(GBA_BIOS);
16
17struct ARMCore;
18void GBASwi16(struct ARMCore* cpu, int immediate);
19void GBASwi32(struct ARMCore* cpu, int immediate);
20
21uint32_t GBAChecksum(uint32_t* memory, size_t size);
22extern const uint32_t GBA_BIOS_CHECKSUM;
23extern const uint32_t GBA_DS_BIOS_CHECKSUM;
24
25CXX_GUARD_END
26
27#endif