mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 19:34:39 +01:00
Avoid some dangerous hex constant widths.
This commit is contained in:
1 parent
083fa71c1a
commit
1ed8edb0d3
20 files changed
+82
-82
No files matched your search
@@ -281,7 +281,7 @@ void CtrlMemView::onPaint(WPARAM wParam, LPARAM lParam)
|
||||
sprintf(temp, "%s (0x%x b)", symbolMap.GetSymbolName(fn),symbolMap.GetSymbolSize(fn));
|
||||
TextOut(hdc,200,rowY1,temp,(int)strlen(temp));
|
||||
|
||||
SetTextColor(hdc,0x0000000);
|
||||
SetTextColor(hdc,0x000000);
|
||||
|
||||
if (align==4)
|
||||
{
|
||||
@@ -464,7 +464,7 @@ void CtrlMemView::onMouseUp(WPARAM wParam, LPARAM lParam, int button)
|
||||
else
|
||||
{
|
||||
outputfile = fopen("Ram.dump","wb"); // Could also dump Vram, but not useful for now.
|
||||
fwrite(Memory::GetPointer(0x08800000), 1, 0x1800000, outputfile);
|
||||
fwrite(Memory::GetPointer(0x08800000), 1, 0x01800000, outputfile);
|
||||
fclose(outputfile);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user