Files
tamagotchi-paradise-ko/ab/test/jitfuzz/same.py
T
syskiller db23855630
Paramix Studio / build (push) Canceled after 0s
Paramix Studio / pages (push) Canceled after 0s
다마고치 연구소 한국어판 소스 공개
2026-11-10 21:17:44 +09:00

6 lines
268 B
Python

import sys
d=sys.argv[1]; r=open(d+'/ref.txt').read().split(); j=open(d+'/jit.txt').read().split()
if len(r)!=2 or len(j)!=2: sys.exit(1)
a=bytearray.fromhex(r[0]); b=bytearray.fromhex(j[0]); a[0x5f]&=0xDF; b[0x5f]&=0xDF
sys.exit(0 if a==b and r[1]==j[1] else 1)