File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,14 @@ namespace casioemu {
17
17
if (description.empty ())
18
18
description = " ROM/Segment" + std::to_string (region_base >> 16 );
19
19
20
- MMURegion::WriteFunction write_function = strict_memory ? [](MMURegion *region, size_t address, uint8_t data) {
21
- logger::Info (" ROM::[region write lambda]: attempt to write %02hhX to %06zX\n " , data, address);
22
- region->emulator ->HandleMemoryError ();
23
- }
24
- : [](MMURegion *, size_t , uint8_t ) {
25
- };
20
+ MMURegion::WriteFunction write_function =
21
+ strict_memory
22
+ ? [](MMURegion *region, size_t address, uint8_t data) {
23
+ logger::Info (" ROM::[region write lambda]: attempt to write %02hhX to %06zX\n " , data, address);
24
+ region->emulator ->HandleMemoryError ();
25
+ }
26
+ : [](MMURegion *, size_t , uint8_t ) {
27
+ };
26
28
27
29
if (offset >= 0 )
28
30
region.Setup (
You can’t perform that action at this time.
0 commit comments