mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
f6b63473a0
## Link to GitHub Issue, if one exists #345 ## Description of change On launch of spice.exe / spice64.exe, call `regsvr32` on known codecs in the `com` directory. Add an option to skip this (`-ddrnocodec`) as a chicken bit. ## Testing Tested 32 and 64 bit DDR.
27 lines
584 B
C++
27 lines
584 B
C++
#pragma once
|
|
|
|
#include "games/game.h"
|
|
#include <cstdint>
|
|
|
|
namespace games::ddr {
|
|
|
|
// settings
|
|
extern bool SDMODE;
|
|
extern bool NO_CODEC_REGISTRATION;
|
|
|
|
// Buffers to store RGB data for tape LEDs on gold cabinets
|
|
const size_t TAPELED_DEVICE_COUNT = 11;
|
|
extern uint8_t DDR_TAPELEDS[TAPELED_DEVICE_COUNT][50][3];
|
|
|
|
class DDRGame : public games::Game {
|
|
public:
|
|
DDRGame();
|
|
virtual void pre_attach() override;
|
|
virtual void attach() override;
|
|
virtual void detach() override;
|
|
|
|
private:
|
|
void register_codecs();
|
|
};
|
|
}
|