Huge reworking to get shared libraries (and native replacements) working.
Not there yet, but the framework is pretty close to what I want.
This commit is contained in:
1 parent
1d8ad0ce35
commit
443bcf2178
14 files changed
+536
-141
No files matched your search
@@ -0,0 +1,16 @@
|
||||
#include "../lx_loader.h"
|
||||
|
||||
static uint32 DosPutMessage(uint32 handle, uint32 msglen, const char *msg)
|
||||
{
|
||||
// !!! FIXME: this isn't right, but good enough for now.
|
||||
fwrite(msg, msglen, 1, stdout);
|
||||
fflush(stdout);
|
||||
return 0;
|
||||
} // DosPutMessage
|
||||
|
||||
NATIVE_REPLACEMENT_TABLE("msg")
|
||||
NATIVE_REPLACEMENT(DosPutMessage, 5)
|
||||
END_NATIVE_REPLACEMENT_TABLE()
|
||||
|
||||
// end of msg.c ...
|
||||
|
||||
Reference in new issue
Block a user