mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-16 16:12:14 +11:00
⚡ clean solution found
This commit is contained in:
parent
2599897788
commit
9223c520b1
3 changed files with 4 additions and 2 deletions
|
|
@ -52,8 +52,7 @@ AVX2_CFLAGS=-mavx2 SSSE3_CFLAGS=-mssse3 SSE41_CFLAGS=-msse4.1 SSE42_CFLAGS=-msse
|
|||
cd ../..
|
||||
mkdir build
|
||||
cd build
|
||||
cp ../config.json config.json
|
||||
cp ../users.dat users.dat
|
||||
mv ../config.json config.json
|
||||
```
|
||||
|
||||
### CMake Flags
|
||||
|
|
|
|||
|
|
@ -342,6 +342,9 @@ void Bank::Load()
|
|||
if (!users_load.is_open())
|
||||
{
|
||||
std::ofstream users_save(users_location, std::ios::out | std::ios::binary);
|
||||
static uint8_t temp[16]{16, 0, 0, 0, 4};
|
||||
users_save.write((char *)temp, 16);
|
||||
users_save.close();
|
||||
throw std::invalid_argument("Cannot access loading file\n");
|
||||
}
|
||||
|
||||
|
|
|
|||
BIN
users.dat
BIN
users.dat
Binary file not shown.
Loading…
Reference in a new issue