File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ This repo contains custom code as well as a patching utility to add additional f
28
28
* See [ the mario document for more information] ( docs/mario.md ) .
29
29
30
30
### Zelda (` PATCH_PARAMS="--device=zelda" ` )
31
- * No extra features currently implemented, just compatible with retro-go
31
+ * Ability to remove the second beep in TIME/CLOCK via ` --no-beep `
32
32
* External flash savings to come in the future.
33
33
* See [ the zelda document for more information] ( docs/zelda.md ) .
34
34
Original file line number Diff line number Diff line change @@ -116,6 +116,11 @@ def argparse(self, parser):
116
116
help = "Override LoZ2 ROM with your own file." ,
117
117
)
118
118
119
+ group .add_argument (
120
+ "--no-beep" ,
121
+ action = "store_true" ,
122
+ help = "Remove the second beep in TIME/CLOCK." ,
123
+ )
119
124
self .args = parser .parse_args ()
120
125
return self .args
121
126
@@ -356,6 +361,10 @@ def patch(self):
356
361
self .internal .nop (0x1653A , 1 )
357
362
self .internal .nop (0x1653C , 1 )
358
363
364
+ if self .args .no_beep :
365
+ # Disable TIME/CLOCK second beep
366
+ self .external .nop (0x0032002c , 4 )
367
+
359
368
if False :
360
369
# This doesn't quite work yet
361
370
# I think RWData stuff probably needs to be updated
You can’t perform that action at this time.
0 commit comments