From 638a42b59566c0ae0b801ab590a63c096ccb902f Mon Sep 17 00:00:00 2001 From: "K.Ohta" Date: Wed, 22 May 2019 22:54:45 +0900 Subject: [PATCH] [VM][MEMORY] Add debug message to load_bios(). --- source/src/vm/memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/vm/memory.cpp b/source/src/vm/memory.cpp index 6f30e6d22..656f280c4 100644 --- a/source/src/vm/memory.cpp +++ b/source/src/vm/memory.cpp @@ -455,12 +455,12 @@ int MEMORY::read_bios(const _TCHAR *file_name, uint8_t *buffer, int size) { FILEIO* fio = new FILEIO(); int length = 0; - if(fio->Fopen(create_local_path(file_name), FILEIO_READ_BINARY)) { fio->Fread(buffer, size, 1); length = fio->Ftell(); fio->Fclose(); } + out_debug_log("LOADING ROM %s REQ_SIZE=%d PRESENTED_SIZE=%d", create_local_path(file_name), size, length); delete fio; return length; } -- 2.11.0