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
1b634bbb
Verified
Commit
1b634bbb
authored
1 year ago
by
João Magalhães
Browse files
Options
Downloads
Patches
Plain Diff
docs: new inline docs
parent
11994b91
No related branches found
No related tags found
1 merge request
!16
Support for Game Boy Color (CGB) 😎🖍️
Pipeline
#2672
failed
1 year ago
Stage: build
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/gb.rs
+1
-1
1 addition, 1 deletion
src/gb.rs
src/mmu.rs
+5
-0
5 additions, 0 deletions
src/mmu.rs
src/ppu.rs
+5
-0
5 additions, 0 deletions
src/ppu.rs
with
11 additions
and
1 deletion
src/gb.rs
+
1
−
1
View file @
1b634bbb
...
...
@@ -290,7 +290,7 @@ pub struct GameBoy {
/// used as reference or the rest of the components.
cpu
:
Cpu
,
///
R
he reference counted and mutable reference to
///
T
he reference counted and mutable reference to
/// Game Boy configuration structure that can be
/// used by the GB components to access global
/// configuration values on the current emulator.
...
...
This diff is collapsed.
Click to expand it.
src/mmu.rs
+
5
−
0
View file @
1b634bbb
...
...
@@ -92,8 +92,13 @@ pub struct Mmu {
/// that is currently selected (CGB only).
ram_offset
:
u16
,
/// The current running mode of the emulator, this
/// may affect many aspects of the emulation.
mode
:
GameBoyMode
,
/// The pointer to the parent configuration of the running
/// Game Boy emulator, that can be used to control the behaviour
/// of Game Boy emulation.
gbc
:
Rc
<
RefCell
<
GameBoyConfig
>>
,
}
...
...
This diff is collapsed.
Click to expand it.
src/ppu.rs
+
5
−
0
View file @
1b634bbb
...
...
@@ -468,8 +468,13 @@ pub struct Ppu {
/// (CGB only).
dmg_compat
:
bool
,
/// The current running mode of the emulator, this
/// may affect many aspects of the emulation.
gb_mode
:
GameBoyMode
,
/// The pointer to the parent configuration of the running
/// Game Boy emulator, that can be used to control the behaviour
/// of Game Boy emulation.
gbc
:
Rc
<
RefCell
<
GameBoyConfig
>>
,
}
...
...
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