mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-24 19:11:37 +02:00
Merge pull request #13515 from tygyh/Remove-redundant-parentheses
Tools/symbolicate-ppc: Remove redundant parentheses
This commit is contained in:
@ -74,13 +74,13 @@ map = read_map(sys.argv[1])
|
|||||||
def lookup(address):
|
def lookup(address):
|
||||||
i = 0
|
i = 0
|
||||||
j = len(map)
|
j = len(map)
|
||||||
while(True):
|
while True:
|
||||||
if (j < i):
|
if j < i:
|
||||||
return "JIT_PPC_[unknown]"
|
return "JIT_PPC_[unknown]"
|
||||||
k = round((j + i) // 2)
|
k = round((j + i) // 2)
|
||||||
if (address < map[k].start):
|
if address < map[k].start:
|
||||||
j = k - 1
|
j = k - 1
|
||||||
elif (address >= map[k].end):
|
elif address >= map[k].end:
|
||||||
i = k + 1
|
i = k + 1
|
||||||
else:
|
else:
|
||||||
return "JIT_PPC_" + map[k].name
|
return "JIT_PPC_" + map[k].name
|
||||||
|
Reference in New Issue
Block a user