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
50fab414
Verified
Commit
50fab414
authored
2 years ago
by
João Magalhães
Browse files
Options
Downloads
Patches
Plain Diff
fix: add new EOL
parent
5d5f3734
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!9
Version 0.4.0 🍾
Pipeline
#1392
passed
2 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/inst.rs
+1
-0
1 addition, 0 deletions
src/inst.rs
with
1 addition
and
0 deletions
src/inst.rs
+
1
−
0
View file @
50fab414
...
@@ -3129,6 +3129,7 @@ fn set_7_mhl(cpu: &mut Cpu) {
...
@@ -3129,6 +3129,7 @@ fn set_7_mhl(cpu: &mut Cpu) {
fn
set_7_a
(
cpu
:
&
mut
Cpu
)
{
fn
set_7_a
(
cpu
:
&
mut
Cpu
)
{
cpu
.a
=
set
(
cpu
.a
,
7
);
cpu
.a
=
set
(
cpu
.a
,
7
);
}
}
/// Helper function to set one bit in a u8.
/// Helper function to set one bit in a u8.
fn
set
(
value
:
u8
,
bit
:
u8
)
->
u8
{
fn
set
(
value
:
u8
,
bit
:
u8
)
->
u8
{
value
|
(
1u8
<<
(
bit
as
usize
))
value
|
(
1u8
<<
(
bit
as
usize
))
...
...
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