mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Minor IDE changes
This commit is contained in:
parent
be3c968e2b
commit
2ea5d31c37
15 changed files with 373 additions and 87 deletions
|
@ -1380,7 +1380,7 @@ void HashContext::Mixin(const void* data, int size)
|
|||
|
||||
if (mDbgViz)
|
||||
{
|
||||
int findIdx = 0x1BCF;
|
||||
int findIdx = 0x2cc159;
|
||||
if ((mBufOffset + mBufSize <= findIdx) && (mBufOffset + mBufSize + addBytes > findIdx))
|
||||
{
|
||||
NOP;
|
||||
|
@ -1429,10 +1429,17 @@ Val128 HashContext::Finish128()
|
|||
{
|
||||
String filePath = StrFormat("c:\\temp\\hash%d.bin", gDbgVizIdx++);
|
||||
mDbgVizStream = new FileStream();
|
||||
mDbgVizStream->Open(filePath, "wb");
|
||||
OutputDebugStrF("Creating dbg hash: %s\n", filePath.c_str());
|
||||
if (mDbgVizStream->Open(filePath, "wb"))
|
||||
{
|
||||
OutputDebugStrF("Creating dbg hash: %s\n", filePath.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
OutputDebugStrF("FAILED creating dbg hash: %s\n", filePath.c_str());
|
||||
}
|
||||
}
|
||||
mDbgVizStream->Write(mBuf, mBufSize);
|
||||
if ((mDbgVizStream != NULL) && (mDbgVizStream->IsOpen()))
|
||||
mDbgVizStream->Write(mBuf, mBufSize);
|
||||
}
|
||||
|
||||
if (mBufSize <= 16)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue