mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-24 13:01:58 +00:00
bail when Sys_MakeCodeWriteable winds up empty
This commit is contained in:
parent
1ed975edd5
commit
548ff2f227
1 changed files with 2 additions and 0 deletions
|
@ -255,6 +255,8 @@ Sys_MakeCodeWriteable (unsigned long startaddr, unsigned long length)
|
|||
|
||||
if (r < 0)
|
||||
Sys_Error ("Protection change failed\n");
|
||||
# else
|
||||
# error do not know how to make code writable
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue