Lioncash
215cb25c5c
Card: Zero out game array within setCurrentGame for nullptr
...
Previously this was zeroing out the maker array, which it shouldn't be
doing.
2019-08-31 22:20:30 -04:00
Phillip Stephens
222fb5c179
Add missing include
2019-08-31 01:58:06 -07:00
Phillip Stephens
33bcde5a73
Merge pull request #4 from lioncash/cmake
...
CMakeLists: Remove unnecessary unset
2019-08-30 16:30:29 -07:00
Phillip Stephens
9d003a3e9b
Merge pull request #5 from lioncash/include
...
General: Avoid indirect includes
2019-08-30 16:28:15 -07:00
Phillip Stephens
a638632fbb
Merge pull request #6 from lioncash/flags
...
CMakeLists: Enable extra standards conformance flags on MSVC
2019-08-30 16:28:04 -07:00
Lioncash
3f7e52b216
CMakeLists: Enable extra standards conformance flags on MSVC
...
These flags are off by default. We can enable these to enforce
more standards-compliant behavior.
Given this project is quite small, this is trivial to append.
2019-08-30 10:53:59 -04:00
Lioncash
7e3a2370c5
General: Avoid indirect includes
...
Ensures all inclusions are made where necessary.
2019-08-30 10:35:03 -04:00
Lioncash
8df58d59bc
CMakeLists: Remove unnecessary unset
...
This variable isn't used within this source file, so it can be removed.
2019-08-30 10:17:06 -04:00
Phillip Stephens
f57d8cf761
Merge pull request #3 from lioncash/cmake
...
CMakeLists: Use target_sources instead of a variable
2019-08-13 14:31:07 -07:00
Phillip Stephens
91316888fe
Merge pull request #2 from lioncash/api
...
Card: Amend doxygen comments
2019-08-13 14:30:59 -07:00
Lioncash
3ef8955ebb
CMakeLists: Use target_sources instead of a variable
...
Gets rid of the need to unset the PLAT_SRCS variable. We can just
conditionally append the source files to the existing set of sources
within the target.
2019-08-13 02:06:26 -04:00
Lioncash
d906c2526b
Card: Amend doxygen comments
...
Amends broken or missing doxygen parameters. While we're at it, we can
expand the documentation a little bit to be somewhat more explanatory
about the functions.
2019-08-12 23:56:39 -04:00
Jack Andersen
dc436ffb32
Make stuff constexpr
2019-07-19 18:26:25 -10:00
Jack Andersen
8053d1125b
Windows build fixes
2019-06-12 15:33:09 -10:00
Jack Andersen
51c7163cfd
Better CMake dependency handling
2019-06-11 16:04:15 -10:00
Phillip Stephens
82c607ec40
Fix raw pointer bug
2019-06-02 20:35:04 -07:00
Phillip Stephens
da4008bf50
Prevent garbage data from being written to memcard
2019-06-02 20:31:57 -07:00
Jack Andersen
630119350b
Add True and False tests for bitwise enums
2019-04-02 18:29:35 -10:00
Jack Andersen
3a6ee9a70c
Minor bitwise enum macro change
2018-12-15 20:30:54 -10:00
Jack Andersen
f126245eef
New code style refactor
2018-12-07 19:20:24 -10:00
Jack Andersen
a1e2242691
_SYS_STR macro fix
2018-10-18 14:57:43 -10:00
Jack Andersen
bd1c3e99f2
Windows build fixes
2018-10-14 10:12:52 -10:00
Jack Andersen
e84546be2d
Convert to pragma once
2018-10-06 17:41:40 -10:00
Jack Andersen
37461f2165
Add public waitForCompletion method
2018-06-16 10:08:13 -10:00
Phillip Stephens
0c012a3776
Fix linux build
2018-02-15 09:22:37 -08:00
Jack Andersen
a4045a7764
Fix cardtest
2018-02-06 15:53:06 -10:00
Jack Andersen
3b10be80f7
Implement Win32 AsyncIO
2018-02-06 15:36:51 -10:00
Jack Andersen
bdf4bd07a8
Use asynchronous I/O for Card access
2018-02-05 23:34:01 -10:00
Jack Andersen
8052a6372e
Huge compile performance refactor
2017-12-28 22:07:49 -10:00
Jack Andersen
bd73c89b54
UWP fix
2017-12-06 18:10:32 -10:00
Jack Andersen
bdfff2ba33
Require CMake 3.10
2017-11-13 18:53:04 -10:00
Jack Andersen
c6fcf45546
Windows fixes
2017-11-13 17:36:10 -10:00
Jack Andersen
ffbe61508f
string_view refactor
2017-11-12 20:18:30 -10:00
Jack Andersen
09e0582282
Use MoveFileEx for Win32 file renaming
2017-11-05 20:57:34 -10:00
Jack Andersen
3cf7aee617
Windows fix
2017-10-29 21:28:05 -10:00
Jack Andersen
2401875b9a
apply CMAKE_CXX_STANDARD
2017-06-17 16:52:19 -10:00
Jack Andersen
03f16f7f48
Checksum recalculate fix for getStatus()
2017-02-06 16:25:08 -10:00
Jack Andersen
bb972f8f36
Specify binary mode when reopening card file
2017-02-03 22:19:36 -10:00
Jack Andersen
537cceca49
Card writing bug fixes
2017-02-03 17:43:49 -10:00
Jack Andersen
11d1c676c4
More stable index-flipping for write ops
2017-02-02 20:21:49 -10:00
Phillip Stephens
8ed773d16f
Revert file index 0 avoidance
2017-01-29 18:14:18 -08:00
Jack Andersen
408ac735b4
FileHandle refactor
2017-01-23 21:40:47 -10:00
Jack Andersen
b5f5104877
Checksum and Card copy fixes
2017-01-23 15:50:54 -10:00
Phillip Stephens
3121f67f4d
Better block allocation handling
2016-12-29 13:37:45 -08:00
Jack Andersen
6892853a14
Ensure WideStringConvert.hpp is included
2016-12-28 12:49:09 -10:00
Jack Andersen
f629a52adf
Ensure CARD_UCS2 is conditionally defined
2016-12-28 12:43:24 -10:00
Jack Andersen
0869c7b5b5
This had better fix S_ISREG on Windows
2016-12-28 12:05:48 -10:00
Jack Andersen
7fb2e91f81
stat include to make windows happy
2016-12-28 11:56:09 -10:00
Jack Andersen
7315a1dedd
getStatus and setStatus implementation
2016-12-28 11:39:10 -10:00
Jack Andersen
223ea9a56e
Changes to support CMemoryCardSys integration
2016-12-27 22:50:25 -10:00