Skip to content

Commit

Permalink
Fix NES.h C++ compatibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mysterymath committed Oct 1, 2023
1 parent e44cf72 commit adb5728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mos-platform/nes/nes.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ struct __apu {
};
#define APU (*(volatile struct __apu*)0x4000)

#define JOYPAD ((unsigned char volatile[2])0x4016)
#define JOYPAD ((volatile unsigned char *)0x4016)

// TODO
#if 0
Expand Down

0 comments on commit adb5728

Please sign in to comment.