Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
play
Commits
80631551
Commit
80631551
authored
Jun 05, 2018
by
Jean-Philip Desjardins
Browse files
Fix return value mistake.
parent
dc597e34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/MipsExecutor.h
View file @
80631551
...
...
@@ -246,7 +246,7 @@ public:
{
assert
(
TranslateFunction
==
m_context
.
m_pAddrTranslator
);
auto
block
=
m_emptyBlock
.
get
();
m_context
.
m_State
.
cycleQuota
+
=
cycles
;
m_context
.
m_State
.
cycleQuota
=
cycles
;
while
(
m_context
.
m_State
.
cycleQuota
>
0
)
{
uint32
address
=
TranslateFunction
(
&
m_context
,
m_context
.
m_State
.
nPC
);
...
...
@@ -262,7 +262,7 @@ public:
block
->
Execute
();
if
(
m_context
.
m_State
.
nHasException
)
break
;
}
return
cycles
;
return
m_context
.
m_State
.
cycleQuota
;
}
CBasicBlock
*
FindBlockStartingAt
(
uint32
address
)
const
...
...
Write
Preview
Markdown
is supported
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