Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
boytacean
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
João Magalhães
boytacean
Commits
afc2d3de
Verified
Commit
afc2d3de
authored
9 months ago
by
João Magalhães
Browse files
Options
Downloads
Patches
Plain Diff
chore: support for tuning display frequency
parent
02fd8a88
No related branches found
No related tags found
No related merge requests found
Pipeline
#4565
passed
9 months ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontends/web/ts/gb.ts
+11
-0
11 additions, 0 deletions
frontends/web/ts/gb.ts
with
11 additions
and
0 deletions
frontends/web/ts/gb.ts
+
11
−
0
View file @
afc2d3de
...
...
@@ -455,6 +455,7 @@ export class GameboyEmulator extends EmulatorLogic implements Emulator {
...(
this
.
extraSettings
?.
debug
??
false
?
[
Feature
.
LoopMode
,
Feature
.
DisplayFrequency
,
Feature
.
BootRomInfo
,
Feature
.
RomTypeInfo
,
Feature
.
Cyclerate
,
...
...
@@ -592,6 +593,16 @@ export class GameboyEmulator extends EmulatorLogic implements Emulator {
this
.
trigger
(
"
frequency
"
,
value
);
}
get
displayFrequency
():
number
{
return
this
.
visualFrequency
;
}
set
displayFrequency
(
value
:
number
)
{
value
=
Math
.
max
(
value
,
0
);
this
.
visualFrequency
=
value
;
this
.
trigger
(
"
display-frequency
"
,
value
);
}
get
frequencySpecs
():
FrequencySpecs
{
return
{
unit
:
Frequency
.
MHz
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment