doom is now using the native api, add a PEB + TEB to replace the dummy and the awkward argument passing to processes, all allocations are zeroed because i had enough, small readme changes and dedication.
This commit is contained in:
1 parent
ddb5d5f5d8
commit
f5fd7bdd75
28 files changed
+6334
-5722
No files matched your search
+3
-2
@@ -48,12 +48,13 @@ void itoa(int num, char* str) {
|
||||
}
|
||||
}
|
||||
|
||||
void _start(const char* args)
|
||||
void _start(void)
|
||||
{
|
||||
const char* args = SysGetCommandLine();
|
||||
uint32_t h = 0;
|
||||
uint32_t s = 0;
|
||||
|
||||
for (;;) {
|
||||
while (true) {
|
||||
SysDebugPrint("[init] starting\n");
|
||||
s = SysCreateProcess(args, &h, NULL);
|
||||
if (s != STATUS_SUCCESS) {
|
||||
|
||||
Reference in new issue
Block a user