mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-12-24 12:30:05 +00:00
Partial test file reading fix
This commit is contained in:
parent
7ce94a6ab5
commit
7d7a4b453f
@ -438,7 +438,7 @@ if __name__ == "__main__":
|
||||
checkstring = ''
|
||||
pos += 1
|
||||
if ("frD" in checkstring):
|
||||
out_file.write(",frD=" + line[pos+4:pos+20])
|
||||
out_file.write(",frD=0x" + line[pos+4:pos+20])
|
||||
checkstring = ''
|
||||
if ("frA" in checkstring): #sloppy temp code
|
||||
check2 = line[pos+1:pos+10]
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -198,7 +198,7 @@ static void read_test_float_data() {
|
||||
|
||||
for (i = 2; i < tokens.size(); i++) {
|
||||
if (tokens[i].rfind("frD=", 0) == 0) {
|
||||
dfp_dest = stoul(tokens[i].substr(4), NULL, 16);
|
||||
dfp_dest = stoull(tokens[i].substr(4), NULL, 16);
|
||||
} else if (tokens[i].rfind("frA=", 0) == 0) {
|
||||
dfp_src1 = stod(tokens[i].substr(4), NULL);
|
||||
} else if (tokens[i].rfind("frB=", 0) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user