Fixed a bug in the wall code that actually produced the bug I mentioned
in the last commit... :/ git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1262 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -290,12 +290,13 @@ out:
|
|||||||
#if USE_WALL
|
#if USE_WALL
|
||||||
{
|
{
|
||||||
uint32 *wall = address;
|
uint32 *wall = address;
|
||||||
|
size -= 20;
|
||||||
|
|
||||||
wall[0] = size;
|
wall[0] = size;
|
||||||
wall[1] = 0xabadcafe;
|
wall[1] = 0xabadcafe;
|
||||||
wall[2] = 0xabadcafe;
|
wall[2] = 0xabadcafe;
|
||||||
|
|
||||||
address = (uint8 *)address + 12;
|
address = (uint8 *)address + 12;
|
||||||
size -= 20;
|
|
||||||
|
|
||||||
wall = (uint32 *)((uint8 *)address + size);
|
wall = (uint32 *)((uint8 *)address + size);
|
||||||
wall[0] = 0xabadcafe;
|
wall[0] = 0xabadcafe;
|
||||||
|
|||||||
Reference in New Issue
Block a user