mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-18 17:34:52 +00:00
initial work on loggin class
This commit is contained in:
parent
08f8da2fea
commit
81ca77a464
4 changed files with 56 additions and 2 deletions
|
@ -18,6 +18,7 @@
|
|||
#include "types.h"
|
||||
#include "Loader/Elf.h"
|
||||
#include "GUI/ElfViewer.h"
|
||||
#include "Util/Log.h"
|
||||
|
||||
// This example can also compile and run with Emscripten! See 'Makefile.emscripten' for details.
|
||||
#ifdef __EMSCRIPTEN__
|
||||
|
@ -27,7 +28,8 @@
|
|||
// Main code
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
const char* const path = argv[1]; //argument 1 is the path of self file to boot
|
||||
logging::init(true);//init logging
|
||||
const char* const path = argv[1]; //argument 1 is the path of self file to boot
|
||||
Elf* elf = new Elf;
|
||||
elf->Open(path);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue