mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
Remove redundant casts
This commit is contained in:
@@ -3881,12 +3881,12 @@ void LogPages(char* selname) {
|
||||
Bitu sel = GetHexValue(selname,selname);
|
||||
if ((sel==0x00) && ((*selname==0) || (*selname=='*'))) {
|
||||
for (unsigned int i=0; i<0xfffff; i++) {
|
||||
Bitu table_addr=((Bitu)paging.base.page<<12u)+(i >> 10u)*(Bitu)4u;
|
||||
Bitu table_addr=(paging.base.page<<12u)+(i >> 10u)*(Bitu)4u;
|
||||
X86PageEntry table;
|
||||
table.load=phys_readd((PhysPt)table_addr);
|
||||
if (table.block.p) {
|
||||
X86PageEntry entry;
|
||||
PhysPt entry_addr=((PhysPt)table.block.base<<12u)+(i & 0x3ffu)* 4u;
|
||||
PhysPt entry_addr=(table.block.base<<12u)+(i & 0x3ffu)* 4u;
|
||||
entry.load=phys_readd(entry_addr);
|
||||
if (entry.block.p) {
|
||||
sprintf(out1,"page %05Xxxx -> %04Xxxx flags [uw] %x:%x::%x:%x [d=%x|a=%x]",
|
||||
|
Reference in New Issue
Block a user