mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-27 07:11:01 +00:00
Fix PEB32
This commit is contained in:
@@ -17,21 +17,18 @@
|
||||
|
||||
#include "apiset/apiset.hpp"
|
||||
|
||||
#define PEB_SEGMENT_SIZE (20 << 20) // 20 MB
|
||||
#define GS_SEGMENT_SIZE (1 << 20) // 1 MB
|
||||
#define PEB_SEGMENT_SIZE (20 << 20) // 20 MB
|
||||
#define GS_SEGMENT_SIZE (1 << 20) // 1 MB
|
||||
|
||||
#define STACK_SIZE 0x40000ULL // 256KB
|
||||
#define STACK_SIZE 0x40000ULL // 256KB
|
||||
|
||||
#define GDT_ADDR 0x35000
|
||||
#define GDT_LIMIT 0x1000
|
||||
#define GDT_ENTRY_SIZE 0x8
|
||||
#define GDT_ADDR 0x35000
|
||||
#define GDT_LIMIT 0x1000
|
||||
#define GDT_ENTRY_SIZE 0x8
|
||||
|
||||
// TODO: Get rid of that
|
||||
#define WOW64_PEB32_PROCESS_PARA_BASE 0x30000
|
||||
#define WOW64_PEB32_PROCESS_PARA_SIZE 0x5000
|
||||
#define WOW64_NATIVE_STACK_BASE 0x98000
|
||||
#define WOW64_NATIVE_STACK_SIZE 0x8000
|
||||
#define WOW64_32BIT_STACK_SIZE (1 << 20)
|
||||
#define WOW64_NATIVE_STACK_SIZE 0x8000
|
||||
#define WOW64_32BIT_STACK_SIZE (1 << 20)
|
||||
|
||||
struct emulator_settings;
|
||||
struct application_settings;
|
||||
|
||||
Reference in New Issue
Block a user