all repos — mgba @ 2006f27d6da1fba91f4ec2e34a9fa736c3af07f6

mGBA Game Boy Advance Emulator

src/ds/bios.h (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#ifndef DS_BIOS_H
 7#define DS_BIOS_H
 8
 9#include "util/common.h"
10
11#include "core/log.h"
12
13mLOG_DECLARE_CATEGORY(DS_BIOS);
14
15struct ARMCore;
16void DS7Swi16(struct ARMCore* cpu, int immediate);
17void DS7Swi32(struct ARMCore* cpu, int immediate);
18void DS9Swi16(struct ARMCore* cpu, int immediate);
19void DS9Swi32(struct ARMCore* cpu, int immediate);
20
21extern const uint32_t DS7_BIOS_CHECKSUM;
22extern const uint32_t DS9_BIOS_CHECKSUM;
23
24#endif