mirror of
https://github.com/decompals/wibo.git
synced 2025-12-16 08:27:07 +00:00
GetLocaleInfoW (#47)
* GetLocaleInfoW for ee-as.exe 991111b * Try to do it the right way * 3rd time's the charm? * round 4 * it doesn't matter now what happens i will never give up the fight * comments * fin
This commit is contained in:
4
main.cpp
4
main.cpp
@@ -4,17 +4,20 @@
|
||||
#include <filesystem>
|
||||
#include <errno.h>
|
||||
#include <memory>
|
||||
#include "strutil.h"
|
||||
#include <sys/mman.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <stdarg.h>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <vector>
|
||||
|
||||
uint32_t wibo::lastError = 0;
|
||||
char** wibo::argv;
|
||||
int wibo::argc;
|
||||
char *wibo::executableName;
|
||||
char *wibo::commandLine;
|
||||
std::vector<uint16_t> wibo::commandLineW;
|
||||
wibo::Executable *wibo::mainModule = 0;
|
||||
bool wibo::debugEnabled = false;
|
||||
unsigned int wibo::debugIndent = 0;
|
||||
@@ -274,6 +277,7 @@ int main(int argc, char **argv) {
|
||||
cmdLine += '\0';
|
||||
|
||||
wibo::commandLine = cmdLine.data();
|
||||
wibo::commandLineW = stringToWideString(wibo::commandLine);
|
||||
DEBUG_LOG("Command line: %s\n", wibo::commandLine);
|
||||
|
||||
wibo::executableName = argv[0];
|
||||
|
||||
Reference in New Issue
Block a user