From 7e28cec0ec5cd1f2187239d111cbc353a6b9b5f7 Mon Sep 17 00:00:00 2001 From: scawful Date: Sun, 20 Aug 2023 20:10:20 -0400 Subject: [PATCH] Persist ROM data by coping into memory space --- src/app/emu/mem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/emu/mem.h b/src/app/emu/mem.h index a30c6ebe..02317fa9 100644 --- a/src/app/emu/mem.h +++ b/src/app/emu/mem.h @@ -142,7 +142,7 @@ class Memory { class MemoryImpl : public Memory, public Loggable { public: - void Initialize(const std::vector& romData) { + void Initialize(const std::vector romData) { const size_t ROM_CHUNK_SIZE = 0x8000; // 32 KB const size_t SRAM_SIZE = 0x10000; // 64 KB const size_t SYSTEM_RAM_SIZE = 0x20000; // 128 KB