Skip to content

Commit

Permalink
Add GG stereo mask to tech info (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-zhao committed May 8, 2023
1 parent 7d1ffc1 commit 68c518a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions meka/srcs/app_techinfo.cpp
Expand Up @@ -185,10 +185,11 @@ void TechInfo_Update(void)
// - PSG
{
t_psg *psg = &PSG;
sprintf(line, " [PSG] Tone 0: %03X,%01X Tone 1: %03X,%01X Tone 2: %03X,%01X Noise:%02X,%01X (%s)",
sprintf(line, " [PSG] Tone 0: %03X,%01X Tone 1: %03X,%01X Tone 2: %03X,%01X Noise:%02X,%01X (%s) Stereo:%02X",
psg->Registers[0], psg->Registers[1], psg->Registers[2], psg->Registers[3],
psg->Registers[4], psg->Registers[5], psg->Registers[6], psg->Registers[7],
((psg->Registers[6] & 0x04) ? "White" : "Periodic"));
((psg->Registers[6] & 0x04) ? "White" : "Periodic"),
psg->Stereo);
TechInfo_SetLine(app, line, line_idx++);
}

Expand Down
2 changes: 1 addition & 1 deletion meka/srcs/app_techinfo.h
Expand Up @@ -8,7 +8,7 @@
//-----------------------------------------------------------------------------

#define TECHINFO_LINES (10)
#define TECHINFO_COLUMNS (80)
#define TECHINFO_COLUMNS (90)

//-----------------------------------------------------------------------------
// Data
Expand Down

0 comments on commit 68c518a

Please sign in to comment.