Mercurial > wgsdk
diff src/main.c @ 2:712c7fd6702a
Remove a LOT of unneeded stuff
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 07 Aug 2022 10:41:55 -0400 |
parents | 7abb5d8b20ea |
children | 59bf702b2b21 |
line wrap: on
line diff
--- a/src/main.c Sun Aug 07 10:23:10 2022 -0400 +++ b/src/main.c Sun Aug 07 10:41:55 2022 -0400 @@ -1,14 +1,11 @@ #include <assert.h> #include <stdio.h> -#include <stdint.h> #include <stdlib.h> -#include <time.h> #include <Winamp/wa_ipc.h> #include "main.h" #include "discord_game_sdk.h" #include "timer.h" #include "config.h" -#include "dirtools.h" #include "resource.h" #ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN @@ -124,8 +121,6 @@ } int init() { - char* path = dirtools_concat_paths(getenv("APPDATA"), "Winamp\\Plugins\\wgsdk"); - printf("%s", path); memset(&app, 0, sizeof(app)); if (IsWindowUnicode(g_plugin.hwndParent)) { g_lpWndProcOld = (WNDPROC)SetWindowLongW(g_plugin.hwndParent, -4, (LONG)WndProc);