mirror of
https://github.com/pevans/erc-c.git
synced 2024-12-26 10:29:34 +00:00
Remove unused grid file; resolve crash condition
This commit is contained in:
parent
b06c00a547
commit
c82c1828b0
@ -1,11 +0,0 @@
|
|||||||
/*
|
|
||||||
* apple2.grid.c
|
|
||||||
*
|
|
||||||
* Each of the display modes in the Apple II work off of a grid, but the
|
|
||||||
* grids are generally interleaved, so there's no simple formula to
|
|
||||||
* follow.
|
|
||||||
*
|
|
||||||
* In here we define tables which map addresses to rows or columns
|
|
||||||
* within a grid, and some functions to pull that information from those
|
|
||||||
* tables.
|
|
||||||
*/
|
|
@ -11,12 +11,14 @@ void
|
|||||||
setup()
|
setup()
|
||||||
{
|
{
|
||||||
mach = apple2_create(700, 480);
|
mach = apple2_create(700, 480);
|
||||||
|
vm_di_set(VM_MACHINE, mach);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
teardown()
|
teardown()
|
||||||
{
|
{
|
||||||
apple2_free(mach);
|
apple2_free(mach);
|
||||||
|
vm_di_set(VM_MACHINE, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
TestSuite(apple2, .init = setup, .fini = teardown);
|
TestSuite(apple2, .init = setup, .fini = teardown);
|
||||||
|
Loading…
Reference in New Issue
Block a user