Commit Graph

238 Commits

Author SHA1 Message Date
zilmar c11b874b63 [Common] Delete file if truncating it 2016-08-03 21:25:24 +10:00
zilmar 98853369a0 [Android] Make sure that the recompile code is set to execute 2016-07-17 12:02:46 +10:00
zilmar beada98cf5 [Project64] Add trace if deleting thread object in thread 2016-06-30 18:11:08 +10:00
c83f3d56dd style 2016-06-29 02:56:43 -04:00
3296c92cb0 trying 2016-06-29 02:54:53 -04:00
beb56dd72f [Common] Evade null pointer exception while tracing pre-AppInit(). 2016-06-28 01:45:54 -04:00
c557f60e74 s/not exists/not exist 2016-06-25 16:54:24 -04:00
zilmar 7ded72f6ee [Common] Keep better track of the thread id 2016-06-16 21:13:29 +10:00
zilmar 347062d745 [Project64] Use clock_gettime in CDateTime::SetToNow for android 2016-06-07 17:29:24 +10:00
zilmar d7dd450bef [Common] Fix up extension for android 2016-05-15 20:20:55 +10:00
5598a958e2 va_list undeclared 2016-05-02 22:48:49 -04:00
zilmar 466cae78db [Common] remove stdcall from CTHREAD_START_ROUTINE 2016-05-01 12:42:34 +10:00
433e5c7d9b [Common] gettid() not declared in this scope 2016-04-28 18:27:35 -04:00
zilmar c187bc1e91 [Common] Make Util.cpp more android friendly 2016-04-28 17:36:39 +10:00
zilmar f27579e527 [Common] Make Thread.cpp more android friendly 2016-04-28 17:34:09 +10:00
zilmar 1594c2bed9 [Common] Make SyncEvent.cpp more android friendly 2016-04-28 17:29:27 +10:00
zilmar b2545c108b [Common] Make path.cpp more android friendly 2016-04-28 17:28:22 +10:00
zilmar f83a700f54 [Common] Make MemoryManagement.cpp more Android friendly 2016-04-28 17:27:17 +10:00
zilmar 7df051c876 [Common] Make CriticalSection.cpp more android friendly 2016-04-28 17:25:46 +10:00
zilmar d76a5ce7a2 [Common] Add EntryExists to IniFileClass.cpp 2016-04-28 17:22:59 +10:00
zilmar 0a161408be [Common] Add thread to Common.vcxproj.filters 2016-04-28 17:20:44 +10:00
zilmar 3d67aa563d [Common] Get trace.cpp code more android friendly 2016-04-28 17:12:32 +10:00
zilmar b93421c502 [Common] Clean up log class 2016-04-19 20:37:41 +10:00
zilmar 9d5a33df6a [Project64] Use thread class for emulation thread 2016-04-18 05:52:09 +10:00
zilmar bddd3841cc [Common] Add thread class 2016-04-18 05:34:47 +10:00
zilmar 7424f8bd9d [Project] Update FindFirst attributes in Common/path.h 2016-04-12 17:53:40 +10:00
zilmar c12cd90928 [Project64] Fix up property sheets and project settings 2016-02-25 06:52:27 +11:00
zilmar 8d6e71fa0a [Common] Add Date Time Class 2016-02-24 17:59:29 +11:00
zilmar c23f5fe955 [common] Add #include "StdString.h" to Common/LogClass.h 2016-02-01 17:10:04 +11:00
zilmar 4203cbd2ef [Common] Make sure we always have a path in CPath::SetComponents 2016-01-29 04:34:50 +11:00
zilmar a44626855f [Common] fixed spacing in StdString.cpp 2016-01-18 19:48:52 +11:00
zilmar d37ea006f1 [Common] Add TraceModulesCommon.h to Common.vcproj 2016-01-18 19:47:05 +11:00
zilmar e8468687ac [Project64] remove windows.h from plugin handling 2016-01-18 05:48:19 +11:00
zilmar e212bee0a4 [Project64] Fix rounding code to compile on VS 2008 2016-01-18 05:44:19 +11:00
zilmar 99e6df4612 [Common] Add fesetround to Platform.cpp 2016-01-17 16:58:47 +11:00
zilmar 554333711f [Common] Clean up Platform.cpp 2016-01-17 16:57:08 +11:00
zilmar cbd1f6760f [Project64] Be able to correctly get old protection from ProtectMemory 2016-01-17 16:55:44 +11:00
zilmar ec03eb642a [Common] Cleanup MemoryManagement.cpp 2016-01-17 16:54:08 +11:00
zilmar 21c9e0b84a Merge pull request #871 from cxd4/restored-includes
[Common] restored some needed header includes to md5.h
2016-01-14 06:15:33 +11:00
zilmar 01c1cf72c4 [Common] Add MemoryManagement.cpp 2016-01-13 20:39:23 +11:00
zilmar cb2662afee Merge pull request #872 from cxd4/need-time_h
[Common] Have required sys/time.h POSIX inc for new time code.
2016-01-13 20:04:39 +11:00
zilmar 4ce92df3f6 Merge pull request #873 from cxd4/have-objbase_h
[Common] some safety measures to guaranteeing __interface type
2016-01-13 20:04:19 +11:00
no c1ac20d35c [Common] fixed undeclared strcasecmp() 2016-01-12 21:21:23 -05:00
no cf30a08b43 [Common] Ensure that __interface is declared for _WIN32 also. 2016-01-12 20:28:45 -05:00
no 1d5829bea0 [Common] #define __interface for any !WIN32, not just MSC. 2016-01-12 20:25:36 -05:00
no 06734af2ec [Common] Have required sys/time.h POSIX inc for new time code. 2016-01-12 20:05:57 -05:00
no 17d1f574d1 [Common] restored some needed header includes to md5.h 2016-01-12 20:03:00 -05:00
zilmar 1b2ca46906 [Project64] Fix release build in common 2016-01-13 06:48:07 +11:00
zilmar 0939d70ef3 [Project64] Remove usage of windows.h from md5.cpp 2016-01-13 06:12:31 +11:00
zilmar b420078089 [Project64] Make the FileClass.cpp more linux friendly 2016-01-13 06:09:01 +11:00
zilmar 3d29a5de52 [Projet64] Make Trace.cpp more linux friendly 2016-01-13 06:02:18 +11:00
zilmar 8580a1d5ce [Project64] moved stdwstr_f::stdwstr_f out of .h and in to .cpp 2016-01-13 06:01:13 +11:00
zilmar d6b8fe523e [Project64] Use alloca in log message 2016-01-13 05:51:53 +11:00
zilmar 226a65cc04 [Project64] Cleanup LogClass.h 2016-01-13 05:48:35 +11:00
zilmar 5c7f3c5e21 [Project64] Remove tchar out of IniFileClass.cpp 2016-01-13 05:46:50 +11:00
zilmar ba77c128ac [Project64] Cleanup IniFileClass.cpp 2016-01-13 05:38:10 +11:00
zilmar 0a45420b4b [Project64] Remove tchar from path 2016-01-12 23:19:50 +11:00
zilmar 7b747cb5e0 [Project64] Cleanup path.cpp 2016-01-12 17:52:59 +11:00
zilmar 2b31784057 [Project64] Fix up compile issues with me removing windows.h 2016-01-05 21:32:18 +11:00
zilmar 1e30be0945 [Project64] Add Platform.cpp 2016-01-04 17:49:33 +11:00
zilmar 6395ea52f7 [Project64] Code cleanup of MemTest.cpp 2015-12-23 13:10:04 +11:00
no 64b0635fa1 undeclared memcmp(), ::memset() 2015-12-21 15:12:30 -05:00
no beb8c41575 undeclared sprintf() 2015-12-21 15:09:57 -05:00
zilmar 95a3319735 [Project64] Update logging system to use module and severity 2015-12-14 21:51:33 +11:00
zilmar ac1211eb76 [Project64] Cleanup Trace Files 2015-12-10 17:38:33 +11:00
zilmar 146f295b10 [Project64] md5.cpp fix up brackets 2015-12-10 17:32:43 +11:00
zilmar 22fc35d49c [Project64] MD5.cpp auto code clean up 2015-12-10 17:23:03 +11:00
Julio C. Rocha 7b2421884e Adjusted minimum toolset versions to VS2010 for VCXPROJ and PROPS files. 2015-12-07 21:15:53 -08:00
no da8d9c1126 non-implicit string.h inclusion to fix non-Win32 compiles 2015-12-07 18:59:05 -05:00
zilmar e3b32c572d [Project64] Remove spaces from filename 2015-12-04 17:49:31 +11:00
zilmar f50f634daf [Project64] Change file handling to be ansi 2015-11-30 21:14:14 +11:00
zilmar 839fda1e0e Merge pull request #764 from cxd4/undeclared-ASSERTE-macro
[Common] Have fallback to including nonstandard <crtdbg.h>.
2015-11-18 06:36:32 +11:00
unknown 48a077c8e8 [Common] Have fallback to including nonstandard <crtdbg.h>. 2015-11-17 13:31:36 -05:00
unknown c5114d820c [Common] #include <malloc.h> to fix undeclared `alloca` 2015-11-16 21:46:54 -05:00
Samuel Yuan 4b43afe275 Added class to format wide strings 2015-11-14 22:12:24 -05:00
unknown 0174bae7a8 combined fix into a single line 2015-11-11 18:08:24 -05:00
unknown ade04862f8 minor clean-ups 2015-11-11 12:43:57 -05:00
unknown d9ef1cae17 fixed implicit (but wrong) operator precedence 2015-11-11 12:32:49 -05:00
unknown 2206ba0985 inverted the inverted file flags condition 2015-11-11 12:31:17 -05:00
zilmar 53aa2faf3b [Project64] Log Class.cpp to use standard types 2015-11-11 17:51:19 +11:00
zilmar 4b150ded03 [Project64] Get File Class.cpp to use standard types 2015-11-11 17:47:22 +11:00
zilmar 6baaa4f624 Merge pull request #728 from cxd4/no-u-int32_t-Write
[Common] Use standard C memory limit `size_t` type.
2015-11-07 08:24:51 +11:00
unknown 258c540543 [Common] CFile::Read(): Use standard memory size input type. 2015-11-06 13:23:51 -05:00
unknown a3cac34c74 [Common] CFile::Write(): Use standard memory size input type. 2015-11-06 13:02:45 -05:00
unknown dd9bb892cb [Common] MaxFileSize: Use size_t for memory sizes. 2015-11-06 12:18:44 -05:00
zilmar 7c3f24b20d [common] Add util class 2015-11-06 22:55:21 +11:00
zilmar 19bf3e9945 [Common] Add Sync Event class 2015-11-06 22:42:27 +11:00
zilmar a3172b30ab [Common Code] Clean up some of the code 2015-11-06 22:37:21 +11:00
unknown afd470914d Fix non-MSVC compiler errors: undeclared sprintf() 2015-10-26 18:11:18 -04:00
zilmar 0144305c6a [Project64] Clean up path code 2015-10-25 22:10:54 +11:00
zilmar 81fdcb9373 [Project64] Get settngs to use std int 2015-10-25 21:50:28 +11:00
zilmar a2a8eccbca [Project64] get CFile class to use standard types 2015-10-25 20:12:53 +11:00
zilmar 5012979377 [Project64] Move critical section code to cpp file and remove headers included 2015-10-25 20:10:28 +11:00
zilmar 42f633c482 [Common] Update the project to have stdtypes.h 2015-10-12 06:51:36 +11:00
zilmar 485613ed03 [Common] Move the standard types include in to common 2015-10-12 06:48:15 +11:00
Julio C. Rocha e178ec96fc Merge ..\zilmar into PropertySheetsTemp 2015-09-23 20:06:48 -07:00
zilmar 8f7d89794e Merge pull request #621 from lioncash/unimpl
Remove unimplemented function declarations
2015-09-24 09:59:43 +10:00
Emmet Young 7c2f30e840 Add support for Visual Studio 2015, xdebug appears to no longer be available in Visual Studio 2015. So for now memtest must be disabled for Debug builds to operate correctly. 2015-09-23 23:23:11 +10:00
Lioncash fb98d402a0 Remove unimplemented function declarations 2015-09-23 04:13:11 -04:00
Jeremy517 3c2da3cf2e Fix ROM Browser for network shares
This part of cleanPathString was supposed to de-dupe backslashes in the directory name, and then insert a backslash to the start of directory if the directory originally started with \\ (so that the string again started with \\).  However, because the call to rDirectory.replace was specifying a length of 1, it was always replacing \ with \ instead of replacing \\ with \.  When the backslash was then inserted at the start of the directory, the directory string now began with \\\ instead of \\.  This broke the ROM browser when using a network share (such as \\myserver\Emulation\Games).
2015-08-10 00:02:44 -07:00
Julio C. Rocha d617d0352a Used centralized config for VCXPROJ files.
TODO: Fix Installer. It's no longer being generated.
2015-07-15 03:37:49 -07:00
zilmar e5c2df4dbc [Project64] Get the code to compile in 64bit 2015-05-15 08:38:52 +10:00
Emmet Young 6e897778dc Remove registry from Common. No longer used or needed. 2015-05-03 21:05:53 +10:00
Julio C. Rocha 33023bc81f Make PropertySheets imports non-conditional
Interpolated Platform and Configuration values to avoid case-by-case
condition validation.
(This could allow for future configurations and platforms without
additional modifications to VCXPROJ files).
2015-04-15 16:16:37 -07:00
theboy181 49034d2d9d Update Ini File Class.cpp
Fix Project64.cfg from getting corrupted when moving the window around.
https://github.com/project64/project64/issues/225
2015-04-13 22:16:05 -07:00
zilmar 870c26d7b1 Merge pull request #287 from cxd4/so_i_herd_u_liek_Allman
converted most components to Project64 for Allman-style braces
2015-03-19 07:52:35 +11:00
zilmar 8afe84f315 Set ini file to auto flush changes 2015-03-18 20:47:24 +11:00
unknown ae04d23d86 [Common] some scope and spacing formatting clean-ups
Miserably hated doing this commit.  Couldn't tell which code was whose, which was copyrighted, which was foreign enough to Project64 that I'd probably best just leave-as is, which was even worth considering part of Project64, which cleanups to omit doing and ignore because some ugly practices were rampant throughout the entire file and distracted from the purpose of this pull request too much.  So tried to stick to mostly just the braces/indentation changes here.
2015-03-17 17:19:42 -04:00
zilmar d0209b061f Language: have break point take a wchar_t * string and allow \n in language files 2015-03-12 06:50:30 +11:00
zilmar 662e3efa27 Update project settings for visual studio 2013 2015-02-20 20:09:05 +11:00
Emmet Young 4a8986d416 Hopefully add correct files for Visual Studio 2008 2015-02-17 21:07:15 +11:00
Emmet Young e540a7fdac Old common version.cpp and version.h is no longer required, remove it. 2015-02-17 21:00:44 +11:00
Emmet Young fb6e9aa4fe Remove the need for OSVersion code. 2015-02-16 17:19:11 +11:00
Emmet Young 6a3836d40f Initial Cleanup of Path.cpp, remove no longer used functions 2015-02-16 17:13:37 +11:00
zilmar 9eceed0fef #pull request 42 2015-02-01 06:27:27 +11:00
Nicholas 862eb7c48b Add support for Visual Studio 2013 2015-01-27 16:07:44 +11:00
zilmar ab4c9cca94 Common: Make ini file case insensitive 2013-04-24 17:08:35 +10:00
zilmar 5aedb4c5d6 Glide64: Add version number in to name, also fix some warnings. 2013-04-22 11:11:55 +10:00
zilmar 9e9fdc25bc Common: Update std string class 2013-04-17 20:29:48 +10:00
zilmar dcf9762fb2 CPath: If create dir, and testing if can change in it, revert to previous current dir 2013-04-15 13:48:06 +10:00
zilmar 48d8925a80 Project64: Clean up external release to be beta release 2013-03-22 16:47:20 +11:00
zilmar f346378a41 Common: rename InternalFormat to ArgFormat 2013-01-29 21:40:35 +11:00
zilmar 74066e0b04 added trace protected memory (changed from error to protected memory) 2012-10-05 19:10:18 +10:00
zilmar 89bc4087ef updated zlib, Moved and cleaned up the project settings in to property sheets also cleaned up some warnings 2012-09-26 09:23:20 +10:00
zilmar 86397d912c commit the local changes I had on my hard disk 2012-09-22 15:53:39 +10:00
zilmar e815584b59 git-svn-id: https://localhost/svn/Project64/trunk@51 111125ac-702d-7242-af9c-5ba8ae61c1ef 2011-01-04 09:10:28 +00:00
zilmar 8fc98904a9 git-svn-id: https://localhost/svn/Project64/trunk@48 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-11-30 10:47:43 +00:00
zilmar 49d660df78 git-svn-id: https://localhost/svn/Project64/trunk@46 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-10-29 03:20:25 +00:00
zilmar dae4e73c89 git-svn-id: https://localhost/svn/Project64/trunk@45 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-10-23 18:53:01 +00:00
zilmar aa45579e34 git-svn-id: https://localhost/svn/Project64/trunk@44 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-09-22 21:43:42 +00:00
zilmar 8624a415b9 git-svn-id: https://localhost/svn/Project64/trunk@31 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-05-31 00:21:08 +00:00
zilmar 4200b4b6af git-svn-id: https://localhost/svn/Project64/trunk@28 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-05-23 10:05:41 +00:00
zilmar f9db52309f git-svn-id: https://localhost/svn/Project64/trunk@27 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-05-22 04:47:15 +00:00
zilmar 4723cc7407 git-svn-id: https://localhost/svn/Project64/trunk@22 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-05-14 23:28:15 +00:00
zilmar 3e0e336a52 git-svn-id: https://localhost/svn/Project64/trunk@20 111125ac-702d-7242-af9c-5ba8ae61c1ef 2009-12-28 22:22:50 +00:00
zilmar 81387784f5 git-svn-id: https://localhost/svn/Project64/trunk@12 111125ac-702d-7242-af9c-5ba8ae61c1ef 2008-11-17 10:02:22 +00:00
zilmar c99c1d6a6f git-svn-id: https://localhost/svn/Project64/trunk@3 111125ac-702d-7242-af9c-5ba8ae61c1ef 2008-11-14 20:47:53 +00:00
zilmar 28c5a7e77c git-svn-id: https://localhost/svn/Project64/trunk@2 111125ac-702d-7242-af9c-5ba8ae61c1ef 2008-09-18 03:15:49 +00:00