View Single Post
Old 28 June 2021, 01:00   #71
alkis
Registered User
 
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
Ok, lets try logging.

Add -log -serlog to the winuae icon (i have a shortcut to my desktop, right click, properties, my target now reads "D:\winuae\winuae64.exe -log -serlog"

Now on your plugin code, somewhere near the top, define this prototype
Code:
int KPrintF(const char *, ...);
(since you already have in the makefile -lamiga -ldebug nothing else is needed)

Now, place right after the if of openlibs

Code:
KPrintF("Libraries opened ok\n");
and at the end of init()

Code:
KPrintF("Init's end reached\n");
Now, you should see those in the log window. If you do, great. Keep adding loging to hook

Code:
KPrintF("Hook called\n"); //fist line in your hook
...
...
KPrintF("Hook end reached\n"); //last line in your hook
alkis is offline  
 
Page generated in 0.04618 seconds with 11 queries