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
efef514f
There was an error fetching the commit references. Please try again later.
Commit
efef514f
authored
11 years ago
by
bunnei
Browse files
Options
Downloads
Patches
Plain Diff
removed unused comments, changed main processing loop to be infinite
parent
8cf851f6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/citra/src/citra.cpp
+2
-34
2 additions, 34 deletions
src/citra/src/citra.cpp
with
2 additions
and
34 deletions
src/citra/src/citra.cpp
+
2
−
34
View file @
efef514f
...
@@ -52,39 +52,6 @@ int __cdecl main(int argc, char **argv) {
...
@@ -52,39 +52,6 @@ int __cdecl main(int argc, char **argv) {
System
::
Init
(
emu_window
);
System
::
Init
(
emu_window
);
//if (E_OK != Core::Init(emu_window)) {
// LOG_ERROR(TMASTER, "core initialization failed, exiting...");
// core::Kill();
// exit(1);
//}
//// Load a game or die...
//if (E_OK == dvd::LoadBootableFile(common::g_config->default_boot_file())) {
// if (common::g_config->enable_auto_boot()) {
// core::Start();
// } else {
// LOG_ERROR(TMASTER, "Autoboot required in no-GUI mode... Exiting!\n");
// }
//} else {
// LOG_ERROR(TMASTER, "Failed to load a bootable file... Exiting!\n");
// exit(E_ERR);
//}
//// run the game
//while(core::SYS_DIE != core::g_state) {
// if (core::SYS_RUNNING == core::g_state) {
// if(!(cpu->is_on)) {
// cpu->Start(); // Initialize and start CPU.
// } else {
// for(tight_loop = 0; tight_loop < 10000; ++tight_loop) {
// cpu->execStep();
// }
// }
// } else if (core::SYS_HALTED == core::g_state) {
// core::Stop();
// }
//}
//core::Kill();
std
::
string
boot_filename
=
"homebrew.elf"
;
std
::
string
boot_filename
=
"homebrew.elf"
;
std
::
string
error_str
;
std
::
string
error_str
;
...
@@ -93,7 +60,8 @@ int __cdecl main(int argc, char **argv) {
...
@@ -93,7 +60,8 @@ int __cdecl main(int argc, char **argv) {
if
(
!
res
)
{
if
(
!
res
)
{
ERROR_LOG
(
BOOT
,
"Failed to load ROM: %s"
,
error_str
.
c_str
());
ERROR_LOG
(
BOOT
,
"Failed to load ROM: %s"
,
error_str
.
c_str
());
}
}
for
(
int
tight_loop
=
0
;
tight_loop
<
10000
;
++
tight_loop
)
{
for
(;;)
{
Core
::
SingleStep
();
Core
::
SingleStep
();
}
}
...
...
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