mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 06:53:01 +00:00
Merge branch 'master' of github.com:tildearrow/furnace
This commit is contained in:
commit
ac207cb050
7 changed files with 6 additions and 3 deletions
BIN
demos/misc/Dreamliner_FMTowns.fur
Normal file
BIN
demos/misc/Dreamliner_FMTowns.fur
Normal file
Binary file not shown.
BIN
demos/pce/Ma-Da-Ra.fur
Normal file
BIN
demos/pce/Ma-Da-Ra.fur
Normal file
Binary file not shown.
BIN
demos/snes/MM8_Frost_Man.fur
Normal file
BIN
demos/snes/MM8_Frost_Man.fur
Normal file
Binary file not shown.
|
@ -92,7 +92,6 @@ class DivPlatformK007232: public DivDispatch, public k007232_intf {
|
||||||
void tick(bool sysTick=true);
|
void tick(bool sysTick=true);
|
||||||
void muteChannel(int ch, bool mute);
|
void muteChannel(int ch, bool mute);
|
||||||
bool isStereo();
|
bool isStereo();
|
||||||
void setChipModel(int type);
|
|
||||||
void notifyInsChange(int ins);
|
void notifyInsChange(int ins);
|
||||||
void notifyWaveChange(int wave);
|
void notifyWaveChange(int wave);
|
||||||
void notifyInsDeletion(void* ins);
|
void notifyInsDeletion(void* ins);
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
# modified version
|
# modified version
|
||||||
|
|
||||||
this is a modified version of ymfm with a small bug fix.
|
this is a modified version which contains many fixes.
|
||||||
|
|
||||||
## Supported environments
|
## Supported environments
|
||||||
|
|
||||||
|
|
|
@ -174,7 +174,7 @@ public:
|
||||||
// system-wide registers
|
// system-wide registers
|
||||||
uint32_t test() const { return byte(0x01, 0, 8); }
|
uint32_t test() const { return byte(0x01, 0, 8); }
|
||||||
uint32_t lfo_reset() const { return byte(0x01, 1, 1); }
|
uint32_t lfo_reset() const { return byte(0x01, 1, 1); }
|
||||||
uint32_t noise_frequency() const { return byte(0x0f, 0, 5) ^ 0x1f; }
|
uint32_t noise_frequency() const { return byte(0x0f, 0, 5); }
|
||||||
uint32_t noise_enable() const { return byte(0x0f, 7, 1); }
|
uint32_t noise_enable() const { return byte(0x0f, 7, 1); }
|
||||||
uint32_t timer_a_value() const { return word(0x10, 0, 8, 0x11, 0, 2); }
|
uint32_t timer_a_value() const { return word(0x10, 0, 8, 0x11, 0, 2); }
|
||||||
uint32_t timer_b_value() const { return byte(0x12, 0, 8); }
|
uint32_t timer_b_value() const { return byte(0x12, 0, 8); }
|
||||||
|
|
|
@ -22,6 +22,10 @@
|
||||||
typedef HRESULT (*SPDA)(int);
|
typedef HRESULT (*SPDA)(int);
|
||||||
|
|
||||||
int WINAPI WinMain(HINSTANCE inst, HINSTANCE prevInst, PSTR args, int state) {
|
int WINAPI WinMain(HINSTANCE inst, HINSTANCE prevInst, PSTR args, int state) {
|
||||||
|
if (AttachConsole(ATTACH_PARENT_PROCESS)==0) {
|
||||||
|
if (GetLastError()==ERROR_ACCESS_DENIED) FreeConsole();
|
||||||
|
}
|
||||||
|
|
||||||
int argc=0;
|
int argc=0;
|
||||||
wchar_t** argw=CommandLineToArgvW(GetCommandLineW(),&argc);
|
wchar_t** argw=CommandLineToArgvW(GetCommandLineW(),&argc);
|
||||||
char** argv=new char*[argc+1];
|
char** argv=new char*[argc+1];
|
||||||
|
|
Loading…
Reference in a new issue