mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 16:46:16 +00:00
Update src/windows-emulator/syscalls/section.cpp
Co-authored-by: Maurice Heumann <MauriceHeumann@gmail.com>
This commit is contained in:
@@ -589,7 +589,7 @@ namespace syscalls
|
|||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (c.proc.dbwin_buffer && base_address >= c.proc.dbwin_buffer && base_address < c.proc.dbwin_buffer + c.proc.dbwin_buffer_size)
|
if (c.proc.dbwin_buffer && is_within_start_and_length(base_address, c.proc.dbwin_buffer, c.proc.dbwin_buffer_size))
|
||||||
{
|
{
|
||||||
const auto address = c.proc.dbwin_buffer;
|
const auto address = c.proc.dbwin_buffer;
|
||||||
c.proc.dbwin_buffer = 0;
|
c.proc.dbwin_buffer = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user