diff options
| author | navewindre <nw@moneybot.cc> | 2024-07-16 07:19:43 +0200 |
|---|---|---|
| committer | navewindre <nw@moneybot.cc> | 2024-07-16 07:19:43 +0200 |
| commit | 4c8b52fc94c04c4b3d338c2501971ae348f5b3e5 (patch) | |
| tree | 049ff320ffed7398b91887f6c39cfa3f715a1ee4 /src/source.cpp | |
| parent | 320e7b14a5a29838ed2cb909cadfd7c448c6849b (diff) | |
やーーーー
Diffstat (limited to 'src/source.cpp')
| -rw-r--r-- | src/source.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/source.cpp b/src/source.cpp index 1ce0754..b27149f 100644 --- a/src/source.cpp +++ b/src/source.cpp @@ -1,6 +1,8 @@ //|_ _ _. _ ._ |_ _. _ | //| | (/_ (_| \/ (/_ | | | | (_| (_ |< +//#define PERF_DEBUG 1 + #include "cs2/hack.h" #include "conin.h" #include "menu.h" @@ -9,18 +11,10 @@ bool run() { con_init(); PROCESS64* p = hack_init(); - Sleep( 1000 ); gcfg.load(); - menu_show_ui( p ); - for( ;; ) { - if( !hack_run( p ) ) { - nt_close64( p->get_base() ); - u_sleep( 5 * T_SEC ); - break; - } - } + for( ; hack_run( p ); ); return false; } |
