Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Dustin Nguyen
gb-rust
Commits
d969a264
Commit
d969a264
authored
Nov 14, 2021
by
Dustin Nguyen
Browse files
gameboy: stretch gui window; rm unused tile-window
parent
ccccf44b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/gameboy.rs
View file @
d969a264
...
...
@@ -71,18 +71,8 @@ impl GameBoy {
minifb
::
WindowOptions
{
resize
:
false
,
title
:
true
,
scale_mode
:
minifb
::
ScaleMode
::
UpperLeft
,
..
minifb
::
WindowOptions
::
default
()
},
)
.expect
(
"Unable to create window"
);
let
tiles
=
minifb
::
Window
::
new
(
"tiles"
,
LCD
::
TILE_WIDTH
,
LCD
::
TILE_HEIGHT
,
minifb
::
WindowOptions
{
resize
:
false
,
title
:
true
,
scale_mode
:
minifb
::
ScaleMode
::
UpperLeft
,
scale
:
minifb
::
Scale
::
X2
,
scale_mode
:
minifb
::
ScaleMode
::
Stretch
,
..
minifb
::
WindowOptions
::
default
()
},
)
.expect
(
"Unable to create window"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment