mirror of
https://github.com/DerKoun/bsnes-hd.git
synced 2025-04-02 10:52:49 -04:00
60 lines
1.7 KiB
C++
60 lines
1.7 KiB
C++
#pragma once
|
|
|
|
#include <libco/libco.h>
|
|
|
|
#include <nall/platform.hpp>
|
|
#include <nall/adaptive-array.hpp>
|
|
#include <nall/any.hpp>
|
|
#include <nall/chrono.hpp>
|
|
#ifndef PLATFORM_HORIZON
|
|
#include <nall/dl.hpp>
|
|
#endif // PLATFORM_HORIZON
|
|
#include <nall/endian.hpp>
|
|
#include <nall/image.hpp>
|
|
#include <nall/literals.hpp>
|
|
#include <nall/random.hpp>
|
|
#include <nall/serializer.hpp>
|
|
#include <nall/shared-pointer.hpp>
|
|
#include <nall/string.hpp>
|
|
#include <nall/traits.hpp>
|
|
#include <nall/unique-pointer.hpp>
|
|
#include <nall/vector.hpp>
|
|
#include <nall/vfs.hpp>
|
|
#include <nall/hash/crc32.hpp>
|
|
#include <nall/hash/sha256.hpp>
|
|
using namespace nall;
|
|
|
|
#include <emulator/types.hpp>
|
|
#include <emulator/memory/readable.hpp>
|
|
#include <emulator/memory/writable.hpp>
|
|
#include <emulator/audio/audio.hpp>
|
|
|
|
namespace Emulator {
|
|
static const string Name = "bsnes-hd beta";
|
|
static const string Version = "10.6";//bsnes/target-bsnes/presentation/presentation.cpp:create:about:setVersion
|
|
static const string Author = "DerKoun(Near)";
|
|
static const string License = "GPLv3";
|
|
static const string Website = "https://github.com/DerKoun/bsnes-hd";
|
|
|
|
//incremented only when serialization format changes
|
|
static const string SerializerVersion = "114.2";
|
|
|
|
namespace Constants {
|
|
namespace Colorburst {
|
|
static constexpr double NTSC = 315.0 / 88.0 * 1'000'000.0;
|
|
static constexpr double PAL = 283.75 * 15'625.0 + 25.0;
|
|
}
|
|
}
|
|
|
|
//nall/vfs shorthand constants for open(), load()
|
|
namespace File {
|
|
static const auto Read = vfs::file::mode::read;
|
|
static const auto Write = vfs::file::mode::write;
|
|
static const auto Optional = false;
|
|
static const auto Required = true;
|
|
};
|
|
}
|
|
|
|
#include "platform.hpp"
|
|
#include "interface.hpp"
|
|
#include "game.hpp"
|