Windows 95 contains a block of code that checks if the user is playing SimCity and adjusts memory management to address a bug from the game's programming. This bug, a "use-after-free" error introduced by SimCity's developer Jon Ross, went unnoticed in Windows 3.x but caused crashes in Windows 95 due to its different memory management. Instead of asking Maxis to fix the bug, Microsoft engineers modified Windows 95 to mimic the older memory behavior, ensuring SimCity would run smoothly. This approach reflects Microsoft's broader strategy of maintaining compatibility with older software through various "shims," allowing legacy programs to function on modern systems.