File: cheats.h

package info (click to toggle)
nestopia 1.49-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 9,424 kB
  • sloc: cpp: 86,935; xml: 26,956; makefile: 1,515; ansic: 772; sh: 19
file content (22 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _CHEATS_H_
#define _CHEATS_H_

#include "core/api/NstApiEmulator.hpp"
#include "core/api/NstApiCheats.hpp"
#include "core/api/NstApiDipSwitches.hpp"
#include "core/NstStream.hpp"
#include "core/NstXml.hpp"

using namespace Nes::Api;

typedef Nes::Core::Xml Xml;

void nst_cheats_init(const char *cheatpath);
void nst_cheats_code_gg_add(const wchar_t *data);
void nst_cheats_code_par_add(const wchar_t *data);
void nst_cheats_code_raw_add(Xml::Node node);

// DIP Switches
void nst_dip_handle(const char *dippath);

#endif