Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Suyu
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
Suyu
Commits
0749687b
There was an error fetching the commit references. Please try again later.
Commit
0749687b
authored
9 years ago
by
Yuri Kunde Schlesner
Browse files
Options
Downloads
Patches
Plain Diff
Core: Remove some unused functions and types
parent
3edbdee1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/core/system.cpp
+0
-12
0 additions, 12 deletions
src/core/system.cpp
src/core/system.h
+1
-20
1 addition, 20 deletions
src/core/system.h
with
1 addition
and
32 deletions
src/core/system.cpp
+
0
−
12
View file @
0749687b
...
...
@@ -14,11 +14,6 @@
namespace
System
{
volatile
State
g_state
;
void
UpdateState
(
State
state
)
{
}
void
Init
(
EmuWindow
*
emu_window
)
{
Core
::
Init
();
CoreTiming
::
Init
();
...
...
@@ -29,13 +24,6 @@ void Init(EmuWindow* emu_window) {
VideoCore
::
Init
(
emu_window
);
}
void
RunLoopFor
(
int
cycles
)
{
RunLoopUntil
(
CoreTiming
::
GetTicks
()
+
cycles
);
}
void
RunLoopUntil
(
u64
global_cycles
)
{
}
void
Shutdown
()
{
VideoCore
::
Shutdown
();
HLE
::
Shutdown
();
...
...
This diff is collapsed.
Click to expand it.
src/core/system.h
+
1
−
20
View file @
0749687b
...
...
@@ -4,30 +4,11 @@
#pragma once
#include
"common/emu_window.h"
////////////////////////////////////////////////////////////////////////////////////////////////////
class
EmuWindow
;
namespace
System
{
// State of the full emulator
enum
State
{
STATE_NULL
=
0
,
///< System is in null state, nothing initialized
STATE_IDLE
,
///< System is in an initialized state, but not running
STATE_RUNNING
,
///< System is running
STATE_LOADING
,
///< System is loading a ROM
STATE_HALTED
,
///< System is halted (error)
STATE_STALLED
,
///< System is stalled (unused)
STATE_DEBUG
,
///< System is in a special debug mode (unused)
STATE_DIE
///< System is shutting down
};
extern
volatile
State
g_state
;
void
UpdateState
(
State
state
);
void
Init
(
EmuWindow
*
emu_window
);
void
RunLoopFor
(
int
cycles
);
void
RunLoopUntil
(
u64
global_cycles
);
void
Shutdown
();
}
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