HCoop
/
clinton
/
Virtual-Jaguar-Rx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44432db
)
Fix M68K cycles counting
author
Jean-Paul Mari
<djipi.mari@gmail.com>
Fri, 16 Apr 2021 17:01:29 +0000
(13:01 -0400)
committer
Jean-Paul Mari
<djipi.mari@gmail.com>
Fri, 16 Apr 2021 17:01:29 +0000
(13:01 -0400)
src/jaguar.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/jaguar.cpp
b/src/jaguar.cpp
index
594495a
..
f517cc4
100644
(file)
--- a/
src/jaguar.cpp
+++ b/
src/jaguar.cpp
@@
-2612,20
+2612,20
@@
void JaguarExecuteNew(void)
// Step over function
int JaguarStepOver(int depth)
{
- bool exit;
- int cycles;
+ bool exit
= !depth
;
+ int cycles
= 0
;
//bool case55 = false;
//uint32_t m68kSR;
-
if (!depth)
-
{
-
cycles = 0;
-
exit = true;
-
}
-
else
-
{
-
exit = false;
-
}
+
//
if (!depth)
+
//
{
+
//
cycles = 0;
+
//
exit = true;
+
//
}
+
//
else
+
//
{
+
//
exit = false;
+
//
}
do
{