fix linux compile?
This commit is contained in:
parent
ca540cb6b6
commit
fec0ae896e
|
@ -550,7 +550,9 @@ bool BackupDevice::load_state(std::istream* is)
|
|||
read32le(&com,is);
|
||||
read32le(&addr_size,is);
|
||||
read32le(&addr_counter,is);
|
||||
read32le((u32*)&state,is);
|
||||
u32 temp;
|
||||
read32le(&temp,is);
|
||||
state = (STATE)temp;
|
||||
readbuffer(data,is);
|
||||
readbuffer(data_autodetect,is);
|
||||
}
|
||||
|
|
|
@ -97,7 +97,7 @@ private:
|
|||
std::string filename;
|
||||
std::vector<u8> data;
|
||||
std::vector<u8> data_autodetect;
|
||||
enum : u32 {
|
||||
enum STATE {
|
||||
DETECTING = 0, RUNNING = 1
|
||||
} state;
|
||||
|
||||
|
|
Loading…
Reference in New Issue