mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-12 17:32:30 -04:00
revision of events
This commit is contained in:
parent
858c4384e8
commit
669f72908e
33 changed files with 661 additions and 382 deletions
|
@ -46,10 +46,10 @@ void save_dump(const uint16_t *screen_addr,
|
|||
|
||||
if (dump_counter == -1) {
|
||||
dump_counter = findMaxDumpNumber(".");
|
||||
SEND_LOG("(DUMP) Dump counter sets to %d", dump_counter, 0);
|
||||
SEND_LOG("(DUMP) Dump counter sets to %d", dump_counter);
|
||||
}
|
||||
sprintf(c, "dump%04d.bmp", ++dump_counter);
|
||||
SEND_LOG("(DUMP) Saving screen shot named '%s'", c, 0);
|
||||
SEND_LOG("(DUMP) Saving screen shot named '%s'", c);
|
||||
f = fopen(c, "wb");
|
||||
fputc('B', f);
|
||||
fputc('M', f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue