Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
ScriptedAmigaEmulator
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
Model registry
Operate
Environments
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
public
retro
ScriptedAmigaEmulator
Commits
f1f8a1e8
Commit
f1f8a1e8
authored
8 years ago
by
Rupert Hausberger
Browse files
Options
Downloads
Patches
Plain Diff
update 0.9.0
parent
470f65cc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
sae/amiga.js
+11
-2
11 additions, 2 deletions
sae/amiga.js
sae/config.js
+2
-0
2 additions, 0 deletions
sae/config.js
sae/input.js
+6
-2
6 additions, 2 deletions
sae/input.js
sae/video.js
+5
-0
5 additions, 0 deletions
sae/video.js
with
24 additions
and
4 deletions
sae/amiga.js
+
11
−
2
View file @
f1f8a1e8
...
...
@@ -587,8 +587,17 @@ function ScriptedAmigaEmulator() {
};
this
.
mute
=
function
(
mute
)
{
this
.
audio
.
mute
(
mute
);
return
SAEE_None
;
if
(
this
.
running
)
{
this
.
audio
.
mute
(
mute
);
if
(
mute
)
SAEF_log
(
"
sae.mute() audio muted
"
);
else
SAEF_log
(
"
sae.mute() playing audio
"
);
return
SAEE_None
;
}
else
{
SAEF_warn
(
"
sae.mute() emulation not running
"
);
return
SAEE_NotRunning
;
}
};
this
.
keyPress
=
function
(
e
,
down
)
{
...
...
This diff is collapsed.
Click to expand it.
sae/config.js
+
2
−
0
View file @
f1f8a1e8
...
...
@@ -575,6 +575,7 @@ function SAEO_Config() {
id
:
""
,
enabled
:
false
,
//driver: 0,
hideCursor
:
false
,
scandoubler
:
false
,
//gfx_scandoubler
framerate
:
0
,
//gfx_framerate
...
...
@@ -1075,6 +1076,7 @@ function SAEO_Configuration() {
p
.
video
.
id
=
"
video
"
;
p
.
video
.
enabled
=
true
;
p
.
video
.
hideCursor
=
true
;
p
.
video
.
scandoubler
=
false
;
p
.
video
.
framerate
=
1
;
p
.
video
.
hresolution
=
SAEC_Config_Video_HResolution_HiRes
;
...
...
This diff is collapsed.
Click to expand it.
sae/input.js
+
6
−
2
View file @
f1f8a1e8
...
...
@@ -47,15 +47,19 @@ function SAEO_Mouse() {
};
this
.
mouseover
=
function
(
e
)
{
//SAER.video.hideCursor(1);
if
(
SAEV_config
.
video
.
hideCursor
)
SAER
.
video
.
hideCursor
(
true
);
this
.
mousemove
(
e
);
lx
=
cx
;
ly
=
cy
;
};
this
.
mouseout
=
function
(
e
)
{
//SAER.video.hideCursor(0);
this
.
mouseup
(
e
);
if
(
SAEV_config
.
video
.
hideCursor
)
SAER
.
video
.
hideCursor
(
false
);
};
this
.
mousemove
=
function
(
e
)
{
...
...
This diff is collapsed.
Click to expand it.
sae/video.js
+
5
−
0
View file @
f1f8a1e8
...
...
@@ -2017,6 +2017,11 @@ function SAEO_Video() {
DirectDraw_ReleaseDC(hdc);
}*/
this
.
hideCursor
=
function
(
hide
)
{
if
(
hAmigaWnd
!==
null
&&
hAmigaWnd
.
shown
)
hAmigaWnd
.
canvas
.
style
.
cursor
=
hide
?
"
none
"
:
"
auto
"
;
}
/*-----------------------------------------------------------------------*/
//var flushymin = 0, flushymax = 0;
...
...
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