Commit Graph

14 Commits

Author SHA1 Message Date
camthesaxman 97c946fd86
implement SetEndOfFile, CreateDirectoryA, RemoveDirectoryA, SetFileAttributesA (#6)
* implement SetEndOfFile, CreateDirectoryA, RemoveDirectoryA, SetFileAttributesA

* call fflush before ftruncate
2022-07-06 11:26:24 +09:00
Luke Street a8b9452f33
kernel32: Use fstat in GetFileSize (#10)
Improves mwldeppc performance significantly.

Before:
real    0m30.322s
user    0m7.800s
sys     0m22.495s

After:
real	0m16.679s
user	0m4.693s
sys	    0m11.965s

Wine (for comparison):
real    0m24.625s
user    0m0.048s
sys     0m0.034s
2022-07-06 00:13:20 +02:00
Simon Lindholm 228bf4663e File handles 2022-07-04 00:42:47 +02:00
Mark Street 84cb52fe70 FileTimeToSystemTime, SetFileTime 2022-07-04 00:05:30 +02:00
Mark Street b9f6c4c64e
Add support for SN compilers (#4)
* More kernel32 functions implemented poorly

* fix a smattering of issues to make cc1n64 work

* fix issues breaking psyq aspsx

* Return lowercase Windows paths if uppercase path doesnt exist

* Add SetStdHandle

* Add super naive FormatMessageA

* Case insensitive file matching

* PR comments

* Adding CompareString* + SetEnvironmentVariableA functions

Co-authored-by: Ash Wolf <ninji@wuffs.org>
Co-authored-by: Simon Lindholm <simon.lindholm10@gmail.com>
2022-07-03 23:27:48 +09:00
Simon Lindholm 6281fa2da7 Support more mwcc versions 2022-06-29 16:57:11 +02:00
Simon Lindholm 121bfb3939 Better realloc zeroing 2022-06-29 16:57:11 +02:00
Simon Lindholm 81e85504de Improve logging 2022-06-29 16:56:36 +02:00
Simon Lindholm e0017ac105 fix realloc zeroing 2022-06-29 15:18:29 +02:00
Simon Lindholm d565bd4231 files & times 2022-06-29 14:41:16 +02:00
Simon Lindholm 1a9d5d5a86 resources 2022-06-29 13:19:45 +02:00
Simon Lindholm 82c05df74e more 2022-06-29 01:07:04 +02:00
Simon Lindholm 3fd1f6a30c wip 2022-06-28 23:08:23 +02:00
Ash Wolf d1a4fd35a7 first commit 2022-06-13 02:20:18 +02:00