Skip to content

Commit

Permalink
Change default configuration to the optimal settings for Touhou
Browse files Browse the repository at this point in the history
* CPU clock multiplier: 20
* Sampling rate: 44 KHz
* Buffer: 100ms
* Enable save state support
* Change DIP switch settings to work with PoDD (via http://www.shrinemaiden.org/forum/index.php?topic=11117.0)
* Display frame rate and current CPU clock
* Disable F12 mapping (really, I panic every time when I accidentally F12 and my mouse cursor is suddenly gone)
* Set MIDI settings to MIDI mapper output and GM module
  • Loading branch information
nmlgc committed Jan 19, 2013
1 parent 0fda7dd commit a40ad5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions pccore.c
Expand Up @@ -55,20 +55,20 @@ const OEMCHAR np2version[] = OEMTEXT(NP2VER_CORE);
#if defined(_WIN32_WCE)
#define PCBASEMULTIPLE 2
#else
#define PCBASEMULTIPLE 4
#define PCBASEMULTIPLE 20
#endif


NP2CFG np2cfg = {
0, 1, 0, 32, 0, 0, 0x40,
0, 0, 0, 0,
{0x3e, 0x73, 0x7b}, 0,
{0x3e, 0xf3, 0x7b}, 0,
0, 0, {1, 1, 6, 1, 8, 1},

OEMTEXT("VX"), PCBASECLOCK25, PCBASEMULTIPLE,
{0x48, 0x05, 0x04, 0x00, 0x01, 0x00, 0x00, 0x6e},
1, 1, 2, 1, 0x000000, 0xffffff,
22050, 500, 4, 0,
44100, 100, 4, 0,
{0, 0, 0}, 0xd1, 0x7f, 0xd1, 0, 0, 1,
3, {0x0c, 0x0c, 0x08, 0x06, 0x03, 0x0c}, 64, 64, 64, 64, 64,
1, 0x82,
Expand Down
6 changes: 3 additions & 3 deletions win9x/np2.cpp
Expand Up @@ -79,18 +79,18 @@ static TCHAR szClassName[] = _T("NP2-MainWindow");
PROJECTNAME PROJECTSUBNAME,
OEMTEXT("NP2"),
CW_USEDEFAULT, CW_USEDEFAULT, 1, 1, 0, 0, 0, 1, 0, 0,
0, 0, KEY_UNKNOWN, 0,
0, 3, KEY_UNKNOWN, 5,
0, 0, 0, {1, 2, 2, 1},
{5, 0, 0x3e, 19200,
OEMTEXT(""), OEMTEXT(""), OEMTEXT(""), OEMTEXT("")},
OEMTEXT("MIDI MAPPER"), OEMTEXT(""), OEMTEXT("GM"), OEMTEXT("")},
{0, 0, 0x3e, 19200,
OEMTEXT(""), OEMTEXT(""), OEMTEXT(""), OEMTEXT("")},
{0, 0, 0x3e, 19200,
OEMTEXT(""), OEMTEXT(""), OEMTEXT(""), OEMTEXT("")},
{0, 0, 0x3e, 19200,
OEMTEXT(""), OEMTEXT(""), OEMTEXT(""), OEMTEXT("")},
0xffffff, 0xffbf6a, 0, 0,
0, 1, 0, 9801, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
0, 1, 0, 9801, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};

OEMCHAR fddfolder[MAX_PATH];
OEMCHAR hddfolder[MAX_PATH];
Expand Down

0 comments on commit a40ad5c

Please sign in to comment.