Skip to content

Commit 8afc5eb

Browse files
committed
Merge branch 'master' of github.com:GadgetFactory/DesignLab_Examples
2 parents 870a283 + 5bf3d0b commit 8afc5eb

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Video_Audio_Player/Video_Audio_Player.ino

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ void setup()
189189
//gfx.begin( &modeline_640x480_60 );
190190
createMenus();
191191
//menuInit(128,128);
192-
menuInit(300,300);
192+
menuInit(256,256);
193193
menusSetRenderer(&gfx);
194194

195195

@@ -201,15 +201,15 @@ void setup()
201201
sidplayer.setup(8);
202202

203203
///Give some volume
204-
ym2149.V1.setVolume(11);
205-
ym2149.V2.setVolume(11);
206-
ym2149.V3.setVolume(11);
204+
ym2149.V1.setVolume(15);
205+
ym2149.V2.setVolume(15);
206+
ym2149.V3.setVolume(15);
207207
//sid.setVolume(15);
208208

209209
sidplayer.loadFile("track1.sid");
210210
sidplayer.play(true);
211211

212-
ymplayer.loadFile("track1.ymd");
212+
ymplayer.loadFile("track2.ymd");
213213
ymplayer.play(true);
214214

215215
//Setup timer for YM and mod players, this generates an interrupt at 1700hz
@@ -283,7 +283,7 @@ void loop()
283283
menuAction();
284284
}
285285
if (buttonPressed == Left) {
286-
exitMenus(0);
286+
//exitMenus(0);
287287
}
288288
} else {
289289
if (buttonPressed == Select) {
-37.5 KB
Binary file not shown.
-5.68 KB
Binary file not shown.
-5.68 KB
Binary file not shown.

libraries/menus/menus.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ abstractMenuEntry* subMenu::at(int index)
5050
}
5151

5252
#define TITLEHEIGHT 11
53-
#define TITLEWIDTH 80
53+
#define TITLEWIDTH 120
5454
#define TITLEXOFFSET 8
5555
#define TITLEYOFFSET 8
5656

0 commit comments

Comments
 (0)