Skip to content

Commit f98fe39

Browse files
authored
SNES: Allow GSU work RAM breakpoints in S-CPU debugger. (SourMesen#84)
1 parent ed638f0 commit f98fe39

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

UI/Interop/CpuTypeExtensions.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,9 @@ public static bool CanAccessMemoryType(this CpuType cpuType, MemoryType memType)
270270
case MemoryType.SnesSaveRam:
271271
return cpuType == CpuType.Snes || cpuType == CpuType.Sa1 || cpuType == CpuType.Cx4;
272272

273+
case MemoryType.GsuWorkRam:
274+
return cpuType == CpuType.Snes || cpuType == CpuType.Gsu;
275+
273276
default:
274277
//All other types are specific to a single CPU type
275278
return memType.ToCpuType() == cpuType;

0 commit comments

Comments
 (0)