File: cheats.h

package info (click to toggle)
nestopia 1.47-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 9,588 kB
  • ctags: 16,847
  • sloc: cpp: 84,994; xml: 26,919; ansic: 1,490; makefile: 606; sh: 20
file content (22 lines) | stat: -rw-r--r-- 470 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 cheats_init();
void cheats_code_gg_add(const wchar_t *data);
void cheats_code_par_add(const wchar_t *data);
void cheats_code_raw_add(Xml::Node node);

// DIP Switches
void dip_handle();

#endif