summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornrootconauto <nrootconauto@gmail.com>2022-07-16 07:47:24 -0400
committernrootconauto <nrootconauto@gmail.com>2022-07-16 07:47:24 -0400
commita0f358bf930e50a65479f6cfdeb65ee9c2d070f7 (patch)
treeda6326010ab55fc22c0774292a5222297b539a77
parente1f5872812858817bc8b44884acd00dbe1e02ad4 (diff)
Removed "local" core0 variable to use the global one. VFsChDrv now sets drive letter on change,added grab_scroll.
-rw-r--r--HCRT.BINbin767760 -> 767808 bytes
-rw-r--r--T/AMOUSE.HC.Zbin0 -> 577 bytes
-rw-r--r--T/FULL_PACKAGE.HC2
-rw-r--r--T/HCRT.DBG.Zbin200916 -> 200817 bytes
-rw-r--r--main.c1
-rw-r--r--vfs.c7
6 files changed, 7 insertions, 3 deletions
diff --git a/HCRT.BIN b/HCRT.BIN
index 8070242..b9d845e 100644
--- a/HCRT.BIN
+++ b/HCRT.BIN
Binary files differ
diff --git a/T/AMOUSE.HC.Z b/T/AMOUSE.HC.Z
new file mode 100644
index 0000000..a18214b
--- /dev/null
+++ b/T/AMOUSE.HC.Z
Binary files differ
diff --git a/T/FULL_PACKAGE.HC b/T/FULL_PACKAGE.HC
index afe6174..2fa66d0 100644
--- a/T/FULL_PACKAGE.HC
+++ b/T/FULL_PACKAGE.HC
@@ -56,6 +56,8 @@ U0 Adam(U8 *) {
DbgInfoRead("HCRT.DBG.Z");
if(!__IsCmdLine) {
sys_winmgr_task=Spawn(&WinMgrTask);
+ //Grab pointer
+ ExePrint2("#include \"AMOUSE.HC.Z\";;");
} else {
DeathWait(User);
Exit3Days;
diff --git a/T/HCRT.DBG.Z b/T/HCRT.DBG.Z
index 45cceb0..a773bef 100644
--- a/T/HCRT.DBG.Z
+++ b/T/HCRT.DBG.Z
Binary files differ
diff --git a/main.c b/main.c
index 215ea84..e8b20fd 100644
--- a/main.c
+++ b/main.c
@@ -192,7 +192,6 @@ int main(int argc,char **argv)
NewDrawWindow();
int flags=0;
#ifndef TARGET_WIN32
- pthread_t core0;
if(0==access("HCRT.BIN",F_OK)) {
puts("Using ./HCRT.BIN as the default binary.");
hcrt_bin_loc="HCRT.BIN";
diff --git a/vfs.c b/vfs.c
index e43b753..c721105 100644
--- a/vfs.c
+++ b/vfs.c
@@ -413,8 +413,11 @@ char VFsChDrv(char to) {
HolyFree(cur_dir);
if(map_get(&drive_dirs,buf)) {
cur_dir=HolyStrDup(*map_get(&drive_dirs,buf));
- } else
- cur_dir=HolyStrDup("/");
+ } else {
+ char buf2[1024];
+ snprintf(buf2,"%s:/",buf);
+ cur_dir=HolyStrDup(buf2);
+ }
}
return old;
}