I want to create save states and RAM dumps etc. But when I use _write (C++) and $0D, $0A are next to each other then it looks like this $0D, $0A, $00 $00 $00 $00 $00 $00. Here is an example of my code;
Code:
int handle = _open("mem.dmp", _O_BINARY | _O_WRONLY);
WriteData();
_write(handle, Buffer, i);
_close(handle);
WriteData();
_write(handle, Buffer, i);
_close(handle);