fprintf() not expecting a class type variable, rather needs an element to resolve the pointer to, in Xbe::DumpInformation()
This commit is contained in:
parent
dbb15e0341
commit
8f41bc0795
|
@ -1058,7 +1058,7 @@ void Xbe::DumpInformation(FILE *x_file)
|
||||||
|
|
||||||
// print init flags
|
// print init flags
|
||||||
{
|
{
|
||||||
fprintf(x_file, "Init Flags : 0x%.08X ", m_Header.dwInitFlags);
|
fprintf(x_file, "Init Flags : 0x%.08X ", m_Header.dwInitFlags.bMountUtilityDrive);
|
||||||
|
|
||||||
if(m_Header.dwInitFlags.bMountUtilityDrive)
|
if(m_Header.dwInitFlags.bMountUtilityDrive)
|
||||||
fprintf(x_file, "[Mount Utility Drive] ");
|
fprintf(x_file, "[Mount Utility Drive] ");
|
||||||
|
@ -1176,7 +1176,7 @@ void Xbe::DumpInformation(FILE *x_file)
|
||||||
|
|
||||||
// print flags
|
// print flags
|
||||||
{
|
{
|
||||||
fprintf(x_file, "Flags : 0x%.08X ", m_SectionHeader[v].dwFlags);
|
fprintf(x_file, "Flags : 0x%.08X ", m_SectionHeader[v].dwFlags.bWritable);
|
||||||
|
|
||||||
if(m_SectionHeader[v].dwFlags.bWritable)
|
if(m_SectionHeader[v].dwFlags.bWritable)
|
||||||
fprintf(x_file, "(Writable) ");
|
fprintf(x_file, "(Writable) ");
|
||||||
|
|
Loading…
Reference in New Issue