nestopia/source/fltkui/cheats.h
2021-03-21 16:35:18 -04:00

23 lines
530 B
C++

#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