Skip to content

Commit

Permalink
More house cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Hood committed Feb 24, 2021
1 parent 6190910 commit f981c9c
Show file tree
Hide file tree
Showing 20 changed files with 488 additions and 520 deletions.
2 changes: 1 addition & 1 deletion library/Clipboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "Config.h"
#include "Keyboard.h"
#include "Graphics.h"
#include "MMU.h"
#include "TC1014MMU.h"

ClipboardState* InitializeInstance(ClipboardState*);

Expand Down
2 changes: 1 addition & 1 deletion library/CoCo.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "cpudef.h"

#include "PAKInterface.h"
#include "Registers.h"
#include "TC1014Registers.h"

CoCoState* InitializeInstance(CoCoState*);

Expand Down
2 changes: 1 addition & 1 deletion library/Config.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ extern "C" {
ofn.lpstrTitle = "Open print capture file"; // title bar string

if (GetOpenFileName(&ofn)) {
if (!(OpenPrintFile(tempFileName))) {
if (!(MC6821_OpenPrintFile(tempFileName))) {
MessageBox(0, "Can't Open File", "Can't open the file specified.", 0);
}

Expand Down
2 changes: 1 addition & 1 deletion library/HD6309.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "HD6309.h"
#include "HD6309OpCodes.h"
#include "MMU.h"
#include "TC1014MMU.h"

#include "HD6309Macros.h"

Expand Down
2 changes: 1 addition & 1 deletion library/HD6309OpCodes.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "HD6309.h"
#include "MMU.h"
#include "TC1014MMU.h"

#include "HD6309Macros.h"

Expand Down
2 changes: 1 addition & 1 deletion library/IOBus.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "Registers.h"
#include "TC1014Registers.h"
#include "PAKInterface.h"
#include "MC6821.h"

Expand Down
2 changes: 1 addition & 1 deletion library/Keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "Joystick.h"
#include "MC6821.h"

#include "Registers.h"
#include "TC1014Registers.h"
#include "xDebug.h"

KeyboardState* InitializeInstance(KeyboardState*);
Expand Down
2 changes: 1 addition & 1 deletion library/MC6809.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "MC6809.h"
#include "MC6809OpCodes.h"
#include "MMU.h"
#include "TC1014MMU.h"

#include "MC6809Macros.h"

Expand Down
2 changes: 1 addition & 1 deletion library/MC6809OpCodes.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "MC6809.h"
#include "MMU.h"
#include "TC1014MMU.h"

#include "MC6809Macros.h"

Expand Down
2 changes: 1 addition & 1 deletion library/MC6821.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ extern "C" {
}

extern "C" {
__declspec(dllexport) int __cdecl OpenPrintFile(char* filename)
__declspec(dllexport) int __cdecl MC6821_OpenPrintFile(char* filename)
{
instance->hPrintFile = CreateFile(filename, GENERIC_READ | GENERIC_WRITE, 0, 0, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, 0);

Expand Down
2 changes: 1 addition & 1 deletion library/MC6821.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ extern "C" __declspec(dllexport) MC6821State * __cdecl GetMC6821State();

extern "C" __declspec(dllexport) void __cdecl SetCart(unsigned char);

extern "C" __declspec(dllexport) int __cdecl OpenPrintFile(char*);
extern "C" __declspec(dllexport) int __cdecl MC6821_OpenPrintFile(char*);

extern "C" __declspec(dllexport) unsigned char __cdecl MC6821_DACState();
extern "C" __declspec(dllexport) unsigned char __cdecl MC6821_GetCasSample();
Expand Down
Loading

0 comments on commit f981c9c

Please sign in to comment.