gsdx-debug: use hex number for texture pointer

Easier to grep
This commit is contained in:
Gregory Hainaut 2015-05-23 12:20:26 +02:00
parent 7609fdc576
commit f665180d11
2 changed files with 9 additions and 9 deletions

View File

@ -136,13 +136,13 @@ public:
"\tY:%d\n\n"
, XYOFFSET.OFX, XYOFFSET.OFY);
fprintf(fp, "TEX0\n"
"\tTBP0:%d\n"
"\tTBP0:0x%x\n"
"\tTBW:%d\n"
"\tPSM:0x%x\n"
"\tTW:%d\n"
"\tTCC:%d\n"
"\tTFX:%d\n"
"\tCBP:%d\n"
"\tCBP:0x%x\n"
"\tCPSM:0x%x\n"
"\tCSM:%d\n"
"\tCSA:%d\n"
@ -160,7 +160,7 @@ public:
, TEX1.LCM, TEX1.MXL, TEX1.MMAG, TEX1.MMIN, TEX1.MTBA, TEX1.L, TEX1.K);
fprintf(fp, "TEX2\n"
"\tPSM:0x%x\n"
"\tCBP:%d\n"
"\tCBP:0x%x\n"
"\tCPSM:0x%x\n"
"\tCSM:%d\n"
"\tCSA:%d\n"
@ -202,16 +202,16 @@ public:
"\tFBA:%d\n\n"
, FBA.FBA);
fprintf(fp, "FRAME\n"
"\tFBP:%d\n"
"\tFBP (*32):0x%x\n"
"\tFBW:%d\n"
"\tPSM:0x%x\n"
"\tFBMSK:%d\n\n"
, FRAME.FBP, FRAME.FBW, FRAME.PSM, FRAME.FBMSK);
, FRAME.FBP*32, FRAME.FBW, FRAME.PSM, FRAME.FBMSK);
fprintf(fp, "ZBUF\n"
"\tZBP:%d\n"
"\tZBP (*32):0x%x\n"
"\tPSM:0x%x\n"
"\tZMSK:%d\n\n"
, ZBUF.ZBP, ZBUF.PSM, ZBUF.ZMSK);
, ZBUF.ZBP*32, ZBUF.PSM, ZBUF.ZMSK);
fclose(fp);
}

View File

@ -174,11 +174,11 @@ public:
fprintf(fp, "BITBLTBUF\n"
"\tSBW:%d\n"
"\tSBP:%d\n"
"\tSBP:0x%x\n"
"\tSPSM:%d\n"
"\tDBW:%d\n"
"\tDPSM:%d\n"
"\tDBP:%d\n\n"
"\tDBP:0x%x\n\n"
, BITBLTBUF.SBW, BITBLTBUF.SBP, BITBLTBUF.SPSM, BITBLTBUF.DBW, BITBLTBUF.DPSM, BITBLTBUF.DBP);
fprintf(fp, "TRXDIR\n"